/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipPixel.java | 77 public static BipPixel createResizableModified(int minWidth, int minHeight, int maxWidth, in createResizableModified() argument 79 return new BipPixel(TYPE_RESIZE_MODIFIED_ASPECT_RATIO, minWidth, minHeight, maxWidth, in createResizableModified() 87 int minHeight = (minWidth * maxHeight) / maxWidth; in createResizableFixed() local 88 return new BipPixel(TYPE_RESIZE_FIXED_ASPECT_RATIO, minWidth, minHeight, in createResizableFixed() 95 private BipPixel(int type, int minWidth, int minHeight, int maxWidth, int maxHeight) { in BipPixel() argument 97 || isDimensionInvalid(minHeight) || isDimensionInvalid(maxHeight)) { in BipPixel() 103 mMinHeight = minHeight; in BipPixel() 114 int minHeight = -1; in BipPixel() local 127 minHeight = Integer.parseInt(m1.group(2)); in BipPixel() 138 minHeight = Integer.parseInt(m2.group(2)); in BipPixel() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipPixelTest.java | 31 private void testParse(String input, int pixelType, int minWidth, int minHeight, int maxWidth, in testParse() argument 36 Assert.assertEquals(minHeight, pixel.getMinHeight()); in testParse() 52 private void testResizableModified(int minWidth, int minHeight, int maxWidth, int maxHeight, in testResizableModified() argument 54 BipPixel pixel = BipPixel.createResizableModified(minWidth, minHeight, maxWidth, maxHeight); in testResizableModified() 57 Assert.assertEquals(minHeight, pixel.getMinHeight()); in testResizableModified() 65 int minHeight = (minWidth * maxHeight) / maxWidth; // spec defined in testResizableFixed() local 69 Assert.assertEquals(minHeight, pixel.getMinHeight()); in testResizableFixed()
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | WidgetUtils.kt | 66 val minHeight: Int = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT) in getHeightScaleRatio() constant 67 if (minHeight == 0) { in getHeightScaleRatio() 73 val ratio: Float = density * minHeight / res.getDimension(R.dimen.min_digital_widget_height) in getHeightScaleRatio()
|
D | WidgetUtils.java | 80 int minHeight = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT); in getHeightScaleRatio() local 81 if (minHeight == 0) { in getHeightScaleRatio() 87 float ratio = density * minHeight / res.getDimension(R.dimen.min_digital_widget_height); in getHeightScaleRatio()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | VideoThumbnailView.java | 279 public void setMinimumHeight(final int minHeight) { in setMinimumHeight() argument 280 super.setMinimumHeight(minHeight); in setMinimumHeight() 282 mVideoView.setMinimumHeight(minHeight); in setMinimumHeight()
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
D | BaseWidgetProvider.java | 107 final int minHeight = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT); in getWidgetSize() local 110 final int rows = getCellsForSize(minHeight); in getWidgetSize()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/ |
D | BenefitsAnimation.java | 159 int minHeight = mActivity.getResources().getDimensionPixelSize( in adjustToScreenSize() local 163 if (targetHeight >= minHeight) { in adjustToScreenSize()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherAppWidgetProviderInfo.java | 76 (minHeight + widgetPadding.top + widgetPadding.bottom) / smallestCellHeight)); in initSpans()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | PendingAppWidgetHostView.java | 95 public void updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, in updateAppWidgetSize() argument
|