Home
last modified time | relevance | path

Searched refs:mScrollView (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DDefaultScrollBar.java55 private View mScrollView; field in DefaultScrollBar
77 mScrollView = scrollView; in initialize()
85 mUpButton = requireViewByRefId(mScrollView, R.id.car_ui_scrollbar_page_up); in initialize()
92 mDownButton = requireViewByRefId(mScrollView, R.id.car_ui_scrollbar_page_down); in initialize()
99 mScrollTrack = requireViewByRefId(mScrollView, R.id.car_ui_scrollbar_track); in initialize()
100 mScrollThumb = requireViewByRefId(mScrollView, R.id.car_ui_scrollbar_thumb); in initialize()
107 FastScroller fastScroller = new FastScroller(mRecyclerView, mScrollTrack, mScrollView); in initialize()
112 mScrollView.setVisibility(View.INVISIBLE); in initialize()
113 mScrollView.addOnLayoutChangeListener( in initialize()
131 mScrollView.requestLayout(); in requestLayout()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMainClearTest.java80 private ScrollView mScrollView; field in MainClearTest
114 when(mScrollView.getChildAt(0)).thenReturn(mLinearLayout); in setUp()
115 when(mScrollView.getChildCount()).thenReturn(1); in setUp()
246 assertThat(mMainClear.hasReachedBottom(mScrollView)).isFalse(); in testHasReachedBottom_NotScrollDown_returnFalse()
253 assertThat(mMainClear.hasReachedBottom(mScrollView)).isTrue(); in testHasReachedBottom_CanNotScroll_returnTrue()
260 assertThat(mMainClear.hasReachedBottom(mScrollView)).isTrue(); in testHasReachedBottom_ScrollToBottom_returnTrue()
443 mMainClear.mScrollView = mScrollView; in testOnGlobalLayout_shouldNotRemoveListener()
446 when(mScrollView.getViewTreeObserver()).thenReturn(viewTreeObserver); in testOnGlobalLayout_shouldNotRemoveListener()
463 when(mScrollView.getHeight()).thenReturn(height); in initScrollView()
464 when(mScrollView.getScrollY()).thenReturn(scrollY); in initScrollView()
/packages/apps/Contacts/src/com/android/contacts/widget/
DMultiShrinkScroller.java106 private ScrollView mScrollView; field in MultiShrinkScroller
294 mScrollView = (ScrollView) findViewById(R.id.content_scroller); in initialize()
584 if (mScrollView.getScrollY() != 0) { in expandHeader()
585 ObjectAnimator.ofInt(mScrollView, "scrollY", -mScrollView.getScrollY()).start(); in expandHeader()
818 + mScrollView.getScrollY(); in getScroll()
839 + mScrollView.getScrollY(); in getScroll_ignoreOversizedHeaderForSnapping()
908 mEdgeGlowBottom.setSize(mScrollView.getWidth(), height); in draw()
924 mEdgeGlowTop.setSize(mScrollView.getWidth(), height); in draw()
998 mScrollView.scrollBy(0, delta); in scrollUp()
1019 if (mScrollView.getScrollY() > 0) { in scrollDown()
[all …]
/packages/apps/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/
DScrollFragment.java43 private View mScrollView; field in ScrollFragment
48 mScrollView = inflater.inflate(R.layout.rotary_scroll, container, false); in onCreateView()
50 return mScrollView; in onCreateView()
74 RecyclerView view = (RecyclerView) mScrollView.findViewById(R.id.rotary_scroll_view); in initView()
/packages/apps/Settings/src/com/android/settings/
DMainClear.java111 ScrollView mScrollView; field in MainClear
115 mInitiateButton.setEnabled(hasReachedBottom(mScrollView)); in onGlobalLayout()
299 if (mScrollView != null) { in establishInitialState()
300 mScrollView.getViewTreeObserver().removeOnGlobalLayoutListener(this); in establishInitialState()
302 mScrollView = mContentView.findViewById(R.id.main_clear_scrollview); in establishInitialState()
365 mScrollView.setOnScrollChangeListener(new OnScrollChangeListener() { in establishInitialState()
371 mScrollView.setOnScrollChangeListener(null); in establishInitialState()
377 mScrollView.getViewTreeObserver().addOnGlobalLayoutListener(this); in establishInitialState()
/packages/apps/Calendar/src/com/android/calendar/
DEventInfoFragment.java282 private ScrollView mScrollView; field in EventInfoFragment
319 if (!mAnimateAlpha.isRunning() && mScrollView.getAlpha() == 0) {
467 mScrollView = (ScrollView) mView.findViewById(R.id.event_info_scroll_view); in onCreateView()
477 mAnimateAlpha = ObjectAnimator.ofFloat(mScrollView, "Alpha", 0, 1); in onCreateView()
485 defLayerType = mScrollView.getLayerType(); in onCreateView()
486 mScrollView.setLayerType(View.LAYER_TYPE_HARDWARE, null); in onCreateView()
495 mScrollView.setLayerType(defLayerType, null); in onCreateView()
500 mScrollView.setLayerType(defLayerType, null); in onCreateView()
507 mScrollView.setAlpha(0); in onCreateView()
628 mScrollView.setVisibility(View.GONE); in displayEventNotFound()
/packages/services/Telephony/src/com/android/phone/
DChangeIccPinScreen.java74 private ScrollView mScrollView; field in ChangeIccPinScreen
121 mScrollView = (ScrollView) findViewById(R.id.scroll); in onCreate()
145 mScrollView.scrollTo(0, 0); in reset()
239 mScrollView.setVisibility(View.VISIBLE); in handleResult()
263 mScrollView.setVisibility(View.GONE); in handleResult()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/
DPropertyListAdapter.java157 private final ScrollView mScrollView; field in PropertyListAdapter.PropertyListEventListener
164 mScrollView = scrollView; in PropertyListEventListener()
209 mScrollView.post(new Runnable() { in scrollToBottom()
211 mScrollView.fullScroll(View.FOCUS_DOWN); in scrollToBottom()
DPropertyTestFragment.java65 private ScrollView mScrollView; field in PropertyTestFragment
86 mScrollView = view.findViewById(R.id.svEventLog); in onCreateView()
93 mListView.setAdapter(new PropertyListAdapter(mPropInfo, mMgr, mEventLog, mScrollView, in onCreateView()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DTwoPanelSettingsFragment.java111 private HorizontalScrollView mScrollView; field in TwoPanelSettingsFragment
183 mScrollView = v.findViewById(R.id.scrollview); in onCreateView()
529 if (isRTL() && mScrollView.getScrollX() == 0 && mPrefPanelIdx == 0 in handleFragmentTransactionWhenFocused()
893 isRTL() ? mScrollView.getScrollX() >= mMaxScrollX - panelWidth * index in moveToPanel()
894 : mScrollView.getScrollX() <= panelWidth * index; in moveToPanel()
905 distanceToScrollToRight = animationEnd - mScrollView.getScrollX(); in moveToPanel()
907 ObjectAnimator slideAnim = ObjectAnimator.ofInt(mScrollView, "scrollX", in moveToPanel()
908 mScrollView.getScrollX(), animationEnd); in moveToPanel()
980 distanceToScrollToRight = scrollToX - mScrollView.getScrollX(); in moveToPanel()
981 mScrollView.scrollTo(scrollToX, 0); in moveToPanel()