Home
last modified time | relevance | path

Searched refs:initialSize (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DBitmapUtils.java60 int initialSize = computeInitialSampleSize( in computeSampleSize() local
63 return initialSize <= 8 in computeSampleSize()
64 ? Utils.nextPowerOf2(initialSize) in computeSampleSize()
65 : (initialSize + 7) / 8 * 8; in computeSampleSize()
88 int initialSize = Math.max(w / minSideLength, h / minSideLength); in computeSampleSizeLarger() local
89 if (initialSize <= 1) return 1; in computeSampleSizeLarger()
91 return initialSize <= 8 in computeSampleSizeLarger()
92 ? Utils.prevPowerOf2(initialSize) in computeSampleSizeLarger()
93 : initialSize / 8 * 8; in computeSampleSizeLarger()
98 int initialSize = (int) Math.floor(1 / scale); in computeSampleSizeLarger() local
[all …]
/frameworks/base/cmds/wm/src/com/android/commands/wm/
DWm.java130 Point initialSize = new Point(); in runDisplaySize() local
133 mWm.getInitialDisplaySize(Display.DEFAULT_DISPLAY, initialSize); in runDisplaySize()
135 System.out.println("Physical size: " + initialSize.x + "x" + initialSize.y); in runDisplaySize()
136 if (!initialSize.equals(baseSize)) { in runDisplaySize()
/frameworks/base/tools/preload/
DWritePreloadedClassFile.java92 int initialSize = toPreload.size(); in main() local
93 System.out.println(initialSize in main()
109 System.out.println("Added " + (toPreload.size() - initialSize) in main()
/frameworks/base/core/java/android/net/
DNetworkStats.java166 public NetworkStats(long elapsedRealtime, int initialSize) { in NetworkStats() argument
169 if (initialSize >= 0) { in NetworkStats()
170 this.capacity = initialSize; in NetworkStats()
171 this.iface = new String[initialSize]; in NetworkStats()
172 this.uid = new int[initialSize]; in NetworkStats()
173 this.set = new int[initialSize]; in NetworkStats()
174 this.tag = new int[initialSize]; in NetworkStats()
175 this.rxBytes = new long[initialSize]; in NetworkStats()
176 this.rxPackets = new long[initialSize]; in NetworkStats()
177 this.txBytes = new long[initialSize]; in NetworkStats()
[all …]
DNetworkStatsHistory.java100 public NetworkStatsHistory(long bucketDuration, int initialSize) { in NetworkStatsHistory() argument
101 this(bucketDuration, initialSize, FIELD_ALL); in NetworkStatsHistory()
104 public NetworkStatsHistory(long bucketDuration, int initialSize, int fields) { in NetworkStatsHistory() argument
106 bucketStart = new long[initialSize]; in NetworkStatsHistory()
107 if ((fields & FIELD_ACTIVE_TIME) != 0) activeTime = new long[initialSize]; in NetworkStatsHistory()
108 if ((fields & FIELD_RX_BYTES) != 0) rxBytes = new long[initialSize]; in NetworkStatsHistory()
109 if ((fields & FIELD_RX_PACKETS) != 0) rxPackets = new long[initialSize]; in NetworkStatsHistory()
110 if ((fields & FIELD_TX_BYTES) != 0) txBytes = new long[initialSize]; in NetworkStatsHistory()
111 if ((fields & FIELD_TX_PACKETS) != 0) txPackets = new long[initialSize]; in NetworkStatsHistory()
112 if ((fields & FIELD_OPERATIONS) != 0) operations = new long[initialSize]; in NetworkStatsHistory()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java252 int initialSize = computeInitialSampleSize(options, minSideLength, in computeSampleSize() local
256 if (initialSize <= 8 ) { in computeSampleSize()
258 while (roundedSize < initialSize) { in computeSampleSize()
262 roundedSize = (initialSize + 7) / 8 * 8; in computeSampleSize()
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
DCameraPreviewActivity.java232 int initialSize = mPreviewSizes.size() - 1; in setUpCamera() local
234 mNextPreviewSize = mPreviewSizes.get(initialSize); in setUpCamera()
235 mResolutionSpinner.setSelection(initialSize); in setUpCamera()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...