Home
last modified time | relevance | path

Searched refs:minSize (Results 1 – 11 of 11) 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.java135 Point minSize, Point maxSize, in DeviceProfile() argument
147 availableHeightPx = minSize.y; in DeviceProfile()
149 availableWidthPx = minSize.x; in DeviceProfile()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java221 float minSize = Math.min(lp.width, lp.height); in update() local
222 float scaleX = rect.width() / minSize; in update()
223 float scaleY = rect.height() / minSize; in update()
263 / minSize; in update()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DCachingPipeline.java360 float minSize = Math.min(source.getWidth(), source.getHeight()); in render() local
362 float scale = maxSize / minSize; in render()
/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/Settings/src/com/android/settings/widget/
DChartSweepView.java243 public void setLabelMinSize(int minSize) { in setLabelMinSize() argument
244 mLabelMinSize = minSize; in setLabelMinSize()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java316 final long minSize = countImage * MIN_IMAGE_BYTE_SIZE; in makePduBody() local
320 minSize > 0 ? Math.max(1.0, byteBudget / ((double) minSize)) : 1; in makePduBody()