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/Launcher3/src/com/android/launcher3/views/
DClipIconView.java161 float minSize = Math.min(lp.width, lp.height); in update() local
162 float scaleX = rect.width() / minSize; in update()
163 float scaleY = rect.height() / minSize; in update()
172 minSize, lp, isVerticalBarLayout, dp); in update()
183 int fgIconAlpha, boolean isOpening, float scale, float minSize, in update() argument
222 / minSize; in update()
/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/modules/NeuralNetworks/common/operations/
DGenerateProposals.cpp940 void filterBoxes(const float* roiBase, const float* imageInfoBase, float minSize, in filterBoxes() argument
951 if (roiWidth > minSize && roiHeight > minSize && xRoiCenter < imageInfoBase[1] && in filterBoxes()
964 int32_t postNmsTopN, float iouThreshold, float minSize, in generateProposalsNhwcFloat32Compute() argument
1035 filterBoxes(roiTransformedBuffer.data(), imageInfoBase, minSize, &select); in generateProposalsNhwcFloat32Compute()
1066 int32_t postNmsTopN, float iouThreshold, float minSize, in generateProposalsFloat32Compute() argument
1076 heightStride, widthStride, preNmsTopN, postNmsTopN, iouThreshold, minSize, in generateProposalsFloat32Compute()
1085 int32_t postNmsTopN, float iouThreshold, float minSize, bool useNchw, in generateProposalsFloat32() argument
1092 iouThreshold, minSize, useNchw, &scoresOut_float32, &roiOut_float32, &batchesOut)); in generateProposalsFloat32()
1128 int32_t postNmsTopN, float iouThreshold, float minSize, bool useNchw, in generateProposalsFloat16() argument
1143 heightStride, widthStride, preNmsTopN, postNmsTopN, iouThreshold, minSize, useNchw, in generateProposalsFloat16()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java675 int minSize, int maxSize, int maxEnd, IntRange out) { in applyDeltaAndBound() argument
683 if (out.size() < minSize) { in applyDeltaAndBound()
685 out.start = out.end - minSize; in applyDeltaAndBound()
687 out.end = out.start + minSize; in applyDeltaAndBound()
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DUserHalHelper.java670 private static void assertMinimumSize(@NonNull VehiclePropValue prop, int minSize) { in assertMinimumSize() argument
671 checkArgument(prop.value.int32Values.size() >= minSize, in assertMinimumSize()
672 "not enough int32Values (minimum is %d) on %s", minSize, prop); in assertMinimumSize() local
/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/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java602 int minSize = 0; in testSkipToQueueInvalid() local
609 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()