Home
last modified time | relevance | path

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

/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/Dialer/java/com/android/incallui/autoresizetext/
DAutoResizeTextView.java253 private float computeTextSize(int minSize, int maxSize, RectF availableSpace) { in computeTextSize() argument
258 int size = binarySearchSizes(minSize, maxSize, availableSpace); in computeTextSize()
269 private int binarySearchSizes(int minSize, int maxSize, RectF availableSpace) { in binarySearchSizes() argument
270 int bestSize = minSize; in binarySearchSizes()
271 int low = minSize + 1; in binarySearchSizes()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java551 int minSize, int maxEnd, IntRange out) { in applyDeltaAndBound() argument
559 if (out.size() < minSize) { in applyDeltaAndBound()
561 out.start = out.end - minSize; in applyDeltaAndBound()
563 out.end = out.start + minSize; in applyDeltaAndBound()
DDeviceProfile.java154 Point minSize, Point maxSize, in DeviceProfile() argument
239 availableHeightPx = minSize.y; in DeviceProfile()
241 availableWidthPx = minSize.x; in DeviceProfile()
/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/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/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()