Home
last modified time | relevance | path

Searched refs:widthSpec (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
41 int widthSpecSize = MeasureSpec.getSize(widthSpec); in onMeasure()
50 mode = MeasureSpec.getMode(widthSpec); in onMeasure()
81 widthSpec = 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
128 int widthMode = MeasureSpec.getMode(widthSpec); in onMeasure()
134 measuredWidth = Math.min(desiredWidth, MeasureSpec.getSize(widthSpec)); in onMeasure()
136 measuredWidth = MeasureSpec.getSize(widthSpec); 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/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()
371 mLastWidthSpec = widthSpec; 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
48 getLength(widthSpec, mPreferredWidth + p.left + p.right), 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.java359 int widthSpec; in ensurePinnedHeaderLayout() local
363 widthSpec = View.MeasureSpec in ensurePinnedHeaderLayout()
366 widthSpec = View.MeasureSpec 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.java351 int widthSpec = MeasureSpec.makeMeasureSpec(mContentWidth, MeasureSpec.AT_MOST); in onDataReady() local
353 mWidgetSpacingLayout.measure(widthSpec, heightSpec); in onDataReady()
926 int widthSpec = MeasureSpec.makeMeasureSpec(mContentWidth, MeasureSpec.AT_MOST); in setupPage() local
928 layout.measure(widthSpec, heightSpec); in setupPage()
1091 int widthSpec = MeasureSpec.makeMeasureSpec(mContentWidth, MeasureSpec.AT_MOST); in setupPage() local
1099 layout.measure(widthSpec, heightSpec); in setupPage()
/packages/apps/Launcher2/src/com/android/launcher2/
DAppsCustomizePagedView.java392 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.AT_MOST); in onDataReady() local
395 mWidgetSpacingLayout.measure(widthSpec, heightSpec); in onDataReady()
1010 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.AT_MOST); in setupPage() local
1013 layout.measure(widthSpec, heightSpec); in setupPage()
1160 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.AT_MOST); in setupPage() local
1163 layout.measure(widthSpec, heightSpec); in setupPage()
DPagedView.java623 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.EXACTLY); in setLayoutScale() local
626 measure(widthSpec, heightSpec); in setLayoutScale()
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DStaggeredGridView.java2127 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY);
2129 view.measure(widthSpec, heightSpec);
2359 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY);
2368 child.measure(widthSpec, heightSpec);
2582 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY);
2589 child.measure(widthSpec, heightSpec);
2734 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY);
2741 child.measure(widthSpec, heightSpec);
/packages/apps/LegacyCamera/src/com/android/camera/
DPreviewFrameLayout.java63 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
64 int previewWidth = MeasureSpec.getSize(widthSpec); in onMeasure()
/packages/apps/Camera/src/com/android/camera/
DPreviewFrameLayout.java85 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
86 int previewWidth = MeasureSpec.getSize(widthSpec); in onMeasure()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemViewCoordinates.java288 final int widthSpec = MeasureSpec.makeMeasureSpec(config.getWidth(), MeasureSpec.EXACTLY); in ConversationItemViewCoordinates() local
291 view.measure(widthSpec, heightSpec); in ConversationItemViewCoordinates()
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java270 int widthSpec = MeasureSpec.makeMeasureSpec(columnWidth, 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()