Loading Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -780,6 +780,7 @@ java_defaults { "--multi-dex", ], plugins: ["view-inspector-annotation-processor"], } filegroup { Loading core/java/android/view/View.java +4 −5 Original line number Diff line number Diff line Loading @@ -11396,7 +11396,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * @see #setAssistBlocked(boolean) * @attr ref android.R.styleable#View_assistBlocked */ @InspectableProperty public boolean isAssistBlocked() { return (mPrivateFlags3 & PFLAG3_ASSIST_BLOCKED) != 0; } Loading Loading @@ -18272,7 +18271,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * * @attr ref android.R.styleable#View_scrollbarDefaultDelayBeforeFade */ @InspectableProperty @InspectableProperty(name = "scrollbarDefaultDelayBeforeFade") public int getScrollBarDefaultDelayBeforeFade() { return mScrollCache == null ? ViewConfiguration.getScrollDefaultDelay() : mScrollCache.scrollBarDefaultDelayBeforeFade; Loading @@ -18297,7 +18296,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * * @attr ref android.R.styleable#View_scrollbarFadeDuration */ @InspectableProperty @InspectableProperty(name = "scrollbarFadeDuration") public int getScrollBarFadeDuration() { return mScrollCache == null ? ViewConfiguration.getScrollBarFadeDuration() : mScrollCache.scrollBarFadeDuration; Loading @@ -18322,7 +18321,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * * @attr ref android.R.styleable#View_scrollbarSize */ @InspectableProperty @InspectableProperty(name = "scrollbarSize") public int getScrollBarSize() { return mScrollCache == null ? ViewConfiguration.get(mContext).getScaledScrollBarSize() : mScrollCache.scrollBarSize; Loading Loading @@ -18382,7 +18381,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, @ViewDebug.IntToString(from = SCROLLBARS_OUTSIDE_OVERLAY, to = "OUTSIDE_OVERLAY"), @ViewDebug.IntToString(from = SCROLLBARS_OUTSIDE_INSET, to = "OUTSIDE_INSET") }) @InspectableProperty(enumMapping = { @InspectableProperty(name = "scrollbarStyle", enumMapping = { @EnumMap(value = SCROLLBARS_INSIDE_OVERLAY, name = "insideOverlay"), @EnumMap(value = SCROLLBARS_INSIDE_INSET, name = "insideInset"), @EnumMap(value = SCROLLBARS_OUTSIDE_OVERLAY, name = "outsideOverlay"), tools/processors/view_inspector/src/java/android/processor/view/inspector/InspectablePropertyProcessor.java +2 −0 Original line number Diff line number Diff line Loading @@ -352,6 +352,8 @@ public final class InspectablePropertyProcessor implements ModelProcessor { } else { return Property.Type.OBJECT; } case ARRAY: return Property.Type.OBJECT; default: throw new ProcessingException( String.format("Unsupported return type %s.", returnType), Loading Loading
Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -780,6 +780,7 @@ java_defaults { "--multi-dex", ], plugins: ["view-inspector-annotation-processor"], } filegroup { Loading
core/java/android/view/View.java +4 −5 Original line number Diff line number Diff line Loading @@ -11396,7 +11396,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * @see #setAssistBlocked(boolean) * @attr ref android.R.styleable#View_assistBlocked */ @InspectableProperty public boolean isAssistBlocked() { return (mPrivateFlags3 & PFLAG3_ASSIST_BLOCKED) != 0; } Loading Loading @@ -18272,7 +18271,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * * @attr ref android.R.styleable#View_scrollbarDefaultDelayBeforeFade */ @InspectableProperty @InspectableProperty(name = "scrollbarDefaultDelayBeforeFade") public int getScrollBarDefaultDelayBeforeFade() { return mScrollCache == null ? ViewConfiguration.getScrollDefaultDelay() : mScrollCache.scrollBarDefaultDelayBeforeFade; Loading @@ -18297,7 +18296,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * * @attr ref android.R.styleable#View_scrollbarFadeDuration */ @InspectableProperty @InspectableProperty(name = "scrollbarFadeDuration") public int getScrollBarFadeDuration() { return mScrollCache == null ? ViewConfiguration.getScrollBarFadeDuration() : mScrollCache.scrollBarFadeDuration; Loading @@ -18322,7 +18321,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * * @attr ref android.R.styleable#View_scrollbarSize */ @InspectableProperty @InspectableProperty(name = "scrollbarSize") public int getScrollBarSize() { return mScrollCache == null ? ViewConfiguration.get(mContext).getScaledScrollBarSize() : mScrollCache.scrollBarSize; Loading Loading @@ -18382,7 +18381,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, @ViewDebug.IntToString(from = SCROLLBARS_OUTSIDE_OVERLAY, to = "OUTSIDE_OVERLAY"), @ViewDebug.IntToString(from = SCROLLBARS_OUTSIDE_INSET, to = "OUTSIDE_INSET") }) @InspectableProperty(enumMapping = { @InspectableProperty(name = "scrollbarStyle", enumMapping = { @EnumMap(value = SCROLLBARS_INSIDE_OVERLAY, name = "insideOverlay"), @EnumMap(value = SCROLLBARS_INSIDE_INSET, name = "insideInset"), @EnumMap(value = SCROLLBARS_OUTSIDE_OVERLAY, name = "outsideOverlay"),
tools/processors/view_inspector/src/java/android/processor/view/inspector/InspectablePropertyProcessor.java +2 −0 Original line number Diff line number Diff line Loading @@ -352,6 +352,8 @@ public final class InspectablePropertyProcessor implements ModelProcessor { } else { return Property.Type.OBJECT; } case ARRAY: return Property.Type.OBJECT; default: throw new ProcessingException( String.format("Unsupported return type %s.", returnType), Loading