Home
last modified time | relevance | path

Searched refs:widthSpec (Results 1 – 17 of 17) 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/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/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/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/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/TV/usbtuner/src/com/google/android/exoplayer/text/
DSubtitleView.java197 final int widthSpec = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
199 if (computeMeasurements(widthSpec)) { in onMeasure()
/packages/apps/Messaging/src/com/android/messaging/ui/
DSnackBarManager.java269 final int widthSpec = ViewGroup.getChildMeasureSpec( in measureSnackBar() local
275 rootView.measure(widthSpec, heightSpec); in measureSnackBar()
/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/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/PackageInstaller/src/android/support/wearable/view/
DWearableListView.java1010 final int widthSpec = getChildMeasureSpec(getWidth(), in measureView() local
1016 v.measure(widthSpec, heightSpec); in measureView()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java466 public void measure(int widthSpec, int heightSpec) { in measure() argument
467 mView.measure(widthSpec, heightSpec); in measure()