Home
last modified time | relevance | path

Searched refs:getTop (Results 1 – 25 of 81) sorted by relevance

1234

/packages/apps/Dialer/src/com/android/dialer/widget/
DViewDragHelper.java584 final int startTop = mCapturedView.getTop(); in forceSettleCapturedViewAt()
704 mScroller.fling(mCapturedView.getLeft(), mCapturedView.getTop(), in flingCapturedView()
729 mScroller.fling(mCapturedView.getLeft(), mCapturedView.getTop(), 0, yvel,
767 if (y - mCapturedView.getTop() > 0) {
772 final int dy = y - mCapturedView.getTop();
987 y + scrollY >= child.getTop() && y + scrollY < child.getBottom() &&
989 y + scrollY - child.getTop())) {
1185 dragTo(mCapturedView.getLeft() + idx, mCapturedView.getTop() + idy, idx, idy);
1437 final int oldTop = mCapturedView.getTop();
1483 y >= view.getTop() &&
[all …]
DOverlappingPaneLayout.java289 top = panel.getTop(); in updateObscuredViewsVisibility()
305 final int clampedChildTop = Math.max(startBound, child.getTop()); in updateObscuredViewsVisibility()
808 mTmpRect.bottom = Math.min(mTmpRect.bottom, mSlideableView.getTop()); in drawChild()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java1010 if (child.getTop() - getScrollY() < getHeight()) {
1107 if (v.getTop() < top) {
1108 top = v.getTop();
1911 info.viewLocation = mOrientation == HORIZONTAL ? view.getLeft() : view.getTop();
2123 return mOrientation == HORIZONTAL ? (v.getLeft() + v.getRight()) / 2 : (v.getTop()
2128 return mOrientation == VERTICAL ? (v.getLeft() + v.getRight()) / 2 : (v.getTop()
2360 h.mLocation = view.getTop();
2367 int viewLow = mOrientation == HORIZONTAL ? view.getLeft() : view.getTop();
2398 view.layout(viewStart, view.getTop(), viewStart + view.getMeasuredWidth(),
2399 view.getTop() + view.getMeasuredHeight());
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DStaggeredGridView.java643 mTouchOffsetToChildTop = y - draggedChild.getTop(); in startDragging()
1254 if (child.getTop() <= clearBelow) { in recycleOffscreenViews()
1297 final int top = child.getTop() - mItemMargin; in recycleOffscreenViews()
1368 final int motionViewPrevTop = motionView != null ? motionView.getTop() : 0; in computeScroll()
1376 final int motionViewRealTop = motionView.getTop(); in computeScroll()
1959 yTranslation = oldRect.top - childToAnimate.getTop();
3330 final int offset = (lp.position == 0 ? v.getTop() - getPaddingTop() : v.getTop());
3342 child.getTop() - child.getScrollY());
3428 final int top = view.getTop();
3473 final int top = view.getTop();
[all …]
/packages/apps/Browser/src/com/android/browser/
DNavTabScroller.java186 return mContentView.getChildAt(ix).getTop() - mScrollY; in getRelativeChildTop()
250 sy = (v.getTop() + v.getBottom() - getHeight()) / 2; in snapToSelected()
280 int distance = target - (mHorizontal ? v.getTop() : v.getLeft()); in animateOut()
394 return v.getTop() + v.getHeight() / 2; in getViewCenter()
423 && (y >= child.getTop()) && (y < child.getBottom())) { in findViewAt()
/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowPresenter.java179 transformHeight(r.getTop()), in presentText()
210 transformHeight(r.getTop()), in presentImage()
232 transformHeight(r.getTop()), in presentVideo()
DSlideshowActivity.java209 imageTop = imageRegion.getTop(); in onCreate()
214 textTop = textRegion.getTop(); in onCreate()
/packages/apps/Dialer/src/com/android/dialer/list/
DSpeedDialFragment.java321 + child.getTop()); in saveOffsets()
323 mItemIdTopMap.put(itemId, child.getTop()); in saveOffsets()
363 final int top = child.getTop(); in animateGridView()
DPhoneFavoriteListView.java177 mTopScrollBound = (getTop() + boundGap); in onDragEvent()
211 if (y >= child.getTop() && y <= child.getBottom() && x >= child.getLeft() in getViewAtPosition()
/packages/apps/Music/src/com/android/music/
DTouchInterceptor.java127 mDragPointY = y - item.getTop(); in onInterceptTouchEvent()
213 int y = getChildAt(0).getTop(); in unExpandViews()
350 && getChildAt(0).getTop() >= getPaddingTop()) { in onTouchEvent()
/packages/apps/Browser/src/com/android/browser/view/
DScrollerView.java456 return !(y < child.getTop() - scrollY in inChild()
950 && ((mHorizontal ? preferredFocusable.getLeft() : preferredFocusable.getTop()) in findFocusableViewInMyBounds()
992 int viewTop = mHorizontal ? view.getLeft() : view.getTop(); in findFocusableViewInBounds()
1009 … final int ctop = mHorizontal ? focusCandidate.getLeft() : focusCandidate.getTop(); in findFocusableViewInBounds()
1710 child.getTop() - child.getScrollY()); in requestChildRectangleOnScreen()
/packages/apps/Launcher2/src/com/android/launcher2/
DAppWidgetResizeFrame.java161 mBaselineY = getTop(); in beginResizeIfPointInRegion()
404 int yOffset = mCellLayout.getTop() + mCellLayout.getPaddingTop() in snapToWidget()
413 int newY = mWidgetView.getTop() - mBackgroundPadding + yOffset + mWidgetPaddingTop; in snapToWidget()
DDragLayer.java130 if (child.beginResizeIfPointInRegion(x - child.getLeft(), y - child.getTop())) { in handleTouchDown()
328 pt[1] += descendant.getTop(); in getDescendantCoordRelativeToSelf()
335 pt[1] += view.getTop() - view.getScrollY(); in getDescendantCoordRelativeToSelf()
DBubbleTextView.java105 if (getLeft() != left || getRight() != right || getTop() != top || getBottom() != bottom) { in setFrame()
286 background.setBounds(0, 0, getRight() - getLeft(), getBottom() - getTop()); in draw()
/packages/apps/Settings/src/com/android/settings/widget/
DStickyHeaderListView.java106 final int drawOffset = mStickyContainer != null ? mSticky.getTop() : 0; in draw()
108 final int drawTop = drawTarget.getTop(); in draw()
DChartSweepView.java441 eventInParent.offsetLocation(getLeft(), getTop()); in onTouchEvent()
452 mTrackingStart = getTop() - mMargins.top; in onTouchEvent()
487 final float currentTargetY = getTop() - mMargins.top; in onTouchEvent()
/packages/apps/Camera/src/com/android/camera/ui/
DRenderOverlay.java66 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer()
72 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DWindowLocationUtil.java53 int deltay = view.getTop(); in getLocationsInWindow()
80 deltay = view.getTop(); in getLocationsInWindow()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSecondLevelIndicatorControlBar.java91 event.offsetLocation(-view.getLeft(), -view.getTop()); in dispatchRelativeTouchEvent()
93 event.offsetLocation(view.getLeft(), view.getTop()); in dispatchRelativeTouchEvent()
/packages/apps/Mms/src/com/android/mms/dom/smil/
DSmilRegionElementImpl.java99 public int getTop() { in getTop() method in SmilRegionElementImpl
283 + ", top=" + getTop(); in toString()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java360 return listView.getChildAt(0).getTop(); in getFirstListItemOffset()
382 if (listView.getChildAt(0).getTop() == offset) { in requestToMoveToOffset()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java161 if (getLeft() != left || getRight() != right || getTop() != top || getBottom() != bottom) { in setFrame()
291 background.setBounds(0, 0, getRight() - getLeft(), getBottom() - getTop()); in draw()
DUtilities.java270 pt[1] += v0.getTop(); in getDescendantCoordRelativeToParent()
307 pt[1] -= next.getTop(); in mapCoordInSelfToDescendent()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaListView.java352 if (listItem.getTop() <= getHeight() && in isAgendaItemVisible()
353 listItem.getTop() >= mWindowAdapter.getStickyHeaderHeight()) { in isAgendaItemVisible()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DPinnedHeaderListView.java228 if (selectedView.getTop() < windowTop) { in onItemSelected()
526 int firstHeaderTop = firstChild != null ? firstChild.getTop() : 0; in dispatchDraw()

1234