Home
last modified time | relevance | path

Searched refs:mMinWidth (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java51 private int mMinWidth; field in ActionMenuItemView
75 mMinWidth = a.getDimensionPixelSize( in ActionMenuItemView()
289 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth) in onMeasure()
290 : mMinWidth; in onMeasure()
292 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) { in onMeasure()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java48 private int mMinWidth; field in MediaRouteButton
86 mMinWidth = a.getDimensionPixelSize( in MediaRouteButton()
285 final int width = Math.max(mMinWidth, mRemoteIndicator != null ? in onMeasure()
DActivityManager.java1057 private int mMinWidth; field in ActivityManager.TaskDescription
1154 mMinWidth = minWidth; in TaskDescription()
1181 mMinWidth = other.mMinWidth; in copyFrom()
1213 if (other.mMinWidth != -1) { in copyFromPreserveHiddenFields()
1214 mMinWidth = other.mMinWidth; in copyFromPreserveHiddenFields()
1307 mMinWidth = minWidth; in setMinWidth()
1482 return mMinWidth; in getMinWidth()
1576 dest.writeInt(mMinWidth); in writeToParcel()
1598 mMinWidth = source.readInt(); in readFromParcel()
1624 + " minWidth: " + mMinWidth + " minHeight: " + mMinHeight; in toString()
[all …]
/frameworks/base/core/java/android/widget/
DProgressBar.java179 int mMinWidth; field in ProgressBar
291 mMinWidth = a.getDimensionPixelSize(R.styleable.ProgressBar_minWidth, mMinWidth); in ProgressBar()
425 mMinWidth = minWidth; in setMinWidth()
433 return mMinWidth; in getMinWidth()
642 mMinWidth = 24; in initProgressBar()
2158 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth())); in onMeasure()
DNumberPicker.java266 private final int mMinWidth; field in NumberPicker
689 mMinWidth = attributesArray.getDimensionPixelSize( in NumberPicker()
694 if (mMinWidth != SIZE_UNSPECIFIED && mMaxWidth != SIZE_UNSPECIFIED in NumberPicker()
695 && mMinWidth > mMaxWidth) { in NumberPicker()
858 final int widthSize = resolveSizeAndStateRespectingMinSize(mMinWidth, getMeasuredWidth(), in onMeasure()
1374 if (maxTextWidth > mMinWidth) { in tryComputeMaxWidth()
1377 mMaxWidth = mMinWidth; in tryComputeMaxWidth()
DAbsSeekBar.java880 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
DTextView.java777 private int mMinWidth = 0;
5504 mMinWidth = minEms; in setMinEms()
5525 return mMinWidthMode == EMS ? mMinWidth : -1; in getMinEms()
5548 mMinWidth = minPixels; in setMinWidth()
5569 return mMinWidthMode == PIXELS ? mMinWidth : -1; in getMinWidth()
5667 mMaxWidth = mMinWidth = ems; in setEms()
5689 mMaxWidth = mMinWidth = pixels; in setWidth()
9374 width = Math.max(width, mMinWidth * getLineHeight()); in onMeasure()
9376 width = Math.max(width, mMinWidth); in onMeasure()
9674 || (mMaxWidthMode == mMinWidthMode && mMaxWidth == mMinWidth)) in checkForRelayout()
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java322 int mMinWidth; field in Task
589 mMinWidth = minWidth; in Task()
1038 mMinWidth = info.windowLayout.minWidth; in setMinDimensions()
1041 mMinWidth = INVALID_MIN_SIZE; in setMinDimensions()
1724 taskDescription.setMinWidth(mMinWidth); in updateTaskDescription()
1796 int minWidth = mMinWidth; in adjustForMinimalTaskDimensions()
4011 out.attribute(null, ATTR_MIN_WIDTH, String.valueOf(mMinWidth));
DActivityStack.java2808 pw.print(prefix); pw.print(" mMinWidth="); pw.print(task.mMinWidth); in dumpActivities()
3378 proto.write(MIN_WIDTH, mMinWidth); in dumpDebug()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskLaunchParamsModifierTests.java1386 private int mMinWidth = -1; field in TaskLaunchParamsModifierTests.WindowLayoutBuilder
1415 mMinWidth = minWidth; in setMinWidth()
1426 mGravity, mMinWidth, mMinHeight); in build()
/frameworks/base/core/java/android/view/
DView.java4955 private int mMinWidth; field in View
5800 mMinWidth = a.getDimensionPixelSize(attr, 0);
25701 return (mBackground == null) ? mMinWidth : max(mMinWidth, mBackground.getMinimumWidth()); in getSuggestedMinimumWidth()
25746 return mMinWidth; in getMinimumWidth()
25761 mMinWidth = minWidth; in setMinimumWidth()
29999 stream.addProperty("measurement:minWidth", mMinWidth); in encodeProperties()