Searched refs:heightDiff (Results 1 – 4 of 4) sorted by relevance
53 float heightDiff = expectedChildHeight - originalChildHeight; in onDependentViewChanged() local56 child.setTranslationY(heightDiff / 2); in onDependentViewChanged()
238 private void showFullText(int heightDiff) { in showFullText() argument242 ViewUtils.createHeightAnimator(detailsFrame, nowHeight, nowHeight + heightDiff); in showFullText()248 View.TRANSLATION_Y, 0f, -(heightDiff / 2))); in showFullText()
234 int heightDiff = parentRect.height() - buttonRect.height(); in extendTouchAreaToMatchParent()238 buttonRect.top -= heightDiff/2; in extendTouchAreaToMatchParent()239 buttonRect.bottom += heightDiff/2; in extendTouchAreaToMatchParent()
552 double heightDiff = Math.abs(size.getHeight() - targetHeight); in getOptimalPreviewSizeIndex() local553 if (heightDiff < minDiff) { in getOptimalPreviewSizeIndex()555 minDiff = heightDiff; in getOptimalPreviewSizeIndex()556 } else if (heightDiff == minDiff) { in getOptimalPreviewSizeIndex()561 minDiff = heightDiff; in getOptimalPreviewSizeIndex()