Home
last modified time | relevance | path

Searched refs:minSize (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/
DSquareFrameLayout.java55 final int minSize = Math.min(getMeasuredWidth(), getMeasuredHeight()); in onMeasure() local
56 setMeasuredDimension(minSize, minSize); in onMeasure()
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DAnimatedNotificationDisplayActivity.java127 int minSize = Math.max(right - left, bottom - top) + mZoomLength; in onLayout() local
129 imageWidth = minSize * imageWidth / imageHeight; in onLayout()
130 imageHeight = minSize; in onLayout()
132 imageHeight = minSize * imageHeight / imageWidth; in onLayout()
133 imageWidth = minSize; in onLayout()