Home
last modified time | relevance | path

Searched refs:HARDWARE (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/accessibility/common/
DShortcutConstants.java52 UserShortcutType.HARDWARE,
58 int HARDWARE = 2; // 1 << 1 field
/frameworks/base/graphics/java/android/graphics/
DBitmap.java412 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 …]
DBitmapFactory.java441 if (opts.inBitmap.getConfig() == Bitmap.Config.HARDWARE) { in validate()
451 if (opts.inMutable && opts.inPreferredConfig == Bitmap.Config.HARDWARE) { in validate()
DBaseCanvas.java705 if (!isHardwareAccelerated() && bitmap.getConfig() == Bitmap.Config.HARDWARE) { in throwIfHwBitmapInSwMode()
/frameworks/base/core/java/com/android/internal/accessibility/util/
DShortcutUtils.java156 case UserShortcutType.HARDWARE: in convertToKey()
177 return UserShortcutType.HARDWARE; in convertToUserType()
/frameworks/base/services/core/java/com/android/server/lights/
DLogicalLight.java40 public static final int LIGHT_FLASH_HARDWARE = Flash.HARDWARE;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScreenshotNotificationSmartActionsTest.java84 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/
DBitmapUtil.java49 if (bitmap.getConfig() != Bitmap.Config.HARDWARE) { in hardwareBitmapToBundle()
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DInvisibleToggleAccessibilityServiceTarget.java62 return isComponentIdExistingInSettings(getContext(), UserShortcutType.HARDWARE, in isComponentIdExistingInOtherShortcut()
DVolumeShortcutToggleAccessibilityServiceTarget.java70 optOutValueFromSettings(getContext(), UserShortcutType.HARDWARE, getId()); in onCheckedFromAccessibilityButton()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DBitmapRenderer.java60 if (Build.VERSION.SDK_INT >= VERSION_CODES.O && source.getConfig() == Config.HARDWARE) { in createBitmap()
DBitmapInfo.java119 decodeOptions.inPreferredConfig = Bitmap.Config.HARDWARE; in fromByteArray()
/frameworks/base/core/java/android/service/quickaccesswallet/
DGetWalletCardsCallbackImpl.java140 && cardImage.getBitmap().getConfig() != Bitmap.Config.HARDWARE) { in isValidResponse()
/frameworks/base/services/core/jni/
Dcom_android_server_lights_LightsService.cpp54 flash != static_cast<jint>(Flash::HARDWARE)) { in validate()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotLoader.java171 final Bitmap hwBitmap = bitmap.copy(Config.HARDWARE, false); in loadTask()
/frameworks/base/core/java/android/app/
DSharedElementCallback.java185 if (bitmap.getConfig() != Bitmap.Config.HARDWARE) { in onCaptureSharedElementSnapshot()
DActivityOptions.java1845 final Bitmap hwBitmap = mThumbnail.copy(Config.HARDWARE, false /* isMutable */); in toBundle()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DPictureCaptureDemo.java78 iv2.setImageBitmap(Bitmap.createBitmap(picture, 100, 100, Bitmap.Config.HARDWARE)); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonDrawable.java343 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/
DRotationAnimationUtilsTest.java150 Bitmap hwBitmap = swBitmap.copy(Bitmap.Config.HARDWARE, false); in swBitmapToHardwareBuffer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotSmartActions.java79 if (image.getConfig() != Bitmap.Config.HARDWARE) { in getSmartActionsFuture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenWallpaper.java154 options.inPreferredConfig = Bitmap.Config.HARDWARE; in loadBitmap()
/frameworks/base/core/tests/coretests/src/android/transition/
DFadeTransitionTest.java150 assertEquals(Bitmap.Config.HARDWARE, bitmap.getConfig()); in testSnapshotView()
/frameworks/base/cmds/incident_helper/src/parsers/
DSystemPropertiesParser.cpp145 ro.addSubMessage(SystemPropertiesProto::Ro::HARDWARE, &hardware); in Parse()
/frameworks/base/core/java/android/os/
DBuild.java117 public static final String HARDWARE = getString("ro.hardware"); field in Build

12