Home
last modified time | relevance | path

Searched refs:getScrollX (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/views/
DDoubleShadowBubbleTextView.java67 canvas.clipRect(getScrollX(), getScrollY() + getExtendedPaddingTop(), in onDraw()
68 getScrollX() + getWidth(), in onDraw()
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/
DFocusArea.java671 mPaddingLeft + getScrollX(), in onDraw()
673 getScrollX() + getWidth() - mPaddingRight, in onDraw()
687 mPaddingLeft + getScrollX(), in draw()
689 getScrollX() + getWidth() - mPaddingRight, in draw()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DTwoPanelSettingsFragment.java529 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()
908 mScrollView.getScrollX(), animationEnd); in moveToPanel()
980 distanceToScrollToRight = scrollToX - mScrollView.getScrollX(); in moveToPanel()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java382 (mAnchorViewInitialScrollX - mAnchorView.getScrollX())); in animateView()
384 int xPos = x - mDropView.getScrollX() + anchorAdjust; in animateView()
411 mAnchorViewInitialScrollX = anchorView.getScrollX(); in animateView()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCursorAnchorInfoUtils.java59 position[0] -= currentView.getScrollX(); in isPositionVisible()
139 - lineBoundsWithoutOffset.left - textView.getScrollX(); in extractFromTextViewInternal()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java445 int delta = scroll - getScrollX(); in showScrollHint()
447 mScroller.startScroll(getScrollX(), 0, delta, 0, Folder.SCROLL_HINT_DURATION); in showScrollHint()
453 if (getScrollX() != getScrollForPage(getNextPage())) { in clearScrollHint()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java463 ev.setScrollX(getScrollX()); in sendScrollAccessibilityEvent()
1113 if (getScrollForPage(getNextPage()) != getScrollX()) { in setEnableFreeScroll()
1756 float left = child.getLeft() + child.getTranslationX() - getScrollX(); in getVisibleChildrenRange()
1783 canvas.translate(-height, Math.min(mMinScroll, getScrollX())); in drawEdgeEffect()
1793 canvas.translate(width, -(Math.max(mMaxScroll, getScrollX()))); in drawEdgeEffect()
DUtilities.java221 offsetPoints(coord, -v.getScrollX(), -v.getScrollY()); in getDescendantCoordRelativeToAncestor()
269 sMatrix.postTranslate(-v.getScrollX(), -v.getScrollY()); in mapCoordInSelfToDescendant()
274 sMatrix.postTranslate(-v.getScrollX(), -v.getScrollY()); in mapCoordInSelfToDescendant()
DBubbleTextView.java448 final int scrollX = getScrollX(); in drawDotIfNecessary()
DWorkspace.java1001 mPageIndicator.setScroll(getScrollX(), computeMaxScroll()); in showPageIndicatorAtCurrentScroll()
1187 int screenCenter = getScrollX() + getMeasuredWidth() / 2; in updatePageAlphaValues()
1207 int screenCenter = getScrollX() + getMeasuredWidth() / 2; in updatePageScrollValues()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java733 public int getScrollX() { in getScrollX() method in SlotView
746 r.offset(offset.left - getScrollX(), in getSlotRect()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DWallpaperOffsetInterpolator.java134 wallpaperOffsetForScroll(mWorkspace.getScrollX(), numScreens, sTempInt); in syncWithScroll()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java930 if (child.getRight() - getScrollX() > 0) {
975 if (child.getLeft() - getScrollX() < getWidth()) {
1086 itemInvisible = left - getScrollX() <= 0;
1387 itemInvisible = left - getScrollX() >= getWidth();
2041 if (getScrollX() + getWidth() >= maxEdge) {
/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreview.java96 scrollTo(getScrollX(), lastChild.getBottom() - getHeight()); in onFinishInflate()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DPortraitPagedViewHandler.java181 return view.getScrollX(); in getPrimaryScroll()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStatePanelTrack.java320 int scrolledXInt = getScrollX() + x; in findChildAt()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskMenuView.java191 setPosition(mTaskView.getX() - rv.getScrollX(), mTaskView.getY() - rv.getScrollY(),
DRecentsView.java1052 && !mTaskViewDeadZoneRect.contains(x + getScrollX(), y)) { in onTouchEvent()
3189 canvas.translate(getScrollX() + (mTempRect.left - mTempRect.right) / 2,
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DKeyboardDragAndDropView.java143 bounds.offset(pv.getScrollX() - pv.getScrollForPage(pageIndex), 0); in setCurrentSelection()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/
DPreviewActivityTest.java443 assertEquals(expectedWallpaperScrollX, fullResImageView.getScrollX()); in testSetsDefaultWallpaperZoomAndScroll()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumPage.java126 rect.offset(bounds.left - mSlotView.getScrollX(),
DAlbumSetPage.java184 int scrollX = mSlotView.getScrollX(); in getSlotCenter()