Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DKeyboardQuickSwitchView.java96 private HorizontalScrollView mScrollView; field in KeyboardQuickSwitchView
132 mScrollView = findViewById(R.id.scroll_view); in onFinishInflate()
266 View displayedContent = mDisplayingRecentTasks ? mScrollView : mNoRecentItemsPane; in getCloseAnimation()
307 View displayedContent = mDisplayingRecentTasks ? mScrollView : mNoRecentItemsPane; in animateOpen()
498 mScrollView.smoothScrollTo(scrollTo, 0); in scrollRightTo()
500 mScrollView.scrollTo(scrollTo, 0); in scrollRightTo()
525 int scrollTo = targetTask.getRight() + mSpacing - mScrollView.getWidth() in scrollLeftTo()
529 mScrollView.smoothScrollTo(scrollTo, 0); in scrollLeftTo()
531 mScrollView.scrollTo(scrollTo, 0); in scrollLeftTo()
538 targetTask.getRight() + mSpacing > mScrollView.getScrollX() + mScrollView.getWidth() in shouldScroll()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMainClearTest.java86 private ScrollView mScrollView; field in MainClearTest
123 when(mScrollView.getChildAt(0)).thenReturn(mLinearLayout); in setUp()
124 when(mScrollView.getChildCount()).thenReturn(1); in setUp()
256 assertThat(mMainClear.hasReachedBottom(mScrollView)).isFalse(); in testHasReachedBottom_NotScrollDown_returnFalse()
263 assertThat(mMainClear.hasReachedBottom(mScrollView)).isTrue(); in testHasReachedBottom_CanNotScroll_returnTrue()
270 assertThat(mMainClear.hasReachedBottom(mScrollView)).isTrue(); in testHasReachedBottom_ScrollToBottom_returnTrue()
453 mMainClear.mScrollView = mScrollView; in testOnGlobalLayout_shouldNotRemoveListener()
456 when(mScrollView.getViewTreeObserver()).thenReturn(viewTreeObserver); in testOnGlobalLayout_shouldNotRemoveListener()
473 when(mScrollView.getHeight()).thenReturn(height); in initScrollView()
474 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/Calendar/src/com/android/calendar/
DEventInfoFragment.kt240 private var mScrollView: ScrollView? = null variable in com.android.calendar.EventInfoFragment
268 if (!mAnimateAlpha!!.isRunning() && mScrollView!!.getAlpha() == 0f) { in run()
414 mScrollView = mView?.findViewById(R.id.event_info_scroll_view) as ScrollView in onCreateView()
422 mAnimateAlpha = ObjectAnimator.ofFloat(mScrollView, "Alpha", 0f, 1f) in onCreateView()
429 defLayerType = mScrollView?.getLayerType() as Int in onCreateView()
430 mScrollView?.setLayerType(View.LAYER_TYPE_HARDWARE, null) in onCreateView()
439 mScrollView?.setLayerType(defLayerType, null) in onCreateView()
444 mScrollView?.setLayerType(defLayerType, null) in onCreateView()
450 mScrollView?.setAlpha(0f) in onCreateView()
562 mScrollView?.setVisibility(View.GONE) in displayEventNotFound()
/packages/services/Telephony/src/com/android/phone/
DChangeIccPinScreen.java78 private ScrollView mScrollView; field in ChangeIccPinScreen
120 mScrollView = (ScrollView) findViewById(R.id.scroll); in setupView()
174 mScrollView.scrollTo(0, 0); in reset()
268 mScrollView.setVisibility(View.VISIBLE); in handleResult()
292 mScrollView.setVisibility(View.GONE); in handleResult()
/packages/apps/Settings/src/com/android/settings/
DMainClear.java119 ScrollView mScrollView; field in MainClear
123 mInitiateButton.setEnabled(hasReachedBottom(mScrollView)); in onGlobalLayout()
320 if (mScrollView != null) { in establishInitialState()
321 mScrollView.getViewTreeObserver().removeOnGlobalLayoutListener(this); in establishInitialState()
323 mScrollView = mContentView.findViewById(R.id.main_clear_scrollview); in establishInitialState()
381 mScrollView.setOnScrollChangeListener(new OnScrollChangeListener() { in establishInitialState()
387 mScrollView.setOnScrollChangeListener(null); in establishInitialState()
393 mScrollView.getViewTreeObserver().addOnGlobalLayoutListener(this); in establishInitialState()
/packages/providers/MediaProvider/tools/photopicker-gradle/app/src/main/java/com/android/providers/media/tools/photopicker/
DPhotoPickerToolActivity.java45 private ScrollView mScrollView; field in PhotoPickerToolActivity
69 mScrollView = findViewById(R.id.scrollview); in onCreate()
203 Snackbar.make(mScrollView, errorMessage, Snackbar.LENGTH_LONG).show(); in logErrorAndShowToast()
248 mScrollView.smoothScrollTo(0, 0); in onActivityResult()
/packages/providers/MediaProvider/tools/photopicker/src/com/android/providers/media/tools/photopicker/
DPhotoPickerToolActivity.java64 private ScrollView mScrollView; field in PhotoPickerToolActivity
99 mScrollView = findViewById(R.id.scrollview); in onCreate()
255 Snackbar.make(mScrollView, errorMessage, Snackbar.LENGTH_LONG).show(); in logErrorAndShowToast()
300 mScrollView.smoothScrollTo(0, 0); in onActivityResult()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DTwoPanelSettingsFragment.java119 private HorizontalScrollView mScrollView; field in TwoPanelSettingsFragment
207 mScrollView = v.findViewById(R.id.scrollview); in onCreateView()
577 if (isRTL() && mScrollView.getScrollX() == 0 && mPrefPanelIdx == 0 in handleFragmentTransactionWhenFocused()
968 isRTL() ? mScrollView.getScrollX() >= mMaxScrollX - panelWidth * index in moveToPanel()
969 : mScrollView.getScrollX() <= panelWidth * index; in moveToPanel()
980 distanceToScrollToRight = animationEnd - mScrollView.getScrollX(); in moveToPanel()
982 ObjectAnimator slideAnim = ObjectAnimator.ofInt(mScrollView, "scrollX", in moveToPanel()
983 mScrollView.getScrollX(), animationEnd); in moveToPanel()
1065 distanceToScrollToRight = scrollToX - mScrollView.getScrollX(); in moveToPanel()
1066 mScrollView.scrollTo(scrollToX, 0); in moveToPanel()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/
DPropertyTestFragment.java103 private ScrollView mScrollView; field in PropertyTestFragment
183 mScrollView = view.findViewById(R.id.svEventLog); in onCreateView()
494 mScrollView.post(new Runnable() { in scrollEventLogsToBottom()
496 mScrollView.fullScroll(View.FOCUS_DOWN); in scrollEventLogsToBottom()