Home
last modified time | relevance | path

Searched refs:REDUCED_SCALE (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotPersister.java53 static final float REDUCED_SCALE = ActivityManager.isLowRamDeviceStatic() ? 0.6f : 0.5f; field in TaskSnapshotPersister
350 (int) (bitmap.getWidth() * REDUCED_SCALE), in writeBuffer()
351 (int) (bitmap.getHeight() * REDUCED_SCALE), true /* filter */); in writeBuffer()
DTaskSnapshotLoader.java92 reducedResolution, reducedResolution ? REDUCED_SCALE : 1f, in loadTask()
DTaskSnapshotController.java20 import static com.android.server.wm.TaskSnapshotPersister.REDUCED_SCALE;
264 final float scaleFraction = isLowRamDevice ? REDUCED_SCALE : 1f; in snapshotTask()