Home
last modified time | relevance | path

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

/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.java552 double heightDiff = Math.abs(size.getHeight() - targetHeight); in getOptimalPreviewSizeIndex() local
553 if (heightDiff < minDiff) { in getOptimalPreviewSizeIndex()
555 minDiff = heightDiff; in getOptimalPreviewSizeIndex()
556 } else if (heightDiff == minDiff) { in getOptimalPreviewSizeIndex()
561 minDiff = heightDiff; in getOptimalPreviewSizeIndex()