/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/layout/tests/ |
D | ScaledLayoutTest.java | 70 assertEquals((int) (300 * 0.1), view1.getTop()); in testScaledLayout_layoutInXml() 74 assertEquals(0, view2.getTop()); in testScaledLayout_layoutInXml() 78 assertEquals((int) (300 * 0.4), view3.getTop()); in testScaledLayout_layoutInXml() 82 assertEquals((int) (300 * 0.15), view4.getTop()); in testScaledLayout_layoutInXml() 104 assertEquals(0, view1.getTop()); in testScaledLayout_layoutThroughCode() 108 assertEquals(0, view2.getTop()); in testScaledLayout_layoutThroughCode() 112 assertEquals(50, view3.getTop()); in testScaledLayout_layoutThroughCode() 116 assertEquals(50, view4.getTop()); in testScaledLayout_layoutThroughCode() 134 assertEquals(60, view1.getTop()); in testScaledLayout_bounceY() 138 assertEquals(80, view2.getTop()); in testScaledLayout_bounceY()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | MenuLayoutManager.java | 192 + view.getTop() in dumpChildren() 206 + title.getTop() in dumpChildren() 220 + contents.getTop() in dumpChildren() 480 mMenuView.getTop(), in setSelectedPositionSmooth() 507 int offset = oldLayoutRect.top - mTempTitleViewForOld.getTop(); in setSelectedPositionSmooth() 530 oldLayoutRect.top - mTempTitleViewForOld.getTop())); in setSelectedPositionSmooth() 542 int distanceCurrentTitle = currentLayoutRect.top - currentView.getTop(); in setSelectedPositionSmooth() 545 oldLayoutRect.top - mRowScrollUpAnimationOffset - oldView.getTop(); in setSelectedPositionSmooth() 564 int offset = oldLayoutRect.top - mTempTitleViewForOld.getTop(); in setSelectedPositionSmooth() 580 int distanceOldTitle = oldView.getTop() - oldLayoutRect.top; in setSelectedPositionSmooth() [all …]
|
/packages/modules/Permission/PermissionController/src/android/support/wearable/view/ |
D | WearableListView.java | 305 mStartFirstTop = getChildCount() > 0 ? getChildAt(0).getTop() : 0; in onInterceptTouchEvent() 509 int scrollToMiddle = getCentralViewTop() - child.getTop(); in animateToMiddle() 632 int childCenterY = getTop() + getCenterYPos(child); in findCenterViewIndex() 646 return v.getTop() + v.getPaddingTop() + getAdjustedHeight(v) / 2; in getCenterYPos() 677 && getChildAt(0).getTop() >= getTopViewMaxTop() in isOverScrolling() 707 final int scrollToMiddle = getCentralViewTop() - child.getTop(); in animateToCenter() 726 final int scrollToMiddle = getCentralViewTop() + mInitialOffset - child.getTop(); in animateToInitialPosition() 852 int childCenterY = getTop() + getCenterYPos(child); in findCenterViewIndex() 904 oldTop = getChildAt(0).getTop(); in onLayoutChildren() 921 oldTop = getChildAt(index).getTop(); in onLayoutChildren() [all …]
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/caruirecyclerview/ |
D | GridCarUiRecyclerViewActivity.java | 66 focusArea.setBoundsOffset(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 67 focusArea.setHighlightPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 69 .setPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged()
|
D | CarUiRecyclerViewActivity.java | 68 focusArea.setBoundsOffset(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 69 focusArea.setHighlightPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 71 .setPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged()
|
D | CarUiListItemActivity.java | 218 focusArea.setBoundsOffset(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 219 focusArea.setHighlightPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 221 .setPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/ |
D | DialerListBaseFragment.java | 143 mRecyclerView.setPadding(0, insets.getTop() + listTopPadding, 0, insets.getBottom()); in onCarUiInsetsChanged() 144 mFocusArea.setHighlightPadding(0, insets.getTop() + listTopPadding, 0, insets.getBottom()); in onCarUiInsetsChanged() 145 mFocusArea.setBoundsOffset(0, insets.getTop() + listTopPadding, 0, insets.getBottom()); in onCarUiInsetsChanged()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarView.java | 154 onLayout(false, getLeft(), getTop(), getRight(), getBottom()); in setHolesAllowedInLayoutNoAnimation() 312 int childCenterY = child.getTop() + child.getHeight() / 2; in findDelegateView() 380 mHotseatIconsContainer.getTop(), in getHotseatBounds() 417 canvas.translate(mLeaveBehindFolderIcon.getLeft(), mLeaveBehindFolderIcon.getTop()); in onDraw()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/preference/ |
D | MultiSelectListPreferenceFragment.java | 214 .setPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 218 focusArea.setHighlightPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 219 focusArea.setBoundsOffset(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged()
|
D | ListPreferenceFragment.java | 221 .setPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 225 focusArea.setHighlightPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 226 focusArea.setBoundsOffset(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged()
|
D | PreferenceFragment.java | 149 focusArea.setHighlightPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 150 focusArea.setBoundsOffset(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 152 .setPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
D | SearchAndRecommendationsScrollController.java | 345 p.y = mViewHolder.mContainer.getTop() - mCurrentRecyclerView.getTop() in calculateMotionEventOffset() 346 - mSearchAndRecommendationViewParent.getTop(); in calculateMotionEventOffset()
|
/packages/apps/Launcher3/src/com/android/launcher3/states/ |
D | SpringLoadedState.java | 74 float myCenter = ws.getTop() + halfHeight; in getWorkspaceScaleAndTranslation() 75 float cellTopFromCenter = halfHeight - ws.getChildAt(0).getTop(); in getWorkspaceScaleAndTranslation()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
D | RenderOverlay.java | 78 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer() 84 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyActionGroup.java | 187 int centerY = v.getTop() + v.getHeight() / 2; in revealTheButton() 268 int centerY = v.getTop() + v.getHeight() / 2; in hideTheButton() 299 ripple.getTop() + ripple.getHeight() / 2, in startRipple()
|
D | EmergencyShortcutButton.java | 210 int centerY = mCallNumberInfoView.getTop() + mCallNumberInfoView.getHeight() / 2; in revealSelectedButton() 233 int centerY = mConfirmView.getTop() + mConfirmView.getHeight() / 2; in hideSelectedButton()
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/widescreenime/ |
D | WideScreenImeActivity.java | 272 focusArea.setBoundsOffset(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 273 focusArea.setHighlightPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 275 .setPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AppWidgetResizeFrame.java | 170 mSystemGestureExclusionRects.get(i).set(dragHandle.getLeft(), dragHandle.getTop(), in onLayout() 315 mDeltaYRange.set(-getTop(), getHeight() - 2 * mTouchTargetWidth); in beginResizeIfPointInRegion() 321 mBaselineY.set(getTop(), getBottom()); in beginResizeIfPointInRegion() 567 if (beginResizeIfPointInRegion(x - getLeft(), y - getTop())) { in handleTouchDown() 578 int yFrame = (int) ev.getY() - getTop(); in isTouchOnReconfigureButton()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | RenderOverlay.java | 75 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/widget/ |
D | ScrollAdapterView.java | 981 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/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/decorations/grid/ |
D | GridDividerItemDecoration.java | 114 firstRowChild.getTop() + (int) parent.getContext().getResources().getDimension( in drawHorizontalDividers() 161 int dividerBottom = leftmostChild.getTop(); in drawVerticalDividers()
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/ |
D | MainActivity.java | 307 focusArea.setBoundsOffset(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 308 focusArea.setHighlightPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 310 .setPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | FloatingHeaderView.java | 412 p.y = getTop() - mCurrentRV.getTop() - mParent.getTop(); in calcOffset()
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | BrowseViewController.java | 284 mBrowseList.setPadding(leftPadding, insets.getTop(), rightPadding, bottomPadding); in onCarUiInsetsChanged() 289 leftPadding, insets.getTop(), rightPadding, mFocusAreaHighlightBottomPadding); in onCarUiInsetsChanged() 290 mFocusArea.setBoundsOffset(leftPadding, insets.getTop(), rightPadding, bottomPadding); in onCarUiInsetsChanged()
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | AppGridActivity.java | 360 .setPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 362 focusArea.setHighlightPadding(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged() 363 focusArea.setBoundsOffset(0, insets.getTop(), 0, insets.getBottom()); in onCarUiInsetsChanged()
|