Home
last modified time | relevance | path

Searched refs:heightSpec (Results 1 – 18 of 18) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/ui/
DControlPanelLayout.java40 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
42 int heightSpecSize = MeasureSpec.getSize(heightSpec); in onMeasure()
55 mode = MeasureSpec.getMode(heightSpec); in onMeasure()
83 heightSpec = MeasureSpec.makeMeasureSpec(measuredSize, MeasureSpec.EXACTLY); in onMeasure()
86 super.onMeasure(widthSpec, heightSpec); in onMeasure()
DIndicatorControlWheelContainer.java117 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
129 int heightMode = MeasureSpec.getMode(heightSpec); in onMeasure()
141 measuredHeight = Math.min(desiredHeight, MeasureSpec.getSize(heightSpec)); in onMeasure()
143 measuredHeight = MeasureSpec.getSize(heightSpec); in onMeasure()
DRotateLayout.java65 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
70 measureChild(mChild, widthSpec, heightSpec); in onMeasure()
76 measureChild(mChild, heightSpec, widthSpec); in onMeasure()
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DStaggeredGridView.java2118 final int heightSpec;
2120 heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
2122 heightSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY);
2129 view.measure(widthSpec, heightSpec);
2361 final int heightSpec;
2363 heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
2365 heightSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY);
2368 child.measure(widthSpec, heightSpec);
2583 final int heightSpec;
2585 heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLView.java365 public void measure(int widthSpec, int heightSpec) { in measure() argument
366 if (widthSpec == mLastWidthSpec && heightSpec == mLastHeightSpec in measure()
372 mLastHeightSpec = heightSpec; in measure()
375 onMeasure(widthSpec, heightSpec); in measure()
382 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
DMeasureHelper.java45 public void measure(int widthSpec, int heightSpec) { in measure() argument
49 getLength(heightSpec, mPreferredHeight + p.top + p.bottom)); in measure()
DUndoBarView.java91 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
/packages/apps/Camera2/src/com/android/camera/ui/
DRotateLayout.java70 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
75 measureChild(mChild, widthSpec, heightSpec); in onMeasure()
81 measureChild(mChild, heightSpec, widthSpec); in onMeasure()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DPinnedHeaderListView.java360 int heightSpec; in ensurePinnedHeaderLayout() local
371 heightSpec = View.MeasureSpec in ensurePinnedHeaderLayout()
374 heightSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); in ensurePinnedHeaderLayout()
376 view.measure(widthSpec, heightSpec); in ensurePinnedHeaderLayout()
/packages/apps/Camera/src/com/android/camera/ui/
DRotateLayout.java133 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
138 measureChild(mChild, widthSpec, heightSpec); in onMeasure()
144 measureChild(mChild, heightSpec, widthSpec); in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppsCustomizePagedView.java352 int heightSpec = MeasureSpec.makeMeasureSpec(mContentHeight, MeasureSpec.AT_MOST); in onDataReady() local
353 mWidgetSpacingLayout.measure(widthSpec, heightSpec); in onDataReady()
927 int heightSpec = MeasureSpec.makeMeasureSpec(mContentHeight, MeasureSpec.AT_MOST); in setupPage() local
928 layout.measure(widthSpec, heightSpec); in setupPage()
1092 int heightSpec = MeasureSpec.makeMeasureSpec(mContentHeight, MeasureSpec.AT_MOST); in setupPage() local
1099 layout.measure(widthSpec, heightSpec); in setupPage()
/packages/apps/Launcher2/src/com/android/launcher2/
DAppsCustomizePagedView.java393 int heightSpec = MeasureSpec.makeMeasureSpec(getMeasuredHeight(), MeasureSpec.AT_MOST); in onDataReady() local
395 mWidgetSpacingLayout.measure(widthSpec, heightSpec); in onDataReady()
1011 int heightSpec = MeasureSpec.makeMeasureSpec(getMeasuredHeight(), MeasureSpec.AT_MOST); in setupPage() local
1013 layout.measure(widthSpec, heightSpec); in setupPage()
1161 int heightSpec = MeasureSpec.makeMeasureSpec(getMeasuredHeight(), MeasureSpec.AT_MOST); in setupPage() local
1163 layout.measure(widthSpec, heightSpec); in setupPage()
DPagedView.java624 int heightSpec = MeasureSpec.makeMeasureSpec(getMeasuredHeight(), MeasureSpec.EXACTLY); in setLayoutScale() local
626 measure(widthSpec, heightSpec); in setLayoutScale()
/packages/apps/LegacyCamera/src/com/android/camera/
DPreviewFrameLayout.java63 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
65 int previewHeight = MeasureSpec.getSize(heightSpec); in onMeasure()
/packages/apps/Camera/src/com/android/camera/
DPreviewFrameLayout.java85 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
87 int previewHeight = MeasureSpec.getSize(heightSpec); in onMeasure()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemViewCoordinates.java289 final int heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in ConversationItemViewCoordinates() local
291 view.measure(widthSpec, heightSpec); in ConversationItemViewCoordinates()
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java269 int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, MeasureSpec.EXACTLY); in makeAndAddColumn() local
271 child.measure(widthSpec, heightSpec); in makeAndAddColumn()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java428 public void measure(int widthSpec, int heightSpec) { in measure() argument
429 mView.measure(widthSpec, heightSpec); in measure()