/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | FixedAspectRatioImageView.java | 47 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 48 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 50 if (MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY in onMeasure() 52 width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 54 } else if (MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY) { in onMeasure() 55 width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
|
D | SecureViewOverlay.java | 45 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 46 measureChildren(widthMeasureSpec, heightMeasureSpec); in onMeasure() 48 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | LabelView.java | 127 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 128 setMeasuredDimension(measureWidth(widthMeasureSpec), in onMeasure()
|
D | CustomLayout.java | 75 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()
|
D | InternalSelectionView.java | 98 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 100 measureWidth(widthMeasureSpec), in onMeasure()
|
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/ |
D | AutoFitTextureView.java | 61 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/Camera2Video/src/com.example.android.camera2video/ |
D | AutoFitTextureView.java | 61 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/ |
D | AutoFitTextureView.java | 64 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/ |
D | SquareFrameLayout.java | 46 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/ |
D | FixedAspectSurfaceView.java | 85 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/AutofillKeyboard/src/com/example/android/autofillkeyboard/ |
D | InputView.java | 37 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 38 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/ |
D | ExpandingLayout.java | 55 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/ |
D | FixedGridLayout.java | 56 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/ |
D | PictureLayout.java | 82 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 91 measureChild(child, widthMeasureSpec, heightMeasureSpec); in onMeasure() 104 setMeasuredDimension(resolveSize(maxWidth, widthMeasureSpec), in onMeasure()
|
D | CameraPreview.java | 206 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 210 final int width = resolveSize(getSuggestedMinimumWidth(), widthMeasureSpec); in onMeasure()
|
D | DensityActivity.java | 205 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 206 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
D | FitCenterFrameLayout.java | 37 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 39 final int width = resolveSize(getSuggestedMinimumWidth(), widthMeasureSpec); in onMeasure()
|
D | CameraFragment.java | 212 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 217 widthMeasureSpec); in onMeasure()
|
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/ |
D | FixedGridLayout.java | 69 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 81 setMeasuredDimension(resolveSize(mCellWidth*count, widthMeasureSpec), in onMeasure()
|
/development/samples/Home/src/com/example/android/home/ |
D | ApplicationsStackLayout.java | 161 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/ |
D | CustomViewAccessibilityActivity.java | 249 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/ |
D | FoldingLayout.java | 134 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/ |
D | CandidateView.java | 137 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 138 int measuredWidth = resolveSize(50, widthMeasureSpec); in onMeasure()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | PrintCustomContent.java | 441 final int widthMeasureSpec = ViewGroup.getChildMeasureSpec( in print() 447 view.measure(widthMeasureSpec, heightMeasureSpec); in print()
|
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
D | GameView.java | 269 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 271 int w = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
|