/frameworks/base/core/java/com/android/internal/accessibility/common/ |
D | ShortcutConstants.java | 52 UserShortcutType.HARDWARE, 58 int HARDWARE = 2; // 1 << 1 field
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 412 if (getConfig() == Config.HARDWARE) { in checkHardware() 543 HARDWARE (7); enumConstant 549 null, ALPHA_8, null, RGB_565, ARGB_4444, ARGB_8888, RGBA_F16, HARDWARE 651 if (getConfig() == Config.HARDWARE) { in noteHardwareBitmapSlowCall() 675 if (config == Config.HARDWARE && isMutable) { in copy() 873 boolean isHardware = source.getConfig() == Config.HARDWARE; in createBitmap() 956 return bitmap.copy(Config.HARDWARE, false); in createBitmap() 1097 if (config == Config.HARDWARE) { in createBitmap() 1250 return createBitmap(source, source.getWidth(), source.getHeight(), Config.HARDWARE); in createBitmap() 1279 if (source.requiresHardwareAcceleration() && config != Config.HARDWARE) { in createBitmap() [all …]
|
D | BitmapFactory.java | 441 if (opts.inBitmap.getConfig() == Bitmap.Config.HARDWARE) { in validate() 451 if (opts.inMutable && opts.inPreferredConfig == Bitmap.Config.HARDWARE) { in validate()
|
D | BaseCanvas.java | 705 if (!isHardwareAccelerated() && bitmap.getConfig() == Bitmap.Config.HARDWARE) { in throwIfHwBitmapInSwMode()
|
/frameworks/base/core/java/com/android/internal/accessibility/util/ |
D | ShortcutUtils.java | 156 case UserShortcutType.HARDWARE: in convertToKey() 177 return UserShortcutType.HARDWARE; in convertToUserType()
|
/frameworks/base/services/core/java/com/android/server/lights/ |
D | LogicalLight.java | 40 public static final int LIGHT_FLASH_HARDWARE = Flash.HARDWARE;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotNotificationSmartActionsTest.java | 84 when(bitmap.getConfig()).thenReturn(Bitmap.Config.HARDWARE); in testExceptionHandlingInGetSmartActionsFuture() 145 when(bitmap.getConfig()).thenReturn(Bitmap.Config.HARDWARE); in testScreenshotNotificationSmartActionsProviderInvokedOnce() 159 when(bitmap.getConfig()).thenReturn(Bitmap.Config.HARDWARE); in testSupportedBitmapConfiguration()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | BitmapUtil.java | 49 if (bitmap.getConfig() != Bitmap.Config.HARDWARE) { in hardwareBitmapToBundle()
|
/frameworks/base/core/java/com/android/internal/accessibility/dialog/ |
D | InvisibleToggleAccessibilityServiceTarget.java | 62 return isComponentIdExistingInSettings(getContext(), UserShortcutType.HARDWARE, in isComponentIdExistingInOtherShortcut()
|
D | VolumeShortcutToggleAccessibilityServiceTarget.java | 70 optOutValueFromSettings(getContext(), UserShortcutType.HARDWARE, getId()); in onCheckedFromAccessibilityButton()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | BitmapRenderer.java | 60 if (Build.VERSION.SDK_INT >= VERSION_CODES.O && source.getConfig() == Config.HARDWARE) { in createBitmap()
|
D | BitmapInfo.java | 119 decodeOptions.inPreferredConfig = Bitmap.Config.HARDWARE; in fromByteArray()
|
/frameworks/base/core/java/android/service/quickaccesswallet/ |
D | GetWalletCardsCallbackImpl.java | 140 && cardImage.getBitmap().getConfig() != Bitmap.Config.HARDWARE) { in isValidResponse()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_lights_LightsService.cpp | 54 flash != static_cast<jint>(Flash::HARDWARE)) { in validate()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotLoader.java | 171 final Bitmap hwBitmap = bitmap.copy(Config.HARDWARE, false); in loadTask()
|
/frameworks/base/core/java/android/app/ |
D | SharedElementCallback.java | 185 if (bitmap.getConfig() != Bitmap.Config.HARDWARE) { in onCaptureSharedElementSnapshot()
|
D | ActivityOptions.java | 1845 final Bitmap hwBitmap = mThumbnail.copy(Config.HARDWARE, false /* isMutable */); in toBundle()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PictureCaptureDemo.java | 78 iv2.setImageBitmap(Bitmap.createBitmap(picture, 100, 100, Bitmap.Config.HARDWARE)); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | KeyButtonDrawable.java | 343 bitmap = bitmap.copy(Bitmap.Config.HARDWARE, false); in regenerateBitmapIconCache() 380 bitmap = bitmap.copy(Bitmap.Config.HARDWARE, false); in regenerateBitmapShadowCache()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | RotationAnimationUtilsTest.java | 150 Bitmap hwBitmap = swBitmap.copy(Bitmap.Config.HARDWARE, false); in swBitmapToHardwareBuffer()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotSmartActions.java | 79 if (image.getConfig() != Bitmap.Config.HARDWARE) { in getSmartActionsFuture()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockscreenWallpaper.java | 154 options.inPreferredConfig = Bitmap.Config.HARDWARE; in loadBitmap()
|
/frameworks/base/core/tests/coretests/src/android/transition/ |
D | FadeTransitionTest.java | 150 assertEquals(Bitmap.Config.HARDWARE, bitmap.getConfig()); in testSnapshotView()
|
/frameworks/base/cmds/incident_helper/src/parsers/ |
D | SystemPropertiesParser.cpp | 145 ro.addSubMessage(SystemPropertiesProto::Ro::HARDWARE, &hardware); in Parse()
|
/frameworks/base/core/java/android/os/ |
D | Build.java | 117 public static final String HARDWARE = getString("ro.hardware"); field in Build
|