/external/skia/include/core/ |
D | SkPixmap.h | 41 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap() 63 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap() 119 const SkImageInfo& info() const { return fInfo; } in info() 144 int width() const { return fInfo.width(); } in width() 150 int height() const { return fInfo.height(); } in height() 159 SkColorType colorType() const { return fInfo.colorType(); } in colorType() 166 SkAlphaType alphaType() const { return fInfo.alphaType(); } in alphaType() 174 SkColorSpace* colorSpace() const { return fInfo.colorSpace(); } in colorSpace() 182 bool isOpaque() const { return fInfo.isOpaque(); } in isOpaque() 202 int shiftPerPixel() const { return fInfo.shiftPerPixel(); } in shiftPerPixel() [all …]
|
/external/skqp/include/core/ |
D | SkPixmap.h | 41 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap() 63 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap() 127 const SkImageInfo& info() const { return fInfo; } in info() 152 int width() const { return fInfo.width(); } in width() 158 int height() const { return fInfo.height(); } in height() 166 SkColorType colorType() const { return fInfo.colorType(); } in colorType() 173 SkAlphaType alphaType() const { return fInfo.alphaType(); } in alphaType() 181 SkColorSpace* colorSpace() const { return fInfo.colorSpace(); } in colorSpace() 189 bool isOpaque() const { return fInfo.isOpaque(); } in isOpaque() 209 int shiftPerPixel() const { return fInfo.shiftPerPixel(); } in shiftPerPixel() [all …]
|
/external/skqp/src/effects/ |
D | SkLayerDrawLooper.cpp | 153 ApplyInfo(paint, fCurrRec->fPaint, fCurrRec->fInfo); in next() 156 if (fCurrRec->fInfo.fPostTranslate) { in next() 157 postTranslate(canvas, fCurrRec->fInfo.fOffset.fX, in next() 158 fCurrRec->fInfo.fOffset.fY); in next() 160 canvas->translate(fCurrRec->fInfo.fOffset.fX, in next() 161 fCurrRec->fInfo.fOffset.fY); in next() 175 if ((rec->fInfo.fPaintBits & ~kMaskFilter_Bit)) { in asABlurShadow() 178 if (SkBlendMode::kSrc != (SkBlendMode)rec->fInfo.fColorMode) { in asABlurShadow() 192 if (rec->fInfo.fPaintBits) { in asABlurShadow() 195 if (SkBlendMode::kDst != (SkBlendMode)rec->fInfo.fColorMode) { in asABlurShadow() [all …]
|
/external/skia/src/effects/ |
D | SkLayerDrawLooper.cpp | 153 ApplyInfo(paint, fCurrRec->fPaint, fCurrRec->fInfo); in next() 156 if (fCurrRec->fInfo.fPostTranslate) { in next() 157 postTranslate(canvas, fCurrRec->fInfo.fOffset.fX, in next() 158 fCurrRec->fInfo.fOffset.fY); in next() 160 canvas->translate(fCurrRec->fInfo.fOffset.fX, in next() 161 fCurrRec->fInfo.fOffset.fY); in next() 175 if ((rec->fInfo.fPaintBits & ~kMaskFilter_Bit)) { in asABlurShadow() 178 if (SkBlendMode::kSrc != (SkBlendMode)rec->fInfo.fColorMode) { in asABlurShadow() 192 if (rec->fInfo.fPaintBits) { in asABlurShadow() 195 if (SkBlendMode::kDst != (SkBlendMode)rec->fInfo.fColorMode) { in asABlurShadow() [all …]
|
/external/skqp/src/gpu/gl/ |
D | GrGLTexture.cpp | 20 if (idDesc.fInfo.fTarget == GR_GL_TEXTURE_EXTERNAL) { in sampler_type() 24 } else if (idDesc.fInfo.fTarget == GR_GL_TEXTURE_RECTANGLE) { in sampler_type() 31 SkASSERT(idDesc.fInfo.fTarget == GR_GL_TEXTURE_2D); in sampler_type() 44 if (idDesc.fInfo.fTarget == GR_GL_TEXTURE_RECTANGLE || in highest_filter_mode() 45 idDesc.fInfo.fTarget == GR_GL_TEXTURE_EXTERNAL) { in highest_filter_mode() 79 SkASSERT(0 != idDesc.fInfo.fID); in init() 80 SkASSERT(0 != idDesc.fInfo.fFormat); in init() 83 fInfo = idDesc.fInfo; in init() 88 if (fInfo.fID) { in onRelease() 90 GL_CALL(DeleteTextures(1, &fInfo.fID)); in onRelease() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLTexture.cpp | 20 if (idDesc.fInfo.fTarget == GR_GL_TEXTURE_EXTERNAL) { in sampler_type() 23 } else if (idDesc.fInfo.fTarget == GR_GL_TEXTURE_RECTANGLE) { in sampler_type() 27 SkASSERT(idDesc.fInfo.fTarget == GR_GL_TEXTURE_2D); in sampler_type() 35 if (idDesc.fInfo.fTarget == GR_GL_TEXTURE_RECTANGLE || in highest_filter_mode() 36 idDesc.fInfo.fTarget == GR_GL_TEXTURE_EXTERNAL) { in highest_filter_mode() 70 SkASSERT(0 != idDesc.fInfo.fID); in init() 71 SkASSERT(0 != idDesc.fInfo.fFormat); in init() 74 fInfo = idDesc.fInfo; in init() 79 if (fInfo.fID) { in onRelease() 81 GL_CALL(DeleteTextures(1, &fInfo.fID)); in onRelease() [all …]
|
/external/doclava/src/com/google/doclava/ |
D | FieldInfo.java | 474 public boolean isConsistent(FieldInfo fInfo) { in isConsistent() argument 476 if (!mType.equals(fInfo.mType)) { in isConsistent() 477 Errors.error(Errors.CHANGED_TYPE, fInfo.position(), "Field " + fInfo.qualifiedName() in isConsistent() 478 + " has changed type from " + mType + " to " + fInfo.mType); in isConsistent() 480 } else if (!this.valueEquals(fInfo)) { in isConsistent() 481 Errors.error(Errors.CHANGED_VALUE, fInfo.position(), "Field " + fInfo.qualifiedName() in isConsistent() 482 + " has changed value from " + mConstantValue + " to " + fInfo.mConstantValue); in isConsistent() 486 if (!scope().equals(fInfo.scope())) { in isConsistent() 487 Errors.error(Errors.CHANGED_SCOPE, fInfo.position(), "Method " + fInfo.qualifiedName() in isConsistent() 488 + " changed scope from " + this.scope() + " to " + fInfo.scope()); in isConsistent() [all …]
|
/external/mesa3d/src/gallium/targets/haiku-softpipe/ |
D | SoftwareRenderer.cpp | 49 fInfo(NULL), in SoftwareRenderer() 115 if (fDirectModeEnabled && fInfo != NULL) { in LockGL() 116 fWidth = fInfo->window_bounds.right - fInfo->window_bounds.left; in LockGL() 117 fHeight = fInfo->window_bounds.bottom - fInfo->window_bounds.top; in LockGL() 157 if (!fDirectModeEnabled || fInfo == NULL) { in SwapBuffers() 168 if (fInfo->window_bounds.bottom - fInfo->window_bounds.top in SwapBuffers() 170 || fInfo->window_bounds.right - fInfo->window_bounds.left in SwapBuffers() 179 for (uint32 i = 0; i < fInfo->clip_list_count; i++) { in SwapBuffers() 180 clipping_rect *clip = &fInfo->clip_list[i]; in SwapBuffers() 185 uint8 *p = (uint8 *)fInfo->bits + clip->top in SwapBuffers() [all …]
|
/external/skqp/src/core/ |
D | SkImageInfo.cpp | 168 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 171 if (0 >= fInfo.width() || 0 >= fInfo.height()) { in trim() 177 SkIRect srcR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() 190 fPixels = ((char*)fPixels - y * fRowBytes - x * fInfo.bytesPerPixel()); in trim() 192 fInfo = fInfo.makeWH(srcR.width(), srcR.height()); in trim() 204 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 207 if (0 >= fInfo.width() || 0 >= fInfo.height()) { in trim() 213 SkIRect dstR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() 226 fPixels = ((const char*)fPixels - y * fRowBytes - x * fInfo.bytesPerPixel()); in trim() 228 fInfo = fInfo.makeWH(dstR.width(), dstR.height()); in trim()
|
/external/skia/src/core/ |
D | SkImageInfo.cpp | 208 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 211 if (0 >= fInfo.width() || 0 >= fInfo.height()) { in trim() 217 SkIRect srcR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() 230 fPixels = ((char*)fPixels - y * fRowBytes - x * fInfo.bytesPerPixel()); in trim() 232 fInfo = fInfo.makeWH(srcR.width(), srcR.height()); in trim() 244 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 247 if (0 >= fInfo.width() || 0 >= fInfo.height()) { in trim() 253 SkIRect dstR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() 266 fPixels = ((const char*)fPixels - y * fRowBytes - x * fInfo.bytesPerPixel()); in trim() 268 fInfo = fInfo.makeWH(dstR.width(), dstR.height()); in trim()
|
/external/skia/src/image/ |
D | SkImage_Lazy.cpp | 62 SkImageInfo fInfo; member 71 return fInfo; in onImageInfo() 74 return fInfo.alphaType(); in onAlphaType() 151 const SkImageInfo fInfo; member in SkImage_Lazy 203 fInfo = info.makeWH(subset->width(), subset->height()); in Validator() 206 fInfo = fInfo.makeColorSpace(colorSpace); in Validator() 238 : INHERITED(validator->fInfo.width(), validator->fInfo.height(), validator->fUniqueID) in SkImage_Lazy() 240 , fInfo(validator->fInfo) in SkImage_Lazy() 293 SkColorSpace* cs = fInfo.colorSpace(); in chooseCacheFormat() 299 switch (fInfo.colorType()) { in chooseCacheFormat() [all …]
|
/external/skqp/src/image/ |
D | SkImage_Lazy.cpp | 62 SkImageInfo fInfo; member 71 return fInfo; in onImageInfo() 74 return fInfo.alphaType(); in onAlphaType() 151 const SkImageInfo fInfo; member in SkImage_Lazy 203 fInfo = info.makeWH(subset->width(), subset->height()); in Validator() 206 fInfo = fInfo.makeColorSpace(colorSpace); in Validator() 238 : INHERITED(validator->fInfo.width(), validator->fInfo.height(), validator->fUniqueID) in SkImage_Lazy() 240 , fInfo(validator->fInfo) in SkImage_Lazy() 294 SkColorSpace* cs = fInfo.colorSpace(); in chooseCacheFormat() 300 switch (fInfo.colorType()) { in chooseCacheFormat() [all …]
|
/external/skqp/src/gpu/vk/ |
D | GrVkImage.cpp | 37 if (releaseFamilyQueue && fInfo.fCurrentQueueFamily == fInfo.fInitialQueueFamily) { in setImageLayout() 55 VkImageAspectFlags aspectFlags = vk_format_to_aspect_flags(fInfo.fFormat); in setImageLayout() 59 if (VK_QUEUE_FAMILY_IGNORED != fInfo.fCurrentQueueFamily) { in setImageLayout() 60 srcQueueFamilyIndex = fInfo.fInitialQueueFamily; in setImageLayout() 62 fInfo.fCurrentQueueFamily = VK_QUEUE_FAMILY_IGNORED; in setImageLayout() 65 dstQueueFamilyIndex = fInfo.fInitialQueueFamily; in setImageLayout() 66 fInfo.fCurrentQueueFamily = fInfo.fInitialQueueFamily; in setImageLayout() 78 fInfo.fImage, // image in setImageLayout() 79 { aspectFlags, 0, fInfo.fLevelCount, 0, 1 } // subresourceRange in setImageLayout() 84 fInfo.fImageLayout = newLayout; in setImageLayout() [all …]
|
D | GrVkImage.h | 27 : fInfo(info) in GrVkImage() 37 VkImage image() const { return fInfo.fImage; } in image() 38 const GrVkAlloc& alloc() const { return fInfo.fAlloc; } in alloc() 39 VkFormat imageFormat() const { return fInfo.fFormat; } in imageFormat() 40 uint32_t mipLevels() const { return fInfo.fLevelCount; } in mipLevels() 43 return SkToBool(VK_IMAGE_TILING_LINEAR == fInfo.fImageTiling); in isLinearTiled() 47 VkImageLayout currentLayout() const { return fInfo.fImageLayout; } in currentLayout() 95 GrVkImageInfo fInfo; variable
|
/external/dng_sdk/source/ |
D | dng_preview.cpp | 70 preview.fInfo.fApplicationName, in dng_preview_tag_set() 74 preview.fInfo.fApplicationVersion, in dng_preview_tag_set() 78 preview.fInfo.fSettingsName, in dng_preview_tag_set() 81 , fSettingsDigest (preview.fInfo.fSettingsDigest) in dng_preview_tag_set() 88 preview.fInfo.fColorSpace) in dng_preview_tag_set() 91 preview.fInfo.fDateTime, in dng_preview_tag_set() 95 preview.fInfo.fRawToPreviewGain) in dng_preview_tag_set() 98 preview.fInfo.fCacheVersion) in dng_preview_tag_set() 102 if (preview.fInfo.fApplicationName.NotEmpty ()) in dng_preview_tag_set() 109 if (preview.fInfo.fApplicationVersion.NotEmpty ()) in dng_preview_tag_set() [all …]
|
/external/skia/bench/ |
D | AndroidCodecBench.cpp | 35 fInfo = codec->getInfo().makeWH(scaledSize.width(), scaledSize.height()) in onDelayedSetup() 37 if (kUnpremul_SkAlphaType == fInfo.alphaType()) { in onDelayedSetup() 38 fInfo = fInfo.makeAlphaType(kPremul_SkAlphaType); in onDelayedSetup() 41 fPixelStorage.reset(fInfo.computeMinByteSize()); in onDelayedSetup() 53 codec->getAndroidPixels(fInfo, fPixelStorage.get(), fInfo.minRowBytes(), &options); in onDraw()
|
/external/skqp/bench/ |
D | AndroidCodecBench.cpp | 35 fInfo = codec->getInfo().makeWH(scaledSize.width(), scaledSize.height()) in onDelayedSetup() 37 if (kUnpremul_SkAlphaType == fInfo.alphaType()) { in onDelayedSetup() 38 fInfo = fInfo.makeAlphaType(kPremul_SkAlphaType); in onDelayedSetup() 41 fPixelStorage.reset(fInfo.computeMinByteSize()); in onDelayedSetup() 53 codec->getAndroidPixels(fInfo, fPixelStorage.get(), fInfo.minRowBytes(), &options); in onDraw()
|
/external/icu/icu4c/source/i18n/ |
D | dtitvfmt.cpp | 126 : fInfo(NULL), in DateIntervalFormat() 139 fInfo(NULL), in DateIntervalFormat() 155 delete fInfo; in operator =() 179 if ( itvfmt.fInfo ) { in operator =() 180 fInfo = itvfmt.fInfo->clone(); in operator =() 182 fInfo = NULL; in operator =() 199 delete fInfo; in ~DateIntervalFormat() 221 if ((fInfo != fmt->fInfo) && (fInfo == NULL || fmt->fInfo == NULL)) {return FALSE;} in operator ==() 222 if (fInfo && fmt->fInfo && (*fInfo != *fmt->fInfo )) {return FALSE;} in operator ==() 277 if (fFromCalendar == NULL || fToCalendar == NULL || fDateFormat == NULL || fInfo == NULL) { in format() [all …]
|
/external/skia/src/pdf/ |
D | SkPDFGradientShader.h | 27 SkShader::GradientInfo fInfo; member 55 SkASSERT(u.fInfo.fColors == u.fColors.get()); 56 SkASSERT(u.fInfo.fColorOffsets == u.fStops.get()); 57 SkASSERT(v.fInfo.fColors == v.fColors.get()); 58 SkASSERT(v.fInfo.fColorOffsets == v.fStops.get()); 60 && u.fInfo == v.fInfo
|
D | SkPDFGradientShader.cpp | 32 hash(k.fInfo), in hash() 607 const SkShader::GradientInfo& info = state.fInfo; in make_function_shader() 819 for (int i = 0; i < key.fInfo.fColorCount; i++) { in gradient_has_alpha() 820 if ((SkAlpha)SkColorGetA(key.fInfo.fColors[i]) != SK_AlphaOPAQUE) { in gradient_has_alpha() 831 k.fInfo, // change pointers later. in clone_key() 832 std::unique_ptr<SkColor[]>(new SkColor[k.fInfo.fColorCount]), in clone_key() 833 std::unique_ptr<SkScalar[]>(new SkScalar[k.fInfo.fColorCount]), in clone_key() 837 clone.fInfo.fColors = clone.fColors.get(); in clone_key() 838 clone.fInfo.fColorOffsets = clone.fStops.get(); in clone_key() 839 for (int i = 0; i < clone.fInfo.fColorCount; i++) { in clone_key() [all …]
|
/external/skqp/src/pdf/ |
D | SkPDFGradientShader.h | 27 SkShader::GradientInfo fInfo; member 55 SkASSERT(u.fInfo.fColors == u.fColors.get()); 56 SkASSERT(u.fInfo.fColorOffsets == u.fStops.get()); 57 SkASSERT(v.fInfo.fColors == v.fColors.get()); 58 SkASSERT(v.fInfo.fColorOffsets == v.fStops.get()); 60 && u.fInfo == v.fInfo
|
D | SkPDFGradientShader.cpp | 32 hash(k.fInfo), in hash() 607 const SkShader::GradientInfo& info = state.fInfo; in make_function_shader() 819 for (int i = 0; i < key.fInfo.fColorCount; i++) { in gradient_has_alpha() 820 if ((SkAlpha)SkColorGetA(key.fInfo.fColors[i]) != SK_AlphaOPAQUE) { in gradient_has_alpha() 831 k.fInfo, // change pointers later. in clone_key() 832 std::unique_ptr<SkColor[]>(new SkColor[k.fInfo.fColorCount]), in clone_key() 833 std::unique_ptr<SkScalar[]>(new SkScalar[k.fInfo.fColorCount]), in clone_key() 837 clone.fInfo.fColors = clone.fColors.get(); in clone_key() 838 clone.fInfo.fColorOffsets = clone.fStops.get(); in clone_key() 839 for (int i = 0; i < clone.fInfo.fColorCount; i++) { in clone_key() [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkImage.h | 27 : fInfo(info) in GrVkImage() 37 VkImage image() const { return fInfo.fImage; } in image() 38 const GrVkAlloc& alloc() const { return fInfo.fAlloc; } in alloc() 39 VkFormat imageFormat() const { return fInfo.fFormat; } in imageFormat() 40 uint32_t mipLevels() const { return fInfo.fLevelCount; } in mipLevels() 43 return SkToBool(VK_IMAGE_TILING_LINEAR == fInfo.fImageTiling); in isLinearTiled() 47 VkImageLayout currentLayout() const { return fInfo.fImageLayout; } in currentLayout() 94 GrVkImageInfo fInfo; variable
|
/external/skia/src/codec/ |
D | SkAndroidCodec.cpp | 73 : fInfo(adjust_info(codec, orientationBehavior)) in SkAndroidCodec() 226 if (!desiredSize || *desiredSize == fInfo.dimensions()) { in computeSampleSize() 230 if (smaller_than(fInfo.dimensions(), *desiredSize)) { in computeSampleSize() 231 *desiredSize = fInfo.dimensions(); in computeSampleSize() 245 int sampleX = fInfo.width() / desiredSize->width(); in computeSampleSize() 246 int sampleY = fInfo.height() / desiredSize->height(); in computeSampleSize() 253 if (computedSize == fInfo.dimensions() || sampleSize == 1) { in computeSampleSize() 296 *desiredSize = fInfo.dimensions(); in computeSampleSize() 307 return fInfo.dimensions(); in getSampledDimensions() 314 if (!desiredSubset || !is_valid_subset(*desiredSubset, fInfo.dimensions())) { in getSupportedSubset() [all …]
|
/external/skqp/src/codec/ |
D | SkAndroidCodec.cpp | 73 : fInfo(adjust_info(codec, orientationBehavior)) in SkAndroidCodec() 226 if (!desiredSize || *desiredSize == fInfo.dimensions()) { in computeSampleSize() 230 if (smaller_than(fInfo.dimensions(), *desiredSize)) { in computeSampleSize() 231 *desiredSize = fInfo.dimensions(); in computeSampleSize() 245 int sampleX = fInfo.width() / desiredSize->width(); in computeSampleSize() 246 int sampleY = fInfo.height() / desiredSize->height(); in computeSampleSize() 253 if (computedSize == fInfo.dimensions() || sampleSize == 1) { in computeSampleSize() 296 *desiredSize = fInfo.dimensions(); in computeSampleSize() 307 return fInfo.dimensions(); in getSampledDimensions() 314 if (!desiredSubset || !is_valid_subset(*desiredSubset, fInfo.dimensions())) { in getSupportedSubset() [all …]
|