Home
last modified time | relevance | path

Searched refs:minWidth (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DPendingAddItemInfo.java51 int minWidth; field in PendingAddWidgetInfo
70 minWidth = i.minWidth; in PendingAddWidgetInfo()
84 minWidth = copy.minWidth; in PendingAddWidgetInfo()
DPagedView.java778 final int minWidth = mMinimumWidth; in getScaledMeasuredWidth() local
779 final int maxWidth = (minWidth > measuredWidth) ? minWidth : measuredWidth; in getScaledMeasuredWidth()
1470 final int minWidth = mMinimumWidth; in getChildWidth() local
1471 return (minWidth > measuredWidth) ? minWidth : measuredWidth; in getChildWidth()
DAppsCustomizePagedView.java453 if (widget.minWidth > 0 && widget.minHeight > 0) { in onPackagesUpdated()
464 widget.minWidth + ", " + widget.minHeight + ")"); in onPackagesUpdated()
468 widget.minWidth + ", " + widget.minHeight + ")"); in onPackagesUpdated()
1639 + " minWidth=" + info.minWidth + " minHeight=" + info.minHeight);
DCellLayout.java3024 final int minWidth; in calculateSpans() local
3028 minWidth = ((LauncherAppWidgetInfo) info).minWidth; in calculateSpans()
3031 minWidth = ((PendingAddWidgetInfo) info).minWidth; in calculateSpans()
3038 int[] spans = rectToCell(minWidth, minHeight, null); in calculateSpans()
DLauncherAppWidgetInfo.java42 int minWidth = -1; field in LauncherAppWidgetInfo
DLauncher.java1140 static int[] getSpanForWidget(Context context, ComponentName component, int minWidth, in getSpanForWidget() argument
1145 int requiredWidth = minWidth + padding.left + padding.right; in getSpanForWidget()
1151 return getSpanForWidget(context, info.provider, info.minWidth, info.minHeight); in getSpanForWidget()
1159 return getSpanForWidget(context, info.componentName, info.minWidth, info.minHeight); in getSpanForWidget()
DInstallWidgetReceiver.java152 mTargetLayout.rectToCell(widgetInfo.minWidth, widgetInfo.minHeight, widgetSpan); in getView()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestions.java65 final int maxWidth, final int minWidth, final int maxRow, final Paint paint, in layout() argument
98 minWidth, calcurateMaxRowWidth(fromPos, pos)); in layout()
186 final int maxWidth, final int minWidth, final int maxRow, in layout() argument
193 final int count = mParams.layout(suggestedWords, fromPos, maxWidth, minWidth, maxRow, in layout()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DProximityInfo.java55 final int minWidth, final int height, final int mostCommonKeyWidth, in ProximityInfo() argument
66 mCellWidth = (minWidth + mGridWidth - 1) / mGridWidth; in ProximityInfo()
68 mKeyboardMinWidth = minWidth; in ProximityInfo()
74 if (minWidth == 0 || height == 0) { in ProximityInfo()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEllipsizeLayout.java63 int minWidth = 0; in onMeasure() local
64 if (maxWidth < minWidth) { in onMeasure()
65 maxWidth = minWidth; in onMeasure()
/packages/apps/DeskClock/src/com/android/alarmclock/
DWidgetUtils.java47 int minWidth = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH); in getScaleRatio() local
48 if (minWidth == 0) { in getScaleRatio()
53 float ratio = minWidth / res.getDimension(R.dimen.def_digital_widget_width); in getScaleRatio()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPhotoActionPopup.java135 final int minWidth = context.getResources().getDimensionPixelSize( in createPopupMenu() local
137 if (anchorView.getWidth() < minWidth) { in createPopupMenu()
138 listPopupWindow.setWidth(minWidth); in createPopupMenu()