/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
ControlPanelLayout.java | 40 protected void onMeasure(int widthSpec, int heightSpec) { 42 int heightSpecSize = MeasureSpec.getSize(heightSpec); 55 mode = MeasureSpec.getMode(heightSpec); 83 heightSpec = MeasureSpec.makeMeasureSpec(measuredSize, MeasureSpec.EXACTLY); 86 super.onMeasure(widthSpec, heightSpec);
|
RotateLayout.java | 65 protected void onMeasure(int widthSpec, int heightSpec) { 70 measureChild(mChild, widthSpec, heightSpec); 76 measureChild(mChild, heightSpec, widthSpec);
|
IndicatorControlWheelContainer.java | 117 protected void onMeasure(int widthSpec, int heightSpec) { 129 int heightMode = MeasureSpec.getMode(heightSpec); 141 measuredHeight = Math.min(desiredHeight, MeasureSpec.getSize(heightSpec)); 143 measuredHeight = MeasureSpec.getSize(heightSpec);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
RotateLayout.java | 70 protected void onMeasure(int widthSpec, int heightSpec) { 75 measureChild(mChild, widthSpec, heightSpec); 81 measureChild(mChild, heightSpec, widthSpec);
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
SurfaceViewRendererOnMeasureTest.java | 74 int widthSpec, int heightSpec) { 76 surfaceViewRenderer.onMeasure(widthSpec, heightSpec); 81 + MeasureSpec.toString(widthSpec) + ", " + MeasureSpec.toString(heightSpec) + ")" 182 final int heightSpec = MeasureSpec.makeMeasureSpec(1280, MeasureSpec.AT_MOST); 187 expectedSize.x, expectedSize.y, widthSpec, heightSpec); 194 final int heightSpec = MeasureSpec.makeMeasureSpec(1280, MeasureSpec.AT_MOST); 199 expectedSize.x, expectedSize.y, widthSpec, heightSpec); 205 final int heightSpec = MeasureSpec.makeMeasureSpec(1280, MeasureSpec.EXACTLY); 208 720, 1280, widthSpec, heightSpec);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
MeasureHelper.java | 45 public void measure(int widthSpec, int heightSpec) { 49 getLength(heightSpec, mPreferredHeight + p.top + p.bottom));
|
GLView.java | 365 public void measure(int widthSpec, int heightSpec) { 366 if (widthSpec == mLastWidthSpec && heightSpec == mLastHeightSpec 372 mLastHeightSpec = heightSpec; 375 onMeasure(widthSpec, heightSpec); 382 protected void onMeasure(int widthSpec, int heightSpec) {
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
PreviewFrameLayout.java | 63 protected void onMeasure(int widthSpec, int heightSpec) { 65 int previewHeight = MeasureSpec.getSize(heightSpec);
|
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/view/ |
StickyHeaderRecyclerView.java | 75 protected void onMeasure(int widthSpec, int heightSpec) { 76 super.onMeasure(widthSpec, heightSpec); 78 measureChild(getHeader(), widthSpec, heightSpec);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
WrapContentBasicTest.java | 216 public void setMeasuredDimensionFromChildren(int widthSpec, int heightSpec) { 217 super.setMeasuredDimensionFromChildren(widthSpec, heightSpec); 221 public boolean shouldReMeasureChild(View child, int widthSpec, int heightSpec, 223 return super.shouldReMeasureChild(child, widthSpec, heightSpec, lp); 227 public boolean shouldMeasureChild(View child, int widthSpec, int heightSpec, 229 return super.shouldMeasureChild(child, widthSpec, heightSpec, lp);
|
BaseRecyclerViewInstrumentationTest.java | 733 public void setMeasuredDimensionFromChildren(int widthSpec, int heightSpec) { 734 super.setMeasuredDimensionFromChildren(widthSpec, heightSpec); 738 public boolean shouldReMeasureChild(View child, int widthSpec, int heightSpec, 740 return super.shouldReMeasureChild(child, widthSpec, heightSpec, lp); 744 public boolean shouldMeasureChild(View child, int widthSpec, int heightSpec, 746 return super.shouldMeasureChild(child, widthSpec, heightSpec, lp); [all...] |
/development/samples/Home/src/com/example/android/home/ |
ApplicationsStackLayout.java | 184 final int heightSpec = MeasureSpec.makeMeasureSpec(layoutParams.height, MeasureSpec.EXACTLY); 185 mButton.measure(widthSpec, heightSpec); 243 int heightSpec; 256 heightSpec = MeasureSpec.makeMeasureSpec(layoutParams.height, MeasureSpec.EXACTLY); 257 view.measure(widthSpec, heightSpec);
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
SurfaceViewRenderer.java | 322 private Point getDesiredLayoutSize(int widthSpec, int heightSpec) { 325 final int maxHeight = getDefaultSize(Integer.MAX_VALUE, heightSpec); 331 if (MeasureSpec.getMode(heightSpec) == MeasureSpec.EXACTLY) { 340 protected void onMeasure(int widthSpec, int heightSpec) { 343 super.onMeasure(widthSpec, heightSpec); 346 desiredLayoutSize = getDesiredLayoutSize(widthSpec, heightSpec);
|
/frameworks/base/core/java/android/widget/ |
ListPopupWindow.java | 635 final int heightSpec; 639 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT; 650 heightSpec = height; 652 heightSpec = mDropDownHeight; 659 (heightSpec < 0)? -1 : heightSpec); 672 final int heightSpec; 674 heightSpec = ViewGroup.LayoutParams.MATCH_PARENT; 677 heightSpec = height; 679 heightSpec = mDropDownHeight [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ListPopupWindow.java | 667 final int heightSpec; 671 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT; 682 heightSpec = height; 684 heightSpec = mDropDownHeight; 691 (heightSpec < 0)? -1 : heightSpec); 704 final int heightSpec; 706 heightSpec = ViewGroup.LayoutParams.MATCH_PARENT; 709 heightSpec = height; 711 heightSpec = mDropDownHeight [all...] |
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
NotificationShadeActivity.java | 132 int heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); 133 child.measure(widthSpec, heightSpec);
|
/frameworks/support/transition/src/android/support/transition/ |
TransitionUtils.java | 61 int heightSpec = View.MeasureSpec.makeMeasureSpec(bottom - top, View.MeasureSpec.EXACTLY); 62 copy.measure(widthSpec, heightSpec);
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
KeyguardSecurityViewFlipper.java | 191 protected void onMeasure(int widthSpec, int heightSpec) { 193 final int heightMode = MeasureSpec.getMode(heightSpec); 199 Log.w(TAG, "onMeasure: heightSpec " + MeasureSpec.toString(heightSpec) + 204 final int heightSize = MeasureSpec.getSize(heightSpec);
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
StaggeredGridView.java | 780 final int heightSpec; 782 heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); 784 heightSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY); 787 child.measure(widthSpec, heightSpec); [all...] |
/frameworks/support/design/src/android/support/design/internal/ |
BottomNavigationMenuView.java | 113 final int heightSpec = MeasureSpec.makeMeasureSpec(mItemHeight, MeasureSpec.EXACTLY); 149 heightSpec); 157 View.resolveSizeAndState(mItemHeight, heightSpec, 0));
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
CarouselView.java | 189 protected void onMeasure(int widthSpec, int heightSpec) { 205 int heightMode = MeasureSpec.getMode(heightSpec); 211 requestedHeight = MeasureSpec.getSize(heightSpec);
|
/frameworks/base/core/java/android/transition/ |
TransitionUtils.java | 107 int heightSpec = View.MeasureSpec.makeMeasureSpec(bottom - top, View.MeasureSpec.EXACTLY); 108 copy.measure(widthSpec, heightSpec);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationContentView.java | 185 int heightSpec; 195 heightSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY); 197 heightSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.AT_MOST); 199 mContractedChild.measure(widthMeasureSpec, heightSpec); 202 heightSpec = MeasureSpec.makeMeasureSpec(mMinContractedHeight, MeasureSpec.EXACTLY); 203 mContractedChild.measure(widthMeasureSpec, heightSpec); 207 mContractedChild.measure(widthMeasureSpec, heightSpec); 212 heightSpec = MeasureSpec.makeMeasureSpec(mContractedChild.getMeasuredHeight(), 214 mExpandedChild.measure(widthMeasureSpec, heightSpec); [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
PinnedHeaderListView.java | 364 int heightSpec; 375 heightSpec = View.MeasureSpec 378 heightSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); 380 view.measure(widthSpec, heightSpec);
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
PinnedHeaderListView.java | 309 int heightSpec; 318 heightSpec = 321 heightSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); 323 view.measure(widthSpec, heightSpec);
|