Home
last modified time | relevance | path

Searched refs:heightDiff (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleStashedHandleViewController.java263 int heightDiff = (mBarSize - bubbleBarBounds.height()) / 2; in createRevealAnimToIsStashed() local
264 bubbleBarBounds.top -= heightDiff; in createRevealAnimToIsStashed()
265 bubbleBarBounds.bottom += heightDiff; in createRevealAnimToIsStashed()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DStashedHandleViewController.java217 int heightDiff = (mTaskbarSize - visualBounds.height()) / 2; in createRevealAnimToIsStashed() local
218 visualBounds.top -= heightDiff; in createRevealAnimToIsStashed()
219 visualBounds.bottom += heightDiff; in createRevealAnimToIsStashed()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDetailsContentPresenter.java238 private void showFullText(int heightDiff) { in showFullText() argument
242 ViewUtils.createHeightAnimator(detailsFrame, nowHeight, nowHeight + heightDiff); in showFullText()
248 View.TRANSLATION_Y, 0f, -(heightDiff / 2))); in showFullText()
/packages/apps/Camera2/src/com/android/camera/ui/
DBottomBar.java234 int heightDiff = parentRect.height() - buttonRect.height(); in extendTouchAreaToMatchParent()
238 buttonRect.top -= heightDiff/2; in extendTouchAreaToMatchParent()
239 buttonRect.bottom += heightDiff/2; in extendTouchAreaToMatchParent()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java557 double heightDiff = Math.abs(size.getHeight() - targetHeight); in getOptimalPreviewSizeIndex() local
558 if (heightDiff < minDiff) { in getOptimalPreviewSizeIndex()
560 minDiff = heightDiff; in getOptimalPreviewSizeIndex()
561 } else if (heightDiff == minDiff) { in getOptimalPreviewSizeIndex()
566 minDiff = heightDiff; in getOptimalPreviewSizeIndex()