Home
last modified time | relevance | path

Searched refs:initialSize (Results 1 – 15 of 15) 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/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/services/tests/wmtests/src/com/android/server/wm/
DDisplayWindowSettingsProviderTests.java285 final int initialSize = provider.getOverrideSettingsSize(); in testCleanUpEmptyDisplaySettingsOnDisplayRemoved() local
291 assertEquals(initialSize + 1, provider.getOverrideSettingsSize()); in testCleanUpEmptyDisplaySettingsOnDisplayRemoved()
298 assertEquals(initialSize + 1, provider.getOverrideSettingsSize()); in testCleanUpEmptyDisplaySettingsOnDisplayRemoved()
304 assertEquals(initialSize, provider.getOverrideSettingsSize()); in testCleanUpEmptyDisplaySettingsOnDisplayRemoved()
311 final int initialSize = provider.getOverrideSettingsSize(); in testCleanUpVirtualDisplaySettingsOnDisplayRemoved() local
318 assertEquals(initialSize + 1, provider.getOverrideSettingsSize()); in testCleanUpVirtualDisplaySettingsOnDisplayRemoved()
326 assertEquals(initialSize, provider.getOverrideSettingsSize()); in testCleanUpVirtualDisplaySettingsOnDisplayRemoved()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/
DRippleShader.kt387 @VisibleForTesting val initialSize = SizeAtProgress(0f, 0f, 0f) constant in com.android.systemui.surfaceeffects.ripple.RippleSize
400 setSizeAtProgresses(initialSize, SizeAtProgress(1f, width, height)) in setMaxSize()
446 setSizeAtProgresses(initialSize) in updateTargetIndex()
/frameworks/native/services/inputflinger/dispatcher/
DTouchedWindow.cpp83 const size_t initialSize = hoveringPointers.size(); in addHoveringPointer() local
87 if (hoveringPointers.size() != initialSize) { in addHoveringPointer()
96 const size_t initialSize = touchingPointers.size(); in addTouchingPointers() local
102 const bool foundInconsistentState = touchingPointers.size() != initialSize; in addTouchingPointers()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeUtils.kt56 val initialSize: Size = in calculateInitialBounds() constant
101 return positionInScreen(initialSize, screenBounds) in calculateInitialBounds()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/ripple/
DRippleShaderTest.kt45 assertThat(rippleShader.rippleSize.sizes[0]).isEqualTo(rippleShader.rippleSize.initialSize) in setMaxSize_hasCorrectSizes()
119 assertThat(rippleShader.rippleSize.sizes[0]).isEqualTo(rippleShader.rippleSize.initialSize) in update_sizeListIsEmpty_setsInitialSize()
/frameworks/native/services/stats/
DStatsHal.cpp59 int initialSize = buckets.size(); in reportChargeCycles() local
60 for (int i = 0; i < 10 - initialSize; i++) { in reportChargeCycles()
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
DCameraPreviewActivity.java233 int initialSize = mPreviewSizes.size() - 1; in setUpCamera() local
235 mNextPreviewSize = mPreviewSizes.get(initialSize); in setUpCamera()
236 mResolutionSpinner.setSelection(initialSize); in setUpCamera()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java187 final Point initialSize = new Point(); in printInitialDisplaySize() local
191 mInterface.getInitialDisplaySize(displayId, initialSize); in printInitialDisplaySize()
193 pw.println("Physical size: " + initialSize.x + "x" + initialSize.y); in printInitialDisplaySize()
194 if (!initialSize.equals(baseSize)) { in printInitialDisplaySize()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DMobileRadioPowerStatsProcessorTest.java495 private NetworkStats mockNetworkStats(int elapsedTime, int initialSize, in mockNetworkStats() argument
502 stats = new NetworkStats(elapsedTime, initialSize); in mockNetworkStats()
DWifiPowerStatsProcessorTest.java555 private NetworkStats mockNetworkStats(int elapsedTime, int initialSize, in mockNetworkStats() argument
562 stats = new NetworkStats(elapsedTime, initialSize); in mockNetworkStats()
DMobileRadioPowerCalculatorTest.java1055 private NetworkStats mockNetworkStats(int elapsedTime, int initialSize, in mockNetworkStats() argument
1062 stats = new NetworkStats(elapsedTime, initialSize); in mockNetworkStats()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractorTest.kt363 val initialSize = collectedValue.size in quickAffordance_updateOncePerShadeExpansion() constant
368 assertThat(collectedValue.size).isEqualTo(initialSize + 1) in quickAffordance_updateOncePerShadeExpansion()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...