Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DCarScrollBar.java57 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/Settings/tests/robotests/src/com/android/settings/
DMasterClearTest.java76 private ScrollView mScrollView; field in MasterClearTest
106 when(mScrollView.getChildAt(0)).thenReturn(mLinearLayout); in setUp()
107 when(mScrollView.getChildCount()).thenReturn(1); in setUp()
233 assertThat(mMasterClear.hasReachedBottom(mScrollView)).isFalse(); in testHasReachedBottom_NotScrollDown_returnFalse()
240 assertThat(mMasterClear.hasReachedBottom(mScrollView)).isTrue(); in testHasReachedBottom_CanNotScroll_returnTrue()
247 assertThat(mMasterClear.hasReachedBottom(mScrollView)).isTrue(); in testHasReachedBottom_ScrollToBottom_returnTrue()
430 mMasterClear.mScrollView = mScrollView; in testOnGlobalLayout_shouldNotRemoveListener()
433 when(mScrollView.getViewTreeObserver()).thenReturn(viewTreeObserver); in testOnGlobalLayout_shouldNotRemoveListener()
451 when(mScrollView.getHeight()).thenReturn(height); in initScrollView()
452 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DMasterClear.java110 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/
DMasterClear.java110 ScrollView mScrollView; field in MasterClear
114 mInitiateButton.setEnabled(hasReachedBottom(mScrollView)); in onGlobalLayout()
292 if (mScrollView != null) { in establishInitialState()
293 mScrollView.getViewTreeObserver().removeOnGlobalLayoutListener(this); in establishInitialState()
295 mScrollView = mContentView.findViewById(R.id.master_clear_scrollview); in establishInitialState()
356 mScrollView.setOnScrollChangeListener(new OnScrollChangeListener() { in establishInitialState()
362 mScrollView.setOnScrollChangeListener(null); in establishInitialState()
368 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/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/
DPropertyListAdapter.java111 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()
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/UnifiedEmail/src/com/android/mail/ui/
DSecureConversationViewController.java70 private MessageScrollView mScrollView; field in SecureConversationViewController
84 mScrollView = (MessageScrollView) rootView.findViewById(R.id.scroll_view); in onCreateView()
90 mScrollView.addScrollListener(this); in onCreateView()
126 mScrollView.setInnerScrollableView(mWebView); in onCreateView()
172 mScrollView.offsetDescendantRectToMyCoords(mMessageHeaderView, rect); in onNotifierScroll()
/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/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java296 private ScrollView mScrollView; field in ComposeActivity
1368 mScrollView = (ScrollView) findViewById(R.id.compose); in findViews()
1369 mScrollView.setVisibility(View.VISIBLE); in findViews()
2382 mScrollView.smoothScrollBy(0, deltaY); in onFocusChange()