Home
last modified time | relevance | path

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

/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DFixedAspectSurfaceView.java88 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
101 if (widthMode == MeasureSpec.EXACTLY && heightMode == MeasureSpec.EXACTLY) { in onMeasure()
106 } else if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()
109 } else if (widthMode == MeasureSpec.AT_MOST && heightMode == MeasureSpec.AT_MOST) { in onMeasure()
124 } else if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
/development/samples/Home/src/com/example/android/home/
DApplicationsStackLayout.java167 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
170 if (widthMode != MeasureSpec.EXACTLY || heightMode != MeasureSpec.EXACTLY) { in onMeasure()