/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
D | ManualLayoutFrame.java | 37 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 40 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 43 newWidth = Math.min(mWidth, MeasureSpec.getSize(widthMeasureSpec)); in onMeasure() 46 newWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 52 widthMeasureSpec = MeasureSpec.makeMeasureSpec(mWidth, MeasureSpec.EXACTLY); in onMeasure() 54 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 59 measureChild(getChildAt(0), widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | PreferenceImageView.java | 46 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 47 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 49 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 53 widthMeasureSpec = MeasureSpec.makeMeasureSpec(maxWidth, MeasureSpec.AT_MOST); in onMeasure() 67 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | ButtonBarLayout.java | 52 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 53 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 70 if (!isStacked() && MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY) { in onMeasure() 76 initialWidthMeasureSpec = widthMeasureSpec; in onMeasure() 93 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
D | CenteredLinearLayout.java | 38 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 39 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 45 int measureMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 46 widthMeasureSpec = MeasureSpec.makeMeasureSpec(mMaxWidth, measureMode); in onMeasure() 48 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ActionableToastBar.java | 153 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 160 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 169 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 177 widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(mMinWidth, MeasureSpec.EXACTLY); in onMeasure() 178 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 180 widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(mMaxWidth, MeasureSpec.EXACTLY); in onMeasure() 181 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/packages/apps/Settings/src/com/android/settings/graph/ |
D | BottomLabelLayout.java | 47 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 48 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 56 if (!isStacked && MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY) { in onMeasure() 62 initialWidthMeasureSpec = widthMeasureSpec; in onMeasure() 78 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | SoftwareCameraPreview.java | 87 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 88 widthMeasureSpec = mPreview.getWidthMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() 89 heightMeasureSpec = mPreview.getHeightMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() 90 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | HardwareCameraPreview.java | 93 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 94 widthMeasureSpec = mPreview.getWidthMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() 95 heightMeasureSpec = mPreview.getHeightMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() 96 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | CameraPreview.java | 69 public int getWidthMeasureSpec(final int widthMeasureSpec, final int heightMeasureSpec) { in getWidthMeasureSpec() argument 71 final int width = View.MeasureSpec.getSize(widthMeasureSpec); in getWidthMeasureSpec() 74 return widthMeasureSpec; in getWidthMeasureSpec() 78 public int getHeightMeasureSpec(final int widthMeasureSpec, final int heightMeasureSpec) { in getHeightMeasureSpec() argument 81 final int width = View.MeasureSpec.getSize(widthMeasureSpec); in getHeightMeasureSpec()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | EllipsizeLayout.java | 62 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 64 && (MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY)) { in onMeasure() 71 final int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 73 makeMeasureSpec(MeasureSpec.getSize(widthMeasureSpec), MeasureSpec.UNSPECIFIED); in onMeasure() 122 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/ |
D | SoftwareCameraPreview.java | 95 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 96 widthMeasureSpec = mPreview.getWidthMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() 97 heightMeasureSpec = mPreview.getHeightMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() 98 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | HardwareCameraPreview.java | 100 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 101 widthMeasureSpec = mPreview.getWidthMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() 102 heightMeasureSpec = mPreview.getHeightMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() 103 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | CameraPreview.java | 92 public int getWidthMeasureSpec(final int widthMeasureSpec, final int heightMeasureSpec) { in getWidthMeasureSpec() argument 94 final int width = View.MeasureSpec.getSize(widthMeasureSpec); in getWidthMeasureSpec() 97 return widthMeasureSpec; in getWidthMeasureSpec() 101 public int getHeightMeasureSpec(final int widthMeasureSpec, final int heightMeasureSpec) { in getHeightMeasureSpec() argument 104 final int width = View.MeasureSpec.getSize(widthMeasureSpec); in getHeightMeasureSpec()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 597 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 599 measureVertical(widthMeasureSpec, heightMeasureSpec); in onMeasure() 601 measureHorizontal(widthMeasureSpec, heightMeasureSpec); in onMeasure() 641 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { in measureVertical() argument 652 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in measureVertical() 709 child, i, widthMeasureSpec, 0, heightMeasureSpec, in measureVertical() 844 final int childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec, in measureVertical() 872 final int childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec, in measureVertical() 949 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in measureVertical() 992 void measureHorizontal(int widthMeasureSpec, int heightMeasureSpec) { in measureHorizontal() argument [all …]
|
D | ChartView.java | 84 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 85 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 90 widthMeasureSpec = MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY); in onMeasure() 91 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationFastScroller.java | 437 int widthMeasureSpec = MeasureSpec.makeMeasureSpec(mTrackWidth, MeasureSpec.EXACTLY); in layoutTrack() local 439 mTrackImageView.measure(widthMeasureSpec, heightMeasureSpec); in layoutTrack() 449 int widthMeasureSpec = MeasureSpec.makeMeasureSpec(mTrackWidth, MeasureSpec.EXACTLY); in layoutThumb() local 451 mThumbImageView.measure(widthMeasureSpec, heightMeasureSpec); in layoutThumb() 461 int widthMeasureSpec = MeasureSpec.makeMeasureSpec(mContainer.width(), MeasureSpec.AT_MOST); in layoutPreview() local 463 mPreviewTextView.measure(widthMeasureSpec, heightMeasureSpec); in layoutPreview() 467 widthMeasureSpec = MeasureSpec.makeMeasureSpec(mPreviewMinWidth, MeasureSpec.EXACTLY); in layoutPreview() 468 mPreviewTextView.measure(widthMeasureSpec, heightMeasureSpec); in layoutPreview()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | HeaderGridView.java | 79 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 80 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 197 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 201 widthMeasureSpec = MeasureSpec.makeMeasureSpec(targetWidth, in onMeasure() 202 MeasureSpec.getMode(widthMeasureSpec)); in onMeasure() 203 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | SquareImageView.java | 39 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 40 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 43 int width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 50 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | TimerCircleFrameLayout.java | 50 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 58 final int width = MeasureSpec.getSize(widthMeasureSpec) - paddingLeft - paddingRight; in onMeasure() 67 widthMeasureSpec = MeasureSpec.makeMeasureSpec(size + paddingLeft + paddingRight, in onMeasure() 72 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | ExpandableTextView.java | 72 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 75 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 86 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 101 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | VideoThumbnailView.java | 297 protected void onMeasure(final int widthMeasureSpec, final int heightMeasureSpec) { in onMeasure() argument 299 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 305 mVideoView.measure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 307 mThumbnailImage.measure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 321 MeasureSpec.getSize(widthMeasureSpec) / (float) desiredWidth, in onMeasure()
|
D | AsyncImageView.java | 301 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 302 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 322 final int widthSpecMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 333 getMinimumWidth(), getMaxWidth(), widthMeasureSpec); in onMeasure() 350 getMaxWidth(), widthMeasureSpec); in onMeasure()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsRecyclerView.java | 160 final int widthMeasureSpec = View.MeasureSpec.makeMeasureSpec( in preMeasureViews() local 165 putSameHeightFor(adapter, widthMeasureSpec, heightMeasureSpec, in preMeasureViews() 168 putSameHeightFor(adapter, widthMeasureSpec, heightMeasureSpec, in preMeasureViews() 170 putSameHeightFor(adapter, widthMeasureSpec, heightMeasureSpec, in preMeasureViews() 174 putSameHeightFor(adapter, widthMeasureSpec, heightMeasureSpec, in preMeasureViews() 176 putSameHeightFor(adapter, widthMeasureSpec, heightMeasureSpec, in preMeasureViews()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | GridItemThumbnail.java | 40 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 48 super.onMeasure(widthMeasureSpec, widthMeasureSpec); in onMeasure()
|
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/ |
D | LinearLayoutWithMaxWidth.java | 39 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 40 WeekButton.setSuggestedWidth((View.MeasureSpec.getSize(widthMeasureSpec)) / 7); in onMeasure() 41 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|