Home
last modified time | relevance | path

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

1234

/packages/apps/TV/src/com/android/tv/menu/
DMenuLayoutManager.java188 + ", left=" + view.getLeft() + ", top=" + view.getTop() in dumpChildren()
193 + ", left=" + title.getLeft() + ", top=" + title.getTop() in dumpChildren()
198 + ", left=" + contents.getLeft() + ", top=" + contents.getTop() in dumpChildren()
428 List<Rect> layouts = getViewLayouts(mMenuView.getLeft(), mMenuView.getTop(), in setSelectedPositionSmooth()
449 int offset = oldLayoutRect.top - mTempTitleViewForOld.getTop(); in setSelectedPositionSmooth()
460 oldLayoutRect.top - mTempTitleViewForOld.getTop())); in setSelectedPositionSmooth()
472 int distanceCurrentTitle = currentLayoutRect.top - currentView.getTop(); in setSelectedPositionSmooth()
475 - oldView.getTop(); in setSelectedPositionSmooth()
488 int offset = oldLayoutRect.top - mTempTitleViewForOld.getTop(); in setSelectedPositionSmooth()
503 int distanceOldTitle = oldView.getTop() - oldLayoutRect.top; in setSelectedPositionSmooth()
[all …]
/packages/apps/PackageInstaller/src/android/support/wearable/view/
DWearableListView.java304 mStartFirstTop = getChildCount() > 0 ? getChildAt(0).getTop() : 0; in onInterceptTouchEvent()
508 int scrollToMiddle = getCentralViewTop() - child.getTop(); in animateToMiddle()
631 int childCenterY = getTop() + getCenterYPos(child); in findCenterViewIndex()
645 return v.getTop() + v.getPaddingTop() + getAdjustedHeight(v) / 2; in getCenterYPos()
676 && getChildAt(0).getTop() >= getTopViewMaxTop() in isOverScrolling()
706 final int scrollToMiddle = getCentralViewTop() - child.getTop(); in animateToCenter()
725 final int scrollToMiddle = getCentralViewTop() + mInitialOffset - child.getTop(); in animateToInitialPosition()
851 int childCenterY = getTop() + getCenterYPos(child); in findCenterViewIndex()
903 oldTop = getChildAt(0).getTop(); in onLayoutChildren()
920 oldTop = getChildAt(index).getTop(); in onLayoutChildren()
[all …]
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/view/
DCarRecyclerView.java114 if ((child.getTop() < getBottom() && child.getBottom() > getBottom())) { in drawChild()
115 onScreen = ((float) (getBottom() - child.getTop())) / (float) child.getHeight(); in drawChild()
116 } else if ((child.getTop() < getTop() && child.getBottom() > getTop())) { in drawChild()
117 onScreen = ((float) (child.getBottom() - getTop())) / (float) child.getHeight(); in drawChild()
/packages/apps/Launcher3/src/com/android/launcher3/
DClickShadowView.java97 float topShift = view.getTop() + viewParent.getTop() - getTop(); in alignWithIconView()
99 int iconHeight = view.getBottom() - view.getTop(); in alignWithIconView()
DBaseRecyclerView.java89 int top = getTop() - mScrollbar.getTop(); in handleTouchEvent()
DAppWidgetResizeFrame.java184 mDeltaYRange.set(-getTop(), getHeight() - 2 * mTouchTargetWidth); in beginResizeIfPointInRegion()
190 mBaselineY.set(getTop(), getBottom()); in beginResizeIfPointInRegion()
472 if (beginResizeIfPointInRegion(x - getLeft(), y - getTop())) { in handleTouchDown()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java981 if (child.getTop() - getScrollY() < getHeight()) {
1078 if (v.getTop() < top) {
1079 top = v.getTop();
1872 info.viewLocation = mOrientation == HORIZONTAL ? view.getLeft() : view.getTop();
2084 return mOrientation == HORIZONTAL ? (v.getLeft() + v.getRight()) / 2 : (v.getTop()
2089 return mOrientation == VERTICAL ? (v.getLeft() + v.getRight()) / 2 : (v.getTop()
2321 h.mLocation = view.getTop();
2328 int viewLow = mOrientation == HORIZONTAL ? view.getLeft() : view.getTop();
2359 view.layout(viewStart, view.getTop(), viewStart + view.getMeasuredWidth(),
2360 view.getTop() + view.getMeasuredHeight());
[all …]
/packages/apps/ExactCalculator/src/com/android/calculator2/
DDragLayout.java92 top = child.getTop(); in onLayout()
290 && mDragHelper.getCapturedView().getTop() < -(mVerticalRange / 2)) { in onViewDragStateChanged()
350 settleToOpen = releasedChild.getTop() > -(mVerticalRange / 2); in onViewReleased()
/packages/apps/DeskClock/src/com/android/deskclock/
DAnimatorUtils.java198 return view.getTop();
253 final int startTop = from.getTop() - fromInsets.top + targetInsets.top; in getBoundsAnimator()
259 final int endTop = to.getTop() - toInsets.top + targetInsets.top; in getBoundsAnimator()
/packages/services/Telephony/src/com/android/phone/
DEmergencyActionGroup.java248 int centerY = v.getTop() + v.getHeight() / 2; in revealTheButton()
292 int centerY = v.getTop() + v.getHeight() / 2; in hideTheButton()
323 ripple.getTop() + ripple.getHeight() / 2, in startRipple()
/packages/apps/Music/src/com/android/music/
DTouchInterceptor.java127 mDragPointY = y - item.getTop(); in onInterceptTouchEvent()
212 int y = getChildAt(0).getTop(); in unExpandViews()
349 && getChildAt(0).getTop() >= getPaddingTop()) { in onTouchEvent()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DRenderOverlay.java78 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer()
84 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DOldSpeedDialFragment.java287 "Saving itemId: " + itemId + " for listview child " + i + " Top: " + child.getTop()); in saveOffsets()
289 mItemIdTopMap.put(itemId, child.getTop()); in saveOffsets()
335 final int top = child.getTop(); in animateGridView()
DPhoneFavoriteListView.java161 mTopScrollBound = (getTop() + boundGap); in onDragEvent()
193 if (y >= child.getTop() in getViewAtPosition()
/packages/apps/Messaging/src/com/android/messaging/ui/
DMultiAttachmentLayout.java354 viewWrapper.prevTop = view.getTop(); in onLayout()
376 final int yOffset = viewWrapper.prevTop - view.getTop(); in trySlideAttachmentView()
395 viewWrapper.prevTop = view.getTop(); in trySlideAttachmentView()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DRenderOverlay.java75 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer()
81 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/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()
DBubbleTextView.java105 if (getLeft() != left || getRight() != right || getTop() != top || getBottom() != bottom) { in setFrame()
286 background.setBounds(0, 0, getRight() - getLeft(), getBottom() - getTop()); in draw()
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()
/packages/apps/Settings/src/com/android/settings/datausage/
DChartDataUsagePreference.java63 int top = getTop(); in onBindViewHolder()
75 public int getTop() { in getTop() method in ChartDataUsagePreference
/packages/apps/TV/src/com/android/tv/guide/
DProgramGuide.java383 if (oldFocus.getTop() < newFocus.getTop()) { in onRequestChildFocus()
389 } else if (oldFocus.getTop() > newFocus.getTop()) { in onRequestChildFocus()
/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java443 eventInParent.offsetLocation(getLeft(), getTop()); in onTouchEvent()
454 mTrackingStart = getTop() - mMargins.top; in onTouchEvent()
489 final float currentTargetY = getTop() - mMargins.top; in onTouchEvent()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java352 return listView.getChildAt(0).getTop(); in getFirstListItemOffset()
374 if (listView.getChildAt(0).getTop() == offset) { in requestToMoveToOffset()

1234