Home
last modified time | relevance | path

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

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