Home
last modified time | relevance | path

Searched refs:isHardware (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DBitmapRegionDecoder.cpp136 bool isHardware = false; in nativeDecodeRegion() local
143 isHardware = GraphicsJNI::isHardwareConfig(env, jconfig); in nativeDecodeRegion()
171 if (decodeColorType == kRGBA_F16_SkColorType && isHardware && in nativeDecodeRegion()
211 if (isHardware) { in nativeDecodeRegion()
233 if (isHardware) { in nativeDecodeRegion()
DBitmapFactory.cpp191 bool isHardware = false; in doDecode() local
220 isHardware = GraphicsJNI::isHardwareConfig(env, jconfig); in doDecode()
235 if (isMutable && isHardware) { in doDecode()
285 if (decodeColorType == kRGBA_F16_SkColorType && isHardware && in doDecode()
305 if (isHardware) { in doDecode()
352 } else if (willScale || isHardware) { in doDecode()
504 if (isHardware) { in doDecode()
DBitmap.cpp56 mIsHardware = mBitmap->isHardware(); in freePixels()
128 bool isHardware() { in isHardware() function in android::BitmapWrapper
130 return mBitmap->isHardware(); in isHardware()
603 if (bitmap->isHardware()) { in Bitmap_config()
1043 if (bitmap0->isHardware() != bitmap1->isHardware()) { in Bitmap_sameAs()
1100 LOG_ALWAYS_FATAL_IF(!bitmapHandle->isHardware(), in Bitmap_copyPreserveInternalConfig()
1132 LOG_ALWAYS_FATAL_IF(!bitmapHandle->isHardware(), in Bitmap_createGraphicBufferHandle()
DImageDecoder.cpp265 const bool isHardware = !requireMutable in ImageDecoder_nDecodeBitmap() local
270 if (colorType == kRGBA_F16_SkColorType && isHardware && in ImageDecoder_nDecodeBitmap()
468 if (isHardware) { in ImageDecoder_nDecodeBitmap()
/frameworks/base/libs/hwui/hwui/
DBitmap.h104 bool isHardware() const { return mPixelStorageType == PixelStorageType::Hardware; } in isHardware() function
124 if (!isHardware() && mPaletteGenerationId != getGenerationID()) { in palette()
DBitmap.cpp307 if (isHardware()) { in getSkBitmap()
322 if (isHardware()) { in graphicBuffer()
331 SkASSERT(!isHardware()); in makeImage()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java573 shouldBind = !serviceState.sessionTokens.isEmpty() || serviceState.isHardware; in updateServiceConnectionLocked()
739 if (!serviceState.isHardware) { in setMainLocked()
853 && (!serviceState.sessionTokens.isEmpty() || serviceState.isHardware)) { in setStateLocked()
2199 private final boolean isHardware; field in TvInputManagerService.ServiceState
2210 this.isHardware = hasHardwarePermission(mContext.getPackageManager(), component); in ServiceState()
2288 if (serviceState.isHardware && serviceState.callback == null) { in onServiceConnected()
2318 if (serviceState.isHardware) { in onServiceConnected()
2867 if (!serviceState.isHardware || serviceState.service == null) continue; in onHardwareDeviceAdded()
2883 if (!serviceState.isHardware || serviceState.service == null) continue; in onHardwareDeviceRemoved()
2899 if (!serviceState.isHardware || serviceState.service == null) continue; in onHdmiDeviceAdded()
[all …]
/frameworks/base/libs/hwui/
DReadback.cpp76 LOG_ALWAYS_FATAL_IF(!hwBitmap->isHardware()); in copyHWBitmapInto()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java891 boolean isHardware = source.getConfig() == Config.HARDWARE; in createBitmap()
892 if (isHardware) { in createBitmap()
973 if (isHardware) { in createBitmap()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp205 if (image.get() && !bitmap->isHardware()) { in prepareToDraw()