Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/
DDragHoverListener.java99 AbsListView scrollView) { in create() argument
100 return create(dragHandler, scrollView, scrollView::scrollListBy); in create()
105 View scrollView) { in create() argument
108 scrollView, in create()
110 scrollView.scrollBy(0, dy); in create()
116 View scrollView, in create() argument
127 scrollView.postOnAnimation(r); in create()
132 scrollView.removeCallbacks(r); in create()
138 scrollView::getHeight, in create()
139 (view) -> (scrollView == view), in create()
[all …]
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/recyclerview/
DDefaultScrollBarTest.java76 View scrollView = LayoutInflater.from(mContext).inflate( in initialize_shouldInitializeScrollListener() local
78 mScrollBar.initialize(mRecyclerView, scrollView); in initialize_shouldInitializeScrollListener()
93 View scrollView = LayoutInflater.from(mContext).inflate( in initialize_shouldSetMaxRecyclerViews() local
95 mScrollBar.initialize(mRecyclerView, scrollView); in initialize_shouldSetMaxRecyclerViews()
107 View scrollView = LayoutInflater.from(mContext).inflate( in initialize_shouldNotHaveFlingListener() local
109 mScrollBar.initialize(mRecyclerView, scrollView); in initialize_shouldNotHaveFlingListener()
121 View scrollView = LayoutInflater.from(mContext).inflate( in setPadding_shouldSetStartAndEndPadding() local
123 mScrollBar.initialize(mRecyclerView, scrollView); in setPadding_shouldSetStartAndEndPadding()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorAnimator.java153 final ScrollView scrollView = getParentScrollView(targetView); in scrollViewToTop() local
154 SchedulingUtils.doAfterLayout(scrollView, new Runnable() { in scrollViewToTop()
157 ScrollView scrollView = getParentScrollView(targetView); in scrollViewToTop()
158 scrollView.smoothScrollTo(0, offsetFromTopOfViewGroup(targetView, scrollView) in scrollViewToTop()
159 + scrollView.getScrollY()); in scrollViewToTop()
163 View view = scrollView.findFocus(); in scrollViewToTop()
/packages/apps/Dialer/java/com/android/dialer/about/
DLicenseActivity.java55 ScrollView scrollView = (ScrollView) findViewById(R.id.license_activity_scrollview); in onSaveInstanceState() local
57 int firstVisibleLine = textView.getLayout().getLineForVertical(scrollView.getScrollY()); in onSaveInstanceState()
65 final ScrollView scrollView = (ScrollView) findViewById(R.id.license_activity_scrollview); in onRestoreInstanceState() local
67 scrollView.post( in onRestoreInstanceState()
74 scrollView.scrollTo(0, offset); in onRestoreInstanceState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DMasterClear.java403 boolean hasReachedBottom(final ScrollView scrollView) { in hasReachedBottom() argument
404 if (scrollView.getChildCount() < 1) { in hasReachedBottom()
408 final View view = scrollView.getChildAt(0); in hasReachedBottom()
409 final int diff = view.getBottom() - (scrollView.getHeight() + scrollView.getScrollY()); in hasReachedBottom()
DUtils.java1052 View scrollView) { in setActionBarShadowAnimation() argument
1064 if (lifecycle != null && scrollView != null) { in setActionBarShadowAnimation()
1065 ActionBarShadowController.attachToView(activity, lifecycle, scrollView); in setActionBarShadowAnimation()
/packages/apps/Settings/src/com/android/settings/
DMasterClear.java402 boolean hasReachedBottom(final ScrollView scrollView) { in hasReachedBottom() argument
403 if (scrollView.getChildCount() < 1) { in hasReachedBottom()
407 final View view = scrollView.getChildAt(0); in hasReachedBottom()
408 final int diff = view.getBottom() - (scrollView.getHeight() + scrollView.getScrollY()); in hasReachedBottom()
DUtils.java1047 View scrollView) { in setActionBarShadowAnimation() argument
1059 if (lifecycle != null && scrollView != null) { in setActionBarShadowAnimation()
1060 ActionBarShadowController.attachToView(activity, lifecycle, scrollView); in setActionBarShadowAnimation()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/
DPropertyListAdapter.java114 PropertyListEventListener(TextView logEvent, ScrollView scrollView) { in PropertyListEventListener() argument
115 mScrollView = scrollView; in PropertyListEventListener()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DCarUiRecyclerView.java318 private void createScrollBarFromConfig(View scrollView) { in createScrollBarFromConfig() argument
333 mScrollBar.initialize(this, scrollView); in createScrollBarFromConfig()
DDefaultScrollBar.java72 public void initialize(RecyclerView rv, View scrollView) { in initialize() argument
75 mScrollView = scrollView; in initialize()
DScrollBar.java31 void initialize(RecyclerView recyclerView, View scrollView); in initialize() argument