/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/ |
D | CarScrollBar.java | 57 private View mScrollView; field in CarScrollBar 102 mScrollView = inflater.inflate(R.layout.car_paged_scrollbar_buttons, parent, false); in initialize() 103 mScrollView.setLayoutParams( in initialize() 109 parent.addView(mScrollView); in initialize() 111 parent.addView(mScrollView, /* index= */0); in initialize() 124 mUpButton = mScrollView.findViewById(R.id.page_up); in initialize() 128 mDownButton = mScrollView.findViewById(R.id.page_down); in initialize() 132 mScrollThumb = mScrollView.findViewById(R.id.scrollbar_thumb); in initialize() 138 mScrollView.addOnLayoutChangeListener((View v, int left, int top, int right, int bottom, in initialize() 167 mScrollView.requestLayout(); in requestLayout() [all …]
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/ |
D | DefaultScrollBar.java | 53 private View mScrollView; field in DefaultScrollBar 75 mScrollView = scrollView; in initialize() 86 mUpButton = requireViewByRefId(mScrollView, R.id.page_up); in initialize() 91 mDownButton = requireViewByRefId(mScrollView, R.id.page_down); in initialize() 96 mScrollThumb = requireViewByRefId(mScrollView, R.id.scrollbar_thumb); in initialize() 102 mScrollView.addOnLayoutChangeListener( in initialize() 143 mScrollView.requestLayout(); in requestLayout() 257 if (!mScrollView.isLaidOut()) { in setParameters() 262 if (mScrollView.getVisibility() == View.GONE || range == 0) { in setParameters() 504 mScrollView.setVisibility(View.INVISIBLE); in updatePaginationButtons() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | MasterClearTest.java | 80 private ScrollView mScrollView; field in MasterClearTest 114 when(mScrollView.getChildAt(0)).thenReturn(mLinearLayout); in setUp() 115 when(mScrollView.getChildCount()).thenReturn(1); in setUp() 246 assertThat(mMasterClear.hasReachedBottom(mScrollView)).isFalse(); in testHasReachedBottom_NotScrollDown_returnFalse() 253 assertThat(mMasterClear.hasReachedBottom(mScrollView)).isTrue(); in testHasReachedBottom_CanNotScroll_returnTrue() 260 assertThat(mMasterClear.hasReachedBottom(mScrollView)).isTrue(); in testHasReachedBottom_ScrollToBottom_returnTrue() 443 mMasterClear.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/ |
D | MultiShrinkScroller.java | 106 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | MasterClear.java | 110 ScrollView mScrollView; field in MasterClear 114 mInitiateButton.setEnabled(hasReachedBottom(mScrollView)); in onGlobalLayout() 293 if (mScrollView != null) { in establishInitialState() 294 mScrollView.getViewTreeObserver().removeOnGlobalLayoutListener(this); in establishInitialState() 296 mScrollView = mContentView.findViewById(R.id.master_clear_scrollview); in establishInitialState() 357 mScrollView.setOnScrollChangeListener(new OnScrollChangeListener() { in establishInitialState() 363 mScrollView.setOnScrollChangeListener(null); in establishInitialState() 369 mScrollView.getViewTreeObserver().addOnGlobalLayoutListener(this); in establishInitialState()
|
/packages/apps/Settings/src/com/android/settings/ |
D | MasterClear.java | 111 ScrollView mScrollView; field in MasterClear 115 mInitiateButton.setEnabled(hasReachedBottom(mScrollView)); in onGlobalLayout() 293 if (mScrollView != null) { in establishInitialState() 294 mScrollView.getViewTreeObserver().removeOnGlobalLayoutListener(this); in establishInitialState() 296 mScrollView = mContentView.findViewById(R.id.master_clear_scrollview); in establishInitialState() 357 mScrollView.setOnScrollChangeListener(new OnScrollChangeListener() { in establishInitialState() 363 mScrollView.setOnScrollChangeListener(null); in establishInitialState() 369 mScrollView.getViewTreeObserver().addOnGlobalLayoutListener(this); in establishInitialState()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | EventInfoFragment.java | 282 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/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/ |
D | PropertyListAdapter.java | 111 private ScrollView mScrollView; field in PropertyListAdapter.PropertyListEventListener 115 mScrollView = scrollView; in PropertyListEventListener() 140 mScrollView.post(new Runnable() { in scrollToBottom() 142 mScrollView.fullScroll(View.FOCUS_DOWN); in scrollToBottom()
|
D | PropertyTestFragment.java | 65 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/services/Telephony/src/com/android/phone/ |
D | ChangeIccPinScreen.java | 74 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()
|