/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);
|
/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 | 614 final int heightSpec; 618 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT; 629 heightSpec = height; 631 heightSpec = mDropDownHeight; 638 (heightSpec < 0)? -1 : heightSpec); 651 final int heightSpec; 653 heightSpec = ViewGroup.LayoutParams.MATCH_PARENT; 656 heightSpec = height; 658 heightSpec = mDropDownHeight [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ListPopupWindow.java | 652 final int heightSpec; 656 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT; 667 heightSpec = height; 669 heightSpec = mDropDownHeight; 676 (heightSpec < 0)? -1 : heightSpec); 689 final int heightSpec; 691 heightSpec = ViewGroup.LayoutParams.MATCH_PARENT; 694 heightSpec = height; 696 heightSpec = mDropDownHeight [all...] |
/frameworks/base/packages/Keyguard/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/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
BaseRecyclerViewInstrumentationTest.java | 734 public void setMeasuredDimensionFromChildren(int widthSpec, int heightSpec) { 735 super.setMeasuredDimensionFromChildren(widthSpec, heightSpec); 739 public boolean shouldReMeasureChild(View child, int widthSpec, int heightSpec, 741 return super.shouldReMeasureChild(child, widthSpec, heightSpec, lp); 745 public boolean shouldMeasureChild(View child, int widthSpec, int heightSpec, 747 return super.shouldMeasureChild(child, widthSpec, heightSpec, lp); [all...] |
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationContentView.java | 166 int heightSpec; 169 heightSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY); 171 heightSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.AT_MOST); 173 mContractedChild.measure(widthMeasureSpec, heightSpec); 176 heightSpec = MeasureSpec.makeMeasureSpec(mMinContractedHeight, MeasureSpec.EXACTLY); 177 mContractedChild.measure(widthMeasureSpec, heightSpec); 181 mContractedChild.measure(widthMeasureSpec, heightSpec); 186 heightSpec = MeasureSpec.makeMeasureSpec(mContractedChild.getMeasuredHeight(), 188 mExpandedChild.measure(widthMeasureSpec, heightSpec); [all...] |
/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/support/v17/leanback/src/android/support/v17/leanback/widget/ |
BaseCardView.java | 658 int heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); 663 extraView.measure(widthSpec, heightSpec); 701 int heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); 706 extraView.measure(widthSpec, heightSpec); [all...] |
GridLayoutManager.java | [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
PinnedHeaderListView.java | 360 int heightSpec; 371 heightSpec = View.MeasureSpec 374 heightSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); 376 view.measure(widthSpec, heightSpec);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
SnackBarManager.java | 272 final int heightSpec = ViewGroup.getChildMeasureSpec( 275 rootView.measure(widthSpec, heightSpec);
|
/frameworks/support/design/src/android/support/design/widget/ |
NavigationView.java | 212 protected void onMeasure(int widthSpec, int heightSpec) { 226 super.onMeasure(widthSpec, heightSpec);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationItemViewCoordinates.java | 289 final int heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); 291 view.measure(widthSpec, heightSpec);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
DraggableDot.java | 177 protected void onMeasure(int widthSpec, int heightSpec) {
|