Home
last modified time | relevance | path

Searched refs:scrollView (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DScrollViewScrollHandlingDelegate.java38 @Nullable private final BottomScrollView scrollView; field in ScrollViewScrollHandlingDelegate
41 @NonNull RequireScrollMixin requireScrollMixin, @Nullable ScrollView scrollView) { in ScrollViewScrollHandlingDelegate() argument
43 if (scrollView instanceof BottomScrollView) { in ScrollViewScrollHandlingDelegate()
44 this.scrollView = (BottomScrollView) scrollView; in ScrollViewScrollHandlingDelegate()
46 Log.w(TAG, "Cannot set non-BottomScrollView. Found=" + scrollView); in ScrollViewScrollHandlingDelegate()
47 this.scrollView = null; in ScrollViewScrollHandlingDelegate()
63 if (scrollView != null) { in startListening()
64 scrollView.setBottomScrollListener(this); in startListening()
72 if (scrollView != null) { in pageScrollDown()
73 scrollView.pageScroll(ScrollView.FOCUS_DOWN); in pageScrollDown()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/template/
DScrollViewScrollHandlingDelegateTest.java39 private BottomScrollView scrollView; field in ScrollViewScrollHandlingDelegateTest
46 scrollView = new BottomScrollView(application); in setUp()
48 scrollView.addView(childView); in setUp()
49 delegate = new ScrollViewScrollHandlingDelegate(requireScrollMixin, scrollView); in setUp()
51 scrollView.layout(0, 0, 500, 500); in setUp()
59 scrollView.getBottomScrollListener().onRequiresScroll(); in testRequireScroll()
67 scrollView.getBottomScrollListener().onRequiresScroll(); in testScrolledToBottom()
70 scrollView.getBottomScrollListener().onScrolledToBottom(); in testScrolledToBottom()
78 assertThat(scrollView.getScrollY()).isEqualTo(500); in testPageScrollDown()
/frameworks/base/packages/SettingsLib/ActionBarShadow/src/com/android/settingslib/widget/
DActionBarShadowController.java51 Activity activity, Lifecycle lifecycle, View scrollView) { in attachToView() argument
52 return new ActionBarShadowController(activity, lifecycle, scrollView); in attachToView()
59 View anchorView, Lifecycle lifecycle, View scrollView) { in attachToView() argument
60 return new ActionBarShadowController(anchorView, lifecycle, scrollView); in attachToView()
63 private ActionBarShadowController(Activity activity, Lifecycle lifecycle, View scrollView) { in ActionBarShadowController() argument
65 mScrollView = scrollView; in ActionBarShadowController()
70 private ActionBarShadowController(View anchorView, Lifecycle lifecycle, View scrollView) { in ActionBarShadowController() argument
72 mScrollView = scrollView; in ActionBarShadowController()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGlyphCacheActivity.java39 ScrollView scrollView = new ScrollView(this); in onCreate() local
40 scrollView.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, in onCreate()
46 scrollView.addView(layout); in onCreate()
51 setContentView(scrollView); in onCreate()
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DAnimatedStateVectorDrawableTest.java46 ScrollView scrollView = new ScrollView(this); in onCreate() local
48 scrollView.addView(container); in onCreate()
59 setContentView(scrollView); in onCreate()
DScaleDrawableTests.java46 ScrollView scrollView = new ScrollView(this); in onCreate() local
48 scrollView.addView(container); in onCreate()
83 setContentView(scrollView); in onCreate()
DBitmapDrawableDupe.java57 ScrollView scrollView = new ScrollView(this); in onCreate() local
59 scrollView.addView(container); in onCreate()
72 setContentView(scrollView); in onCreate()
DAnimatedVectorDrawableTest.java52 ScrollView scrollView = new ScrollView(this); in onCreate() local
54 scrollView.addView(container); in onCreate()
97 setContentView(scrollView); in onCreate()
DAnimatedVectorDrawableDupPerf.java92 ScrollView scrollView = new ScrollView(this); in onCreate() local
94 scrollView.addView(container); in onCreate()
115 setContentView(scrollView); in onCreate()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DSupportPreferencesUtil.java300 ScrollView scrollView = new ScrollView(context); in inflatePreference() local
301 scrollView.setLayoutParams(new ViewGroup.LayoutParams(LayoutParams.WRAP_CONTENT, in inflatePreference()
303 scrollView.addView(listView); in inflatePreference()
306 root.addView(scrollView); in inflatePreference()
309 return scrollView; in inflatePreference()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifLayout.java113 final ScrollView scrollView = getScrollView(); in init() local
114 if (scrollView != null) { in init()
116 new ScrollViewScrollHandlingDelegate(requireScrollMixin, scrollView)); in init()
DSetupWizardLayout.java87 final ScrollView scrollView = getScrollView(); in init() local
88 if (scrollView != null) { in init()
90 new ScrollViewScrollHandlingDelegate(requireScrollMixin, scrollView)); in init()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifLayoutTest.java140 View scrollView = layout.findViewById(R.id.suw_scroll_view); in assertDefaultTemplateInflated() local
141 assertTrue("@id/suw_scroll_view should be a ScrollView", scrollView instanceof ScrollView); in assertDefaultTemplateInflated()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/android/layoutlib/test/myapplication/
DR$id.classR.java package com.android.layoutlib.test.myapplication public final com.android. ...
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DRequestRectangleVisibleWithInternalScrollTest.java55 mScrollView = (ScrollView) getActivity().findViewById(R.id.scrollView); in setUp()
DScrollViewButtonsAndLabels.java68 mScrollView = findViewById(R.id.scrollView); in onCreate()
DRequestRectangleVisibleTest.java62 mScrollView = (ScrollView) a.findViewById(R.id.scrollView); in setUp()
/frameworks/base/core/java/com/android/internal/app/
DMicroAlertController.java42 mScrollView = (ScrollView) mWindow.findViewById(R.id.scrollView); in setupContent()
DAlertController.java708 mScrollView = (ScrollView) contentPanel.findViewById(R.id.scrollView); in setupContent()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/
DGlifLayoutTest.java359 View scrollView = layout.findViewById(R.id.suw_scroll_view); in assertDefaultTemplateInflated() local
361 .that(scrollView instanceof ScrollView) in assertDefaultTemplateInflated()