Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save atsushieno/f73a31eb84dd727a46171d65fd50cfd1 to your computer and use it in GitHub Desktop.
Save atsushieno/f73a31eb84dd727a46171d65fd50cfd1 to your computer and use it in GitHub Desktop.
grep -nR "import android\\." | grep -v test | grep -v androidTest | grep -v android-studio-ide | grep -v android-view-non-ir | grep "import android."
/sources/android/frameworks/support/ui$ grep -nR "import android\\." | grep -v test | grep -v androidTest | grep -v android-studio-ide | grep -v android-view-non-ir | grep "import android."
framework/src/main/java/androidx/ui/core/Text.kt:18:import android.content.Context
framework/src/main/java/androidx/ui/core/vectorgraphics/PathParser.kt:19:import android.util.Log
framework/src/main/java/androidx/ui/core/vectorgraphics/compat/VectorResource.kt:19:import android.annotation.SuppressLint
framework/src/main/java/androidx/ui/core/vectorgraphics/compat/VectorResource.kt:20:import android.content.res.Resources
framework/src/main/java/androidx/ui/core/vectorgraphics/compat/VectorResource.kt:21:import android.content.res.TypedArray
framework/src/main/java/androidx/ui/core/vectorgraphics/compat/VectorResource.kt:22:import android.util.AttributeSet
framework/src/main/java/androidx/ui/core/vectorgraphics/compat/VectorResource.kt:23:import android.util.Log
framework/src/main/java/androidx/ui/core/vectorgraphics/compat/VectorResource.kt:24:import android.util.Xml
framework/src/main/java/androidx/ui/core/vectorgraphics/Vector.kt:19:import android.graphics.Bitmap
framework/src/main/java/androidx/ui/core/vectorgraphics/Vector.kt:20:import android.graphics.ColorFilter
framework/src/main/java/androidx/ui/core/vectorgraphics/Vector.kt:21:import android.graphics.Matrix
framework/src/main/java/androidx/ui/core/vectorgraphics/Vector.kt:22:import android.graphics.PixelFormat
framework/src/main/java/androidx/ui/core/vectorgraphics/Vector.kt:23:import android.graphics.drawable.Drawable
framework/src/main/java/androidx/ui/core/vectorgraphics/Vector.kt:24:import android.view.View
framework/src/main/java/androidx/ui/core/vectorgraphics/Vector.kt:25:import android.view.ViewGroup
framework/src/main/java/androidx/ui/core/vectorgraphics/Vector.kt:26:import android.widget.ImageView
framework/src/main/java/androidx/ui/core/Wrapper.kt:18:import android.content.Context
text/src/main/java/androidx/ui/engine/text/font/FontFamily.kt:19:import android.content.Context
text/src/main/java/androidx/ui/engine/text/platform/ParagraphAndroid.kt:18:import android.os.Build
text/src/main/java/androidx/ui/engine/text/platform/ParagraphAndroid.kt:19:import android.text.SpannableString
text/src/main/java/androidx/ui/engine/text/platform/ParagraphAndroid.kt:20:import android.text.Spanned
text/src/main/java/androidx/ui/engine/text/platform/ParagraphAndroid.kt:21:import android.text.TextPaint
text/src/main/java/androidx/ui/engine/text/platform/ParagraphAndroid.kt:22:import android.text.TextUtils
text/src/main/java/androidx/ui/engine/text/platform/ParagraphAndroid.kt:23:import android.text.style.AbsoluteSizeSpan
text/src/main/java/androidx/ui/engine/text/platform/ParagraphAndroid.kt:24:import android.text.style.AlignmentSpan
text/src/main/java/androidx/ui/engine/text/platform/ParagraphAndroid.kt:25:import android.text.style.BackgroundColorSpan
text/src/main/java/androidx/ui/engine/text/platform/ParagraphAndroid.kt:26:import android.text.style.ForegroundColorSpan
text/src/main/java/androidx/ui/engine/text/platform/ParagraphAndroid.kt:27:import android.text.style.LeadingMarginSpan
text/src/main/java/androidx/ui/engine/text/platform/ParagraphAndroid.kt:28:import android.text.style.LocaleSpan
text/src/main/java/androidx/ui/engine/text/platform/ParagraphAndroid.kt:29:import android.text.style.ScaleXSpan
text/src/main/java/androidx/ui/engine/text/platform/ParagraphAndroid.kt:30:import android.text.style.StrikethroughSpan
text/src/main/java/androidx/ui/engine/text/platform/ParagraphAndroid.kt:31:import android.text.style.UnderlineSpan
text/src/main/java/androidx/ui/engine/text/platform/TypefaceAdapter.kt:19:import android.content.Context
text/src/main/java/androidx/ui/engine/text/platform/TypefaceAdapter.kt:20:import android.graphics.Typeface
text/src/main/java/androidx/ui/engine/text/platform/TypefaceAdapter.kt:21:import android.os.Build
android-view/src/main/java/androidx/ui/androidview/WebComponent.kt:19:import android.print.PrintDocumentAdapter
android-view/src/main/java/androidx/ui/androidview/WebComponent.kt:20:import android.util.Log
android-view/src/main/java/androidx/ui/androidview/WebComponent.kt:21:import android.webkit.WebView
android-view/src/main/java/androidx/ui/androidview/WebComponent.kt:22:import android.webkit.WebViewClient
android-view/src/main/java/androidx/ui/androidview/WebComponentActivity.kt:19:import android.app.Activity
android-view/src/main/java/androidx/ui/androidview/WebComponentActivity.kt:20:import android.graphics.Bitmap
android-view/src/main/java/androidx/ui/androidview/WebComponentActivity.kt:21:import android.os.Bundle
android-view/src/main/java/androidx/ui/androidview/WebComponentActivity.kt:22:import android.util.Log
android-view/src/main/java/androidx/ui/androidview/WebComponentActivity.kt:23:import android.view.ViewGroup.LayoutParams.MATCH_PARENT
android-view/src/main/java/androidx/ui/androidview/WebComponentActivity.kt:24:import android.view.ViewGroup.LayoutParams.WRAP_CONTENT
android-view/src/main/java/androidx/ui/androidview/WebComponentActivity.kt:25:import android.webkit.WebView
android-view/src/main/java/androidx/ui/androidview/WebComponentActivity.kt:26:import android.webkit.WebViewClient
android-view/src/main/java/androidx/ui/androidview/WebComponentActivity.kt:27:import android.widget.Button
android-view/src/main/java/androidx/ui/androidview/WebComponentActivity.kt:28:import android.widget.EditText
android-view/src/main/java/androidx/ui/androidview/WebComponentActivity.kt:29:import android.widget.FrameLayout
android-view/src/main/java/androidx/ui/androidview/WebComponentActivity.kt:30:import android.widget.LinearLayout
demos/src/main/java/androidx/ui/demos/MainActivity.kt:19:import android.app.ListActivity
demos/src/main/java/androidx/ui/demos/MainActivity.kt:20:import android.content.Intent
demos/src/main/java/androidx/ui/demos/MainActivity.kt:21:import android.os.Bundle
demos/src/main/java/androidx/ui/demos/MainActivity.kt:22:import android.view.View
demos/src/main/java/androidx/ui/demos/MainActivity.kt:23:import android.widget.ListView
demos/src/main/java/androidx/ui/demos/MainActivity.kt:24:import android.widget.SimpleAdapter
core/src/main/java/androidx/ui/painting/Image.kt:19:import android.graphics.Bitmap
core/src/main/java/androidx/ui/painting/Paint.kt:19:import android.graphics.BlurMaskFilter
core/src/main/java/androidx/ui/painting/Paint.kt:20:import android.graphics.PorterDuffColorFilter
core/src/main/java/androidx/ui/painting/Canvas.kt:19:import android.graphics.Matrix
core/src/main/java/androidx/ui/core/Density.kt:19:import android.content.Context
android-text/src/main/java/androidx/text/LayoutCompat.java:21:import android.text.Layout;
android-text/src/main/java/androidx/text/LayoutCompat.java:22:import android.text.TextDirectionHeuristic;
android-text/src/main/java/androidx/text/LayoutCompat.java:23:import android.text.TextDirectionHeuristics;
android-text/src/main/java/androidx/text/BoringLayoutCompat.java:22:import android.text.BoringLayout;
android-text/src/main/java/androidx/text/BoringLayoutCompat.java:23:import android.text.Layout;
android-text/src/main/java/androidx/text/BoringLayoutCompat.java:24:import android.text.TextDirectionHeuristic;
android-text/src/main/java/androidx/text/BoringLayoutCompat.java:25:import android.text.TextPaint;
android-text/src/main/java/androidx/text/BoringLayoutCompat.java:26:import android.text.TextUtils;
android-text/src/main/java/androidx/text/style/TypefaceSpan.java:21:import android.graphics.Paint;
android-text/src/main/java/androidx/text/style/TypefaceSpan.java:22:import android.graphics.Typeface;
android-text/src/main/java/androidx/text/style/TypefaceSpan.java:23:import android.text.TextPaint;
android-text/src/main/java/androidx/text/style/TypefaceSpan.java:24:import android.text.style.MetricAffectingSpan;
android-text/src/main/java/androidx/text/style/WordSpacingSpan.java:21:import android.graphics.Paint;
android-text/src/main/java/androidx/text/style/WordSpacingSpan.java:22:import android.os.Build;
android-text/src/main/java/androidx/text/style/WordSpacingSpan.java:23:import android.text.TextPaint;
android-text/src/main/java/androidx/text/style/WordSpacingSpan.java:24:import android.text.style.MetricAffectingSpan;
android-text/src/main/java/androidx/text/style/WordSpacingSpan.java:25:import android.util.Log;
android-text/src/main/java/androidx/text/style/SkewXSpan.java:21:import android.text.TextPaint;
android-text/src/main/java/androidx/text/style/SkewXSpan.java:22:import android.text.style.MetricAffectingSpan;
android-text/src/main/java/androidx/text/style/ShadowSpan.java:21:import android.text.TextPaint;
android-text/src/main/java/androidx/text/style/ShadowSpan.java:22:import android.text.style.CharacterStyle;
android-text/src/main/java/androidx/text/style/BaselineShiftSpan.java:21:import android.text.TextPaint;
android-text/src/main/java/androidx/text/style/BaselineShiftSpan.java:22:import android.text.style.MetricAffectingSpan;
android-text/src/main/java/androidx/text/style/LetterSpacingSpan.java:21:import android.text.TextPaint;
android-text/src/main/java/androidx/text/style/LetterSpacingSpan.java:22:import android.text.style.MetricAffectingSpan;
android-text/src/main/java/androidx/text/style/FontFeatureSpan.java:21:import android.text.TextPaint;
android-text/src/main/java/androidx/text/style/FontFeatureSpan.java:22:import android.text.style.MetricAffectingSpan;
android-text/src/main/java/androidx/text/TextLayout.kt:20:import android.graphics.Canvas
android-text/src/main/java/androidx/text/TextLayout.kt:21:import android.graphics.Path
android-text/src/main/java/androidx/text/TextLayout.kt:22:import android.os.Build
android-text/src/main/java/androidx/text/TextLayout.kt:23:import android.text.Layout
android-text/src/main/java/androidx/text/TextLayout.kt:24:import android.text.Spanned
android-text/src/main/java/androidx/text/TextLayout.kt:25:import android.text.TextDirectionHeuristic
android-text/src/main/java/androidx/text/TextLayout.kt:26:import android.text.TextDirectionHeuristics
android-text/src/main/java/androidx/text/TextLayout.kt:27:import android.text.TextPaint
android-text/src/main/java/androidx/text/TextLayout.kt:28:import android.text.TextUtils
android-text/src/main/java/androidx/text/StaticLayoutCompat.java:31:import android.os.Build;
android-text/src/main/java/androidx/text/StaticLayoutCompat.java:32:import android.text.Layout;
android-text/src/main/java/androidx/text/StaticLayoutCompat.java:33:import android.text.StaticLayout;
android-text/src/main/java/androidx/text/StaticLayoutCompat.java:34:import android.text.TextDirectionHeuristic;
android-text/src/main/java/androidx/text/StaticLayoutCompat.java:35:import android.text.TextDirectionHeuristics;
android-text/src/main/java/androidx/text/StaticLayoutCompat.java:36:import android.text.TextPaint;
android-text/src/main/java/androidx/text/StaticLayoutCompat.java:37:import android.text.TextUtils;
android-text/src/main/java/androidx/text/StaticLayoutCompat.java:38:import android.util.Log;
platform/src/main/java/androidx/ui/core/pointerinput/MotionEventAdapter.kt:19:import android.view.MotionEvent
platform/src/main/java/androidx/ui/core/pointerinput/MotionEventAdapter.kt:20:import android.view.MotionEvent.ACTION_POINTER_UP
platform/src/main/java/androidx/ui/core/pointerinput/MotionEventAdapter.kt:21:import android.view.MotionEvent.ACTION_UP
platform/src/main/java/androidx/ui/core/AndroidOwner.kt:18:import android.annotation.TargetApi
platform/src/main/java/androidx/ui/core/AndroidOwner.kt:19:import android.content.Context
platform/src/main/java/androidx/ui/core/AndroidOwner.kt:20:import android.os.Build
platform/src/main/java/androidx/ui/core/AndroidOwner.kt:21:import android.os.Looper
platform/src/main/java/androidx/ui/core/AndroidOwner.kt:22:import android.os.Trace
platform/src/main/java/androidx/ui/core/AndroidOwner.kt:23:import android.view.Choreographer
platform/src/main/java/androidx/ui/core/AndroidOwner.kt:24:import android.view.MotionEvent
platform/src/main/java/androidx/ui/core/AndroidOwner.kt:25:import android.view.View
platform/src/main/java/androidx/ui/core/AndroidOwner.kt:26:import android.view.ViewGroup
platform/src/main/java/androidx/ui/core/AndroidOwner.kt:27:import android.view.inputmethod.EditorInfo
platform/src/main/java/androidx/ui/core/AndroidOwner.kt:28:import android.view.inputmethod.InputConnection
platform/src/main/java/androidx/ui/core/input/CraneInputConnection.kt:19:import android.text.Editable
platform/src/main/java/androidx/ui/core/input/CraneInputConnection.kt:20:import android.view.KeyEvent
platform/src/main/java/androidx/ui/core/input/CraneInputConnection.kt:21:import android.view.View
platform/src/main/java/androidx/ui/core/input/CraneInputConnection.kt:22:import android.view.inputmethod.BaseInputConnection
platform/src/main/java/androidx/ui/core/input/TextInputServiceAndroid.kt:19:import android.content.Context
platform/src/main/java/androidx/ui/core/input/TextInputServiceAndroid.kt:20:import android.text.Editable
platform/src/main/java/androidx/ui/core/input/TextInputServiceAndroid.kt:21:import android.text.InputType
platform/src/main/java/androidx/ui/core/input/TextInputServiceAndroid.kt:22:import android.view.View
platform/src/main/java/androidx/ui/core/input/TextInputServiceAndroid.kt:23:import android.view.inputmethod.EditorInfo
platform/src/main/java/androidx/ui/core/input/TextInputServiceAndroid.kt:24:import android.view.inputmethod.InputConnection
platform/src/main/java/androidx/ui/core/input/TextInputServiceAndroid.kt:25:import android.view.inputmethod.InputMethodManager
platform/src/main/java/androidx/ui/core/input/EditableUtil.kt:19:import android.text.Editable
platform/src/main/java/androidx/ui/core/input/EditableUtil.kt:20:import android.text.Selection
platform/src/main/java/androidx/ui/core/input/EditableUtil.kt:21:import android.view.inputmethod.BaseInputConnection
platform/src/main/java/androidx/ui/core/SemanticsTreeNode.kt:18:import android.view.MotionEvent
animation-core/src/main/java/androidx/animation/TransitionAnimation.kt:19:import android.util.Log
animation-core/src/main/java/androidx/animation/TransitionAnimation.kt:20:import android.view.Choreographer
/sources/android/frameworks/support/ui$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment