Home
last modified time | relevance | path

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

12

/packages/apps/Launcher2/src/com/android/launcher2/
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()
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()
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/
DPagedView.java325 float x = (mLastMotionX - mDownMotionX) + (getScrollX() - mDownScrollX) + in updateDragViewTranslationDuringDrag()
555 return getScrollX(); in getUnboundedScrollX()
628 ev.setScrollX(getScrollX()); in sendScrollAccessibilityEvent()
642 if (getScrollX() != mScroller.getCurrX() in computeScrollHelper()
1075 sTmpRectF.offset(currPage.getLeft() - getScrollX(), 0); in getVisiblePages()
1113 int screenCenter = getScrollX() + halfScreenSize; in dispatchDraw()
1130 canvas.clipRect(getScrollX(), getScrollY(), getScrollX() + getRight() - getLeft(), in dispatchDraw()
1378 mDownScrollX = getScrollX(); in onInterceptTouchEvent()
1460 mTouchX = getViewportOffsetX() + getScrollX(); in determineScrollingStart()
1630 mDownScrollX = getScrollX(); in onTouchEvent()
[all …]
DBubbleTextView.java373 final int scrollX = getScrollX(); in draw()
401 canvas.clipRect(getScrollX(), getScrollY() + getExtendedPaddingTop(), in draw()
402 getScrollX() + getWidth(), in draw()
DFolderPagedView.java480 int delta = scroll - getScrollX(); in showScrollHint()
483 mScroller.startScroll(getScrollX(), 0, delta, 0, Folder.SCROLL_HINT_DURATION); in showScrollHint()
489 if (getScrollX() != getScrollForPage(getNextPage())) { in clearScrollHint()
DDragLayer.java724 (mAnchorViewInitialScrollX - mAnchorView.getScrollX())); in animateView()
726 int xPos = x - mDropView.getScrollX() + anchorAdjust; in animateView()
753 mAnchorViewInitialScrollX = anchorView.getScrollX(); in animateView()
DUtilities.java337 pt[0] -= v0.getScrollX(); in getDescendantCoordRelativeToParent()
375 pt[0] += ancestor.getScrollX(); in mapCoordInSelfToDescendent()
DWorkspace.java1563 return wallpaperOffsetForScroll(getScrollX()); in wallpaperOffsetForCurrentScroll()
1725 int scrollDelta = getScrollX() - getScrollForPage(index) - in updateStateForCustomContent()
2260 destCanvas.translate(-v.getScrollX() + padding / 2, -v.getScrollY() + padding / 2); in drawDragView()
/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/ExactCalculator/src/com/android/calculator2/
DCalculatorPadViewPager.java118 final int x = (int) ev.getX() + getScrollX(); in onInterceptTouchEvent()
/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/UnifiedEmail/src/com/android/mail/browse/
DConversationWebView.java81 final int x = getScrollX(); in onDraw()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DWindowLocationUtil.java65 deltax = view.getScrollX(); in getLocationsInWindow()
/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/Messaging/src/com/android/messaging/ui/
DAttachmentPreview.java94 scrollTo(getScrollX(), lastChild.getBottom() - getHeight()); in onFinishInflate()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStatePanelTrack.java317 int scrolledXInt = getScrollX() + x; in findChildAt()
/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/Music/src/com/android/music/
DMediaPlaybackActivity.java193 int scrollx = tv.getScrollX(); in onTouch()
251 int x = tv.getScrollX();
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumPage.java126 rect.offset(bounds.left - mSlotView.getScrollX(),
DAlbumSetPage.java184 int scrollX = mSlotView.getScrollX(); in getSlotCenter()

12