Home
last modified time | relevance | path

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

/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()
63 int width = MeasureSpec.getSize(widthMeasureSpec); 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()
63 int width = MeasureSpec.getSize(widthMeasureSpec); 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()
66 int width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/
DSquareFrameLayout.java46 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
47 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 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
87 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
89 int width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
142 width = View.resolveSizeAndState(width, widthMeasureSpec, 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
128 setMeasuredDimension(measureWidth(widthMeasureSpec), in onMeasure()
DCustomLayout.java75 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
95 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0); in onMeasure()
124 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in onMeasure()
DInternalSelectionView.java98 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
100 measureWidth(widthMeasureSpec), in onMeasure()
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
DExpandingLayout.java55 protected void onMeasure (int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
59 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DFixedGridLayout.java56 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
70 setMeasuredDimension(resolveSize(mCellWidth * minCount, widthMeasureSpec), 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()
104 setMeasuredDimension(resolveSize(maxWidth, widthMeasureSpec), in onMeasure()
DCameraPreview.java206 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
210 final int width = resolveSize(getSuggestedMinimumWidth(), widthMeasureSpec); 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
81 setMeasuredDimension(resolveSize(mCellWidth*count, widthMeasureSpec), in onMeasure()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DFitCenterFrameLayout.java37 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
39 final int width = resolveSize(getSuggestedMinimumWidth(), widthMeasureSpec); in onMeasure()
DCameraFragment.java212 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
217 widthMeasureSpec); 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()
164 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
165 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DCustomViewAccessibilityActivity.java249 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
260 setMeasuredDimension(resolveSizeAndState(minWidth, widthMeasureSpec, 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
138 int measuredWidth = resolveSize(50, widthMeasureSpec); in onMeasure()
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameView.java269 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
271 int w = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPrintCustomContent.java441 final int widthMeasureSpec = 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
285 widthMeasureSpec)), in onMeasure()