Home
last modified time | relevance | path

Searched refs:widthSpec (Results 1 – 15 of 15) 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()
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()
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()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DGLViewMock.java69 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
71 mOnMeasureWidthSpec = widthSpec; in onMeasure()
76 item.measure(widthSpec, heightSpec); in onMeasure()
78 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/
DMeasureHelper.java45 public void measure(int widthSpec, int heightSpec) { in measure() argument
48 getLength(widthSpec, mPreferredWidth + p.left + p.right), in measure()
DGLView.java364 public void measure(int widthSpec, int heightSpec) { in measure() argument
365 if (widthSpec == mLastWidthSpec && heightSpec == mLastHeightSpec in measure()
370 mLastWidthSpec = widthSpec; in measure()
374 onMeasure(widthSpec, heightSpec); in measure()
381 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
DUndoBarView.java87 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
/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/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.java90 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
91 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/Contacts/src/com/android/contacts/widget/
DPinnedHeaderListView.java354 int widthSpec = MeasureSpec.makeMeasureSpec(mHeaderWidth, MeasureSpec.EXACTLY); in ensurePinnedHeaderLayout() local
362 view.measure(widthSpec, heightSpec); in ensurePinnedHeaderLayout()
/packages/apps/Launcher2/src/com/android/launcher2/
DAppsCustomizePagedView.java468 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.AT_MOST); in onDataReady() local
471 mWidgetSpacingLayout.measure(widthSpec, heightSpec); in onDataReady()
1066 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.AT_MOST); in setupPage() local
1069 layout.measure(widthSpec, heightSpec); in setupPage()
1212 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.AT_MOST); in setupPage() local
1215 layout.measure(widthSpec, heightSpec); in setupPage()
DPagedView.java604 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.EXACTLY); in setLayoutScale() local
607 measure(widthSpec, heightSpec); in setLayoutScale()