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/tests/src/com/android/gallery3d/ui/
DGLViewMock.java71 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
73 mOnMeasureWidthSpec = widthSpec; in onMeasure()
78 item.measure(widthSpec, heightSpec); in onMeasure()
80 setMeasuredSize(widthSpec, heightSpec); in onMeasure()
DGLViewTest.java307 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
/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/Gallery2/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/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/Launcher2/src/com/android/launcher2/
DAppsCustomizePagedView.java389 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.AT_MOST); in onDataReady() local
392 mWidgetSpacingLayout.measure(widthSpec, heightSpec); in onDataReady()
1015 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.AT_MOST); in setupPage() local
1018 layout.measure(widthSpec, heightSpec); in setupPage()
1165 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.AT_MOST); in setupPage() local
1168 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/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/Gallery2/src/com/android/camera/
DPreviewFrameLayout.java77 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
78 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/Email/src/com/android/email/activity/
DMessageListItemCoordinates.java260 int widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY); in forWidth() local
262 view.measure(widthSpec, heightSpec); in forWidth()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DPinnedHeaderListView.java354 … int widthSpec = View.MeasureSpec.makeMeasureSpec(mHeaderWidth, View.MeasureSpec.EXACTLY); in ensurePinnedHeaderLayout() local
363 view.measure(widthSpec, heightSpec); in ensurePinnedHeaderLayout()
/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()