Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEllipsizeLayout.java114 final int minWidth = 0; in onMeasure() local
115 if (maxWidth < minWidth) { in onMeasure()
116 maxWidth = minWidth; in onMeasure()
/packages/apps/DeskClock/src/com/android/alarmclock/
DWidgetUtils.java42 int minWidth = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH); in getScaleRatio() local
43 if (minWidth == 0) { in getScaleRatio()
49 float ratio = (density * minWidth) / res.getDimension(R.dimen.min_digital_widget_width); in getScaleRatio()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestions.java57 final int maxWidth, final int minWidth, final int maxRow, final Paint paint, in layout() argument
98 minWidth, calcurateMaxRowWidth(fromIndex, index)); in layout()
191 final int maxWidth, final int minWidth, final int maxRow, in layout() argument
197 final int count = mParams.layout(suggestedWords, fromIndex, maxWidth, minWidth, maxRow, in layout()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPhotoActionPopup.java130 final int minWidth = context.getResources().getDimensionPixelSize( in createPopupMenu() local
132 if (anchorView.getWidth() < minWidth) { in createPopupMenu()
133 listPopupWindow.setWidth(minWidth); in createPopupMenu()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DProximityInfo.java61 ProximityInfo(final int gridWidth, final int gridHeight, final int minWidth, final int height, in ProximityInfo() argument
68 mCellWidth = (minWidth + mGridWidth - 1) / mGridWidth; in ProximityInfo()
70 mKeyboardMinWidth = minWidth; in ProximityInfo()
76 if (minWidth == 0 || height == 0) { in ProximityInfo()
/packages/apps/TV/src/com/android/tv/guide/
DProgramItemView.java479 int minWidth = Math.min(width, mTextWidth + 2 * sItemPadding); in layoutVisibleArea() local
480 if (startPadding > 0 && width - startPadding < minWidth) { in layoutVisibleArea()
481 startPadding = Math.max(0, width - minWidth); in layoutVisibleArea()
483 if (endPadding > 0 && width - endPadding < minWidth) { in layoutVisibleArea()
484 endPadding = Math.max(0, width - minWidth); in layoutVisibleArea()
/packages/apps/Messaging/src/com/android/messaging/ui/
DVideoThumbnailView.java271 public void setMinimumWidth(final int minWidth) { in setMinimumWidth() argument
272 super.setMinimumWidth(minWidth); in setMinimumWidth()
274 mVideoView.setMinimumWidth(minWidth); in setMinimumWidth()
/packages/apps/Messaging/src/com/android/messaging/widget/
DBaseWidgetProvider.java100 final int minWidth = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH); in getWidgetSize() local
105 final int columns = getCellsForSize(minWidth); in getWidgetSize()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DSnackbar.java85 int minWidth = dragLayer.getWidth() - maxMarginLeftRight * 2 - insets.left - insets.right; in show() local
86 params.width = minWidth; in show()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppWidgetProviderInfo.java74 (minWidth + widgetPadding.left + widgetPadding.right) / smallestCellWidth)); in initSpans()
/packages/apps/UnifiedEmail/assets/
Dscript.js401 wStr = node.style.width || node.style.minWidth;
408 node.style.minWidth = "";
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAppWidgetHostView.java95 public void updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, in updateAppWidgetSize() argument