Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DScaleBehavior.java53 float heightDiff = expectedChildHeight - originalChildHeight; in onDependentViewChanged() local
56 child.setTranslationY(heightDiff / 2); in onDependentViewChanged()
/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()