Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/autoresizetext/
DAutoResizeTextView.java202 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
219 int bestSize = minSize; in binarySearchSizes()
220 int low = minSize + 1; in binarySearchSizes()
/packages/apps/Nfc/src/com/android/nfc/echoserver/
DEchoServer.java137 int minSize = Math.min(size, ECHO_MIU); in pushUnit() local
138 byte[] data = new byte[minSize]; in pushUnit()
139 System.arraycopy(unit, offset, data, 0, minSize); in pushUnit()
141 sizeLeft -= minSize; in pushUnit()
142 offset += minSize; in pushUnit()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DSizeClustering.java104 String minSize = getSizeString(i); in run() local
107 res.getString(R.string.size_between), minSize, maxSize); in run()
DClusterAlbumSet.java110 long minSize = ((SizeClustering) clustering).getMinSize(i); in updateClusters() local
111 childPath = mPath.getChild(minSize); in updateClusters()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java591 int minSize, int maxEnd, IntRange out) { in applyDeltaAndBound() argument
599 if (out.size() < minSize) { in applyDeltaAndBound()
601 out.start = out.end - minSize; in applyDeltaAndBound()
603 out.end = out.start + minSize; in applyDeltaAndBound()
DDeviceProfile.java141 InvariantDeviceProfile originalIDP, Point minSize, Point maxSize, in DeviceProfile() argument
154 availableHeightPx = minSize.y; in DeviceProfile()
156 availableWidthPx = minSize.x; in DeviceProfile()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java225 float minSize = Math.min(lp.width, lp.height); in update() local
226 float scaleX = rect.width() / minSize; in update()
227 float scaleY = rect.height() / minSize; in update()
267 / minSize; in update()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DCachingPipeline.java361 float minSize = Math.min(source.getWidth(), source.getHeight()); in render() local
363 float scale = maxSize / minSize; in render()
/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java243 public void setLabelMinSize(int minSize) { in setLabelMinSize() argument
244 mLabelMinSize = minSize; in setLabelMinSize()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DChartSweepView.java243 public void setLabelMinSize(int minSize) { in setLabelMinSize() argument
244 mLabelMinSize = minSize; in setLabelMinSize()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java415 int minSize = 0; in testSkipToQueueInvalid() local
422 transportControls.skipToQueueItem(minSize - 1); in testSkipToQueueInvalid()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java314 final long minSize = countImage * MIN_IMAGE_BYTE_SIZE; in makePduBody() local
318 minSize > 0 ? Math.max(1.0, byteBudget / ((double) minSize)) : 1; in makePduBody()