Home
last modified time | relevance | path

Searched refs:heightMeasureSpec (Results 1 – 25 of 25) sorted by relevance

/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
DExpandingLayout.java55 protected void onMeasure (int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
57 heightMeasureSpec = MeasureSpec.makeMeasureSpec(mExpandedHeight, MeasureSpec.AT_MOST); in onMeasure()
59 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DAutoFitTextureView.java61 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
62 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
64 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DAutoFitTextureView.java61 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
62 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
64 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DAutoFitTextureView.java64 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
65 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
67 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/
DSquareFrameLayout.java46 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
48 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
52 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DFixedAspectSurfaceView.java85 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
88 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
90 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
143 height = View.resolveSizeAndState(height, heightMeasureSpec, 0); in onMeasure()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSecureViewOverlay.java45 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
46 measureChildren(widthMeasureSpec, heightMeasureSpec); in onMeasure()
48 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DLabelView.java127 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
129 measureHeight(heightMeasureSpec)); in onMeasure()
DCustomLayout.java75 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
95 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0); in onMeasure()
125 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
DInternalSelectionView.java98 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
101 measureHeight(heightMeasureSpec)); in onMeasure()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DFixedGridLayout.java56 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
71 resolveSize(mCellHeight * minCount, heightMeasureSpec)); in onMeasure()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPictureLayout.java82 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
91 measureChild(child, widthMeasureSpec, heightMeasureSpec); in onMeasure()
105 resolveSize(maxHeight, heightMeasureSpec)); in onMeasure()
DCameraPreview.java206 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
211 final int height = resolveSize(getSuggestedMinimumHeight(), heightMeasureSpec); in onMeasure()
DDensityActivity.java205 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
206 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DColorPickerDialog.java91 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
DFixedGridLayout.java69 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
82 resolveSize(mCellHeight*count, heightMeasureSpec)); in onMeasure()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DFitCenterFrameLayout.java37 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
40 final int height = resolveSize(getSuggestedMinimumHeight(), heightMeasureSpec); in onMeasure()
DCameraFragment.java212 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
219 heightMeasureSpec); in onMeasure()
/development/samples/Home/src/com/example/android/home/
DApplicationsStackLayout.java161 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
162 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
167 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
168 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DCustomViewAccessibilityActivity.java249 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
261 resolveSizeAndState(minHeight, heightMeasureSpec, 0)); in onMeasure()
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
DFoldingLayout.java134 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
136 measureChild(child,widthMeasureSpec, heightMeasureSpec); in onMeasure()
137 setMeasuredDimension(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DCandidateView.java137 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
149 resolveSize(desiredHeight, heightMeasureSpec)); in onMeasure()
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameView.java269 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
272 int h = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPrintCustomContent.java444 final int heightMeasureSpec = ViewGroup.getChildMeasureSpec( in print()
447 view.measure(widthMeasureSpec, heightMeasureSpec); in print()
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java279 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
289 heightMeasureSpec))); in onMeasure()