Searched refs:availableSpace (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/ |
D | AutoResizeTextView.java | 167 private boolean suggestedSizeFitsInSpace(float suggestedSizeInPx, RectF availableSpace) { in suggestedSizeFitsInSpace() argument 173 return textPaint.getFontSpacing() <= availableSpace.bottom in suggestedSizeFitsInSpace() 174 && textPaint.measureText(text) <= availableSpace.right; in suggestedSizeFitsInSpace() 191 return layout.getHeight() <= availableSpace.bottom; in suggestedSizeFitsInSpace() 202 private float computeTextSize(int minSize, int maxSize, RectF availableSpace) { in computeTextSize() argument 207 int size = binarySearchSizes(minSize, maxSize, availableSpace); in computeTextSize() 218 private int binarySearchSizes(int minSize, int maxSize, RectF availableSpace) { in binarySearchSizes() argument 226 if (suggestedSizeFitsInSpace(dimension, availableSpace)) { in binarySearchSizes()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | ClippedFolderIconLayoutRule.java | 26 public void init(int availableSpace, float intrinsicIconSize, boolean rtl) { in init() argument 27 mAvailableSpace = availableSpace; in init() 28 mRadius = ITEM_RADIUS_SCALE_FACTOR * availableSpace / 2f; in init() 31 mBaselineIconScale = availableSpace / (intrinsicIconSize * 1f); in init()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryChartView.java | 382 final float availableSpace = in drawHorizontalDividers() local 384 offsetY = mIndent.top + mDividerWidth + availableSpace * .5f; in drawHorizontalDividers() 472 final float availableSpace = trapezoidBottom - mDividerWidth * .5f - mIndent.top; in drawTrapezoids() local 473 final float unitHeight = availableSpace / 100f; in drawTrapezoids()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | GattService.java | 1741 void onScanFilterParamsConfigured(int action, int status, int clientIf, int availableSpace) { in onScanFilterParamsConfigured() argument 1745 + ", action=" + action + ", availableSpace=" + availableSpace); in onScanFilterParamsConfigured() 1751 int availableSpace) { in onScanFilterConfig() argument 1755 + availableSpace); in onScanFilterConfig()
|