Home
last modified time | relevance | path

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

12

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java447 if (getScrollX() != mScroller.getCurrX() in computeScrollHelper()
596 int delta = newX - getScrollX(); in scrollToNewPageWithoutMovingPages()
796 currPage.getPaddingRight() < getScrollX()) { in getVisiblePages()
803 currPage.getX() - currPage.getPaddingLeft() < getScrollX() + screenWidth) { in getVisiblePages()
844 canvas.clipRect(getScrollX(), getScrollY(), getScrollX() + getRight() - getLeft(), in dispatchDraw()
1119 mTouchX = getScrollX(); in determineScrollingStart()
1477 int screenCenter = getScrollX() + (getMeasuredWidth() / 2); in getPageNearestToCenterOfScreen()
1901 float scrollPos = isRtl ? mMaxScrollX - getScrollX() : getScrollX(); in updateScrollingIndicatorPosition()
DBubbleTextView.java184 destCanvas.translate(-getScrollX() + padding / 2, -getScrollY() + padding / 2); in drawWithPadding()
282 final int scrollX = getScrollX(); in draw()
310 canvas.clipRect(getScrollX(), getScrollY() + getExtendedPaddingTop(), in draw()
311 getScrollX() + getWidth(), in draw()
DPagedViewWidgetImageView.java40 canvas.clipRect(getScrollX() + getPaddingLeft(), in onDraw()
42 getScrollX() + getRight() - getLeft() - getPaddingRight(), in onDraw()
DDragLayer.java334 pt[0] += view.getLeft() - view.getScrollX(); in getDescendantCoordRelativeToSelf()
619 int xPos = x - mDropView.getScrollX() + (mAnchorView != null in animateView()
620 ? (mAnchorViewInitialScrollX - mAnchorView.getScrollX()) : 0); in animateView()
648 mAnchorViewInitialScrollX = anchorView.getScrollX(); in animateView()
DWorkspace.java875 float adjustedScrollX = Math.max(0, Math.min(getScrollX(), mMaxScrollX)); in wallpaperOffsetForCurrentScroll()
1299 mBackground.setBounds(getScrollX(), 0, getScrollX() + getMeasuredWidth(),
1795 destCanvas.translate(-v.getScrollX() + padding / 2, -v.getScrollY() + padding / 2);
2355 mSavedScrollX = getScrollX();
2585 int scrollX = getScrollX();
2610 int scrollX = getScrollX();
DAppsCustomizeTabHost.java238 mAnimationBuffer.scrollTo(mAppsCustomizePane.getScrollX(), 0); in onTabChanged()
DAppWidgetResizeFrame.java403 + mDragLayer.getPaddingLeft() - mWorkspace.getScrollX(); in snapToWidget()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java404 final int scrollX = getScrollX(); in draw()
434 canvas.clipRect(getScrollX(), getScrollY() + getExtendedPaddingTop(), in draw()
435 getScrollX() + getWidth(), in draw()
453 final int scrollX = getScrollX(); in drawBadgeIfNecessary()
DPagedView.java268 float x = (mLastMotionX - mDownMotionX) + (getScrollX() - mDownScrollX) + in updateDragViewTranslationDuringDrag()
479 return getScrollX(); in getUnboundedScrollX()
549 ev.setScrollX(getScrollX()); in sendScrollAccessibilityEvent()
1206 mDownScrollX = getScrollX(); in onInterceptTouchEvent()
1465 mDownScrollX = getScrollX(); in onTouchEvent()
1639 int initialScrollX = (int) (getScrollX() * scaleX); in onTouchEvent()
1806 return getPageNearestToCenterOfScreen(getScrollX()); in getPageNearestToCenterOfScreen()
DUtilities.java173 sPoint[0] -= v.getScrollX(); in getDescendantCoordRelativeToAncestor()
197 sMatrix.postTranslate(-v.getScrollX(), -v.getScrollY()); in mapCoordInSelfToDescendant()
202 sMatrix.postTranslate(-v.getScrollX(), -v.getScrollY()); in mapCoordInSelfToDescendant()
DWorkspace.java1413 mOverlayTranslation + mFirstPageScrollX - getScrollX()); in onWorkspaceOverallScrollChanged()
1436 mPageIndicator.setScroll(getScrollX(), computeMaxScrollX()); in showPageIndicatorAtCurrentScroll()
1697 int screenCenter = getScrollX() + getViewportWidth() / 2; in updatePageAlphaValues()
1731 int scrollDelta = getScrollX() - getScrollForPage(index) - in updateStateForCustomContent()
1884 float left = child.getLeft() + child.getTranslationX() - getScrollX(); in enableHwLayersOnVisiblePages()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java489 int delta = scroll - getScrollX(); in showScrollHint()
492 mScroller.startScroll(getScrollX(), 0, delta, 0, Folder.SCROLL_HINT_DURATION); in showScrollHint()
498 if (getScrollX() != getScrollForPage(getNextPage())) { in clearScrollHint()
/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/dragndrop/
DDragLayer.java733 (mAnchorViewInitialScrollX - mAnchorView.getScrollX())); in animateView()
735 int xPos = x - mDropView.getScrollX() + anchorAdjust; in animateView()
762 mAnchorViewInitialScrollX = anchorView.getScrollX(); in animateView()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DTextCandidates1LineViewManager.java262 if (mViewBodyScroll.getScrollX() > 0) { in initView()
289 if ((mViewBodyScroll.getScrollX() + width) < scrollMax) { in initView()
/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/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/UnifiedEmail/src/com/android/mail/browse/
DConversationWebView.java81 final int x = getScrollX(); in onDraw()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DWallpaperOffsetInterpolator.java162 return wallpaperOffsetForScroll(mWorkspace.getScrollX()); in wallpaperOffsetForCurrentScroll()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DWindowLocationUtil.java65 deltax = view.getScrollX(); in getLocationsInWindow()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorPadViewPager.java216 final float x = ev.getX(actionIndex) + getScrollX(); in onInterceptTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDragPreviewProvider.java93 destCanvas.translate(-mView.getScrollX() + blurSizeOutline / 2, in drawDragView()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreview.java94 scrollTo(getScrollX(), lastChild.getBottom() - getHeight()); in onFinishInflate()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java187 int scrollx = tv.getScrollX(); in onTouch()
245 int x = tv.getScrollX();
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStatePanelTrack.java317 int scrolledXInt = getScrollX() + x; in findChildAt()

12