/external/pdfium/fpdfsdk/src/pdfwindow/ |
D | PWL_Utils.cpp | 144 FX_FLOAT fHeight = crBBox.top - crBBox.bottom; in GetAP_Check() local 196 pts[j].y *= fHeight; in GetAP_Check() 227 FX_FLOAT fHeight = crBBox.top - crBBox.bottom; in GetAP_Circle() local 229 CPDF_Point pt1(crBBox.left,crBBox.bottom + fHeight / 2); in GetAP_Circle() 231 CPDF_Point pt3(crBBox.right,crBBox.bottom + fHeight / 2); in GetAP_Circle() 284 FX_FLOAT fHeight = crBBox.top - crBBox.bottom; in GetAP_Diamond() local 286 CPDF_Point pt1(crBBox.left,crBBox.bottom + fHeight / 2); in GetAP_Diamond() 288 CPDF_Point pt3(crBBox.right,crBBox.bottom + fHeight / 2); in GetAP_Diamond() 350 FX_FLOAT fHeight = crBBox.top - crBBox.bottom; in GetAP_HalfCircle() local 353 CPDF_Point pt2(0,fHeight/2); in GetAP_HalfCircle() [all …]
|
/external/skia/include/core/ |
D | SkSize.h | 15 T fHeight; member 20 s.fHeight = h; in Make() 26 fHeight = h; in set() 32 return 0 == fWidth && 0 == fHeight; in isZero() 37 return fWidth <= 0 || fHeight <= 0; in isEmpty() 42 fWidth = fHeight = 0; in setEmpty() 46 T height() const { return fHeight; } in height() 53 if (fHeight < 0) { in clampNegToZero() 54 fHeight = 0; in clampNegToZero() 59 return fWidth == w && fHeight == h; in equals() [all …]
|
D | SkImageInfo.h | 155 , fHeight(0) in SkImageInfo() 205 int height() const { return fHeight; } in height() 210 bool isEmpty() const { return fWidth <= 0 || fHeight <= 0; } in isEmpty() 219 SkISize dimensions() const { return SkISize::Make(fWidth, fHeight); } in dimensions() 220 SkIRect bounds() const { return SkIRect::MakeWH(fWidth, fHeight); } in bounds() 231 return SkImageInfo::Make(fWidth, fHeight, fColorType, newAlphaType, fProfileType); in makeAlphaType() 235 return SkImageInfo::Make(fWidth, fHeight, newColorType, fAlphaType, fProfileType); in makeColorType() 261 if (0 == fHeight) { in getSafeSize64() 264 return sk_64_mul(fHeight - 1, rowBytes) + fWidth * this->bytesPerPixel(); in getSafeSize64() 284 int fHeight; member [all …]
|
D | SkImage.h | 86 int height() const { return fHeight; } in height() 178 fHeight(height), in SkImage() 187 const int fHeight; variable
|
/external/skia/src/gpu/gl/ |
D | GrGLIRect.h | 24 GrGLsizei fHeight; member 27 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight)); in pushToGLViewport() 31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight)); in pushToGLScissor() 51 fBottom = glRect.fBottom + (glRect.fHeight - topOffset - height); in setRelativeTo() 55 fHeight = height; in setRelativeTo() 60 SkASSERT(fHeight >= 0); in setRelativeTo() 67 fBottom + fHeight >= glRect.fBottom + glRect.fHeight; in contains() 70 void invalidate() {fLeft = fWidth = fBottom = fHeight = -1;} in invalidate()
|
D | GrGLRenderTarget.cpp | 39 fViewport.fHeight = desc.fHeight; in init() 54 fGpuMemorySize = colorValuesPerPixel * fDesc.fWidth * fDesc.fHeight * colorBytes; in init()
|
D | GrGLProgram.h | 68 fRenderTargetSize.fHeight = -1; in invalidate() 83 destVec[2] = -2.f / fRenderTargetSize.fHeight; in getRTAdjustmentVec() 86 destVec[2] = 2.f / fRenderTargetSize.fHeight; in getRTAdjustmentVec()
|
/external/skia/src/images/ |
D | SkPageFlipper.cpp | 14 fHeight = 0; in SkPageFlipper() 24 fHeight = height; in SkPageFlipper() 34 fHeight = height; in resize() 42 fDirty1->setRect(0, 0, fWidth, fHeight); in inval() 47 r.set(0, 0, fWidth, fHeight); in inval() 55 r.setRect(0, 0, fWidth, fHeight); in inval()
|
D | SkImageDecoder_wbmp.cpp | 53 int fHeight; member 68 if (!read_mbf(stream, &fHeight) || (unsigned)fHeight > 0xFFFF) { in init() 71 return fWidth != 0 && fHeight != 0; in init() 112 int height = head.fHeight; in onDecode()
|
/external/skia/src/image/ |
D | SkImage_Gpu.cpp | 115 if (desc.fWidth <= 0 || desc.fHeight <= 0) { in NewFromTexture() 123 return SkNEW_ARGS(SkImage_Gpu, (desc.fWidth, desc.fHeight, at, tex, 0, budgeted)); in NewFromTexture() 131 if (srcDesc.fWidth <= 0 || srcDesc.fHeight <= 0) { in NewFromTextureCopy() 144 dstDesc.fHeight = srcDesc.fHeight; in NewFromTextureCopy() 154 const SkIRect srcR = SkIRect::MakeWH(dstDesc.fWidth, dstDesc.fHeight); in NewFromTextureCopy() 159 return SkNEW_ARGS(SkImage_Gpu, (dstDesc.fWidth, dstDesc.fHeight, at, dst, sampleCount, in NewFromTextureCopy()
|
D | SkSurface.cpp | 124 : fProps(SkSurfacePropsCopyOrDefault(props)), fWidth(width), fHeight(height) in SkSurface() 127 SkASSERT(fHeight > 0); in SkSurface() 132 : fProps(SkSurfacePropsCopyOrDefault(props)), fWidth(info.width()), fHeight(info.height()) in SkSurface() 135 SkASSERT(fHeight > 0); in SkSurface()
|
/external/skia/src/gpu/ |
D | GrTexture.cpp | 37 textureSize = GrCompressedFormatDataSize(fDesc.fConfig, fDesc.fWidth, fDesc.fHeight); in onGpuMemorySize() 39 textureSize = (size_t) fDesc.fWidth * fDesc.fHeight * GrBytesPerPixel(fDesc.fConfig); in onGpuMemorySize() 91 fShiftFixedY = 31 - SkCLZ(fDesc.fHeight); in GrTexture() 103 SkASSERT(desc.fHeight <= SK_MaxU16); in ComputeScratchKey() 109 builder[0] = desc.fWidth | (desc.fHeight << 16); in ComputeScratchKey()
|
D | GrRectanizer.h | 17 GrRectanizer(int width, int height) : fWidth(width), fHeight(height) { in GrRectanizer() 27 int height() const { return fHeight; } in height() 41 int fHeight; variable
|
D | GrStencilAttachment.h | 28 int height() const { return fHeight; } in height() 60 , fHeight(height) in GrStencilAttachment() 70 int fHeight; variable
|
D | GrFontScaler.cpp | 110 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight); in getPackedGlyphBounds() 119 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight); in getPackedGlyphDFBounds() 158 SkASSERT(glyph.fHeight == height); in getPackedGlyphImage() 205 SkASSERT(glyph.fHeight + 2*SK_DistanceFieldPad == height); in getPackedGlyphDFImage() 217 glyph.fWidth, glyph.fHeight, in getPackedGlyphDFImage() 223 glyph.fWidth, glyph.fHeight, in getPackedGlyphDFImage()
|
D | SkGr.cpp | 153 desc->fHeight = bitmap.height(); in generate_bitmap_texture_desc() 205 rtDesc.fHeight = GrNextPow2(rtDesc.fHeight); in stretch_texture_to_next_pot() 245 SkRect rect = SkRect::MakeWH(SkIntToScalar(rtDesc.fWidth), SkIntToScalar(rtDesc.fHeight)); in stretch_texture_to_next_pot() 338 yuvInfo.fSizeInMemory[i] = yuvInfo.fRowBytes[i] * yuvInfo.fSize[i].fHeight; in load_yuv_texture() 368 yuvDesc.fHeight = yuvInfo.fSize[i].fHeight; in load_yuv_texture() 371 (yuvDesc.fHeight != yuvInfo.fSize[0].fHeight); in load_yuv_texture() 376 !yuvTextures[i]->writePixels(0, 0, yuvDesc.fWidth, yuvDesc.fHeight, in load_yuv_texture() 399 SkIntToScalar(yuvInfo.fSize[0].fHeight)); in load_yuv_texture() 746 SkASSERT(h <= desc.fHeight); in GrMakeInfoFromTexture()
|
/external/skia/src/gpu/effects/ |
D | GrYUVtoRGBEffect.cpp | 25 h[0] = SkIntToScalar(sizes[0].fHeight) / SkIntToScalar(yTexture->height()); in Create() 27 h[1] = SkIntToScalar(sizes[1].fHeight) / SkIntToScalar(uTexture->height()); in Create() 29 h[2] = SkIntToScalar(sizes[2].fHeight) / SkIntToScalar(vTexture->height()); in Create() 38 (sizes[1].fHeight != sizes[0].fHeight) || in Create() 40 (sizes[2].fHeight != sizes[0].fHeight)) ? in Create()
|
/external/skia/tests/ |
D | SizeTest.cpp | 31 a.fWidth == b.fWidth && a.fHeight == b.fHeight); in DEF_TEST() 57 a.fWidth == b.fWidth && a.fHeight == b.fHeight); in DEF_TEST()
|
D | ReadWriteAlphaTest.cpp | 41 desc.fHeight = Y_SIZE; in DEF_GPUTEST() 59 texture->writePixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, in DEF_GPUTEST() 68 texture->readPixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, in DEF_GPUTEST() 97 texture->readPixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, in DEF_GPUTEST()
|
D | MipMapTest.cpp | 44 REPORTER_ASSERT(reporter, level.fHeight > 0); in DEF_TEST() 49 REPORTER_ASSERT(reporter, level.fHeight <= prevLevel.fHeight); in DEF_TEST()
|
D | RecordingXfermodeTest.cpp | 104 fHeight = imageInfo.height(); in PictureStrategy() 112 SkRect canvasRect(SkRect::MakeWH(SkIntToScalar(fWidth),SkIntToScalar(fHeight))); in recordAndReplay() 114 SkIntToScalar(fHeight), in recordAndReplay() 129 int fHeight; member in __anon60800ab20111::PictureStrategy
|
D | YUVCacheTest.cpp | 37 yuvInfo.fSize[i].fHeight = 10 * i; in DEF_TEST() 65 REPORTER_ASSERT(reporter, yuvInfo.fSize[i].fHeight == yuvInfoRead.fSize[i].fHeight); in DEF_TEST()
|
/external/skia/gm/ |
D | complexclip2.cpp | 34 fHeight = yF - yA; in ComplexClip2GM() 37 fTotalHeight = kRows * fHeight + SK_Scalar1 * (kRows + 1) * kPadY; in ComplexClip2GM() 151 kPadY * SK_Scalar1 + (fHeight + kPadY * SK_Scalar1)*i); in onDraw() 189 canvas->drawRect(SkRect::MakeWH(fWidth, fHeight), fillPaint); in onDraw() 203 SkScalar fHeight; member in skiagm::ComplexClip2GM
|
/external/skia/src/effects/ |
D | SkMatrixConvolutionImageFilter.cpp | 44 SkASSERT(kernelSize.fWidth >= 1 && kernelSize.fHeight >= 1); in SkMatrixConvolutionImageFilter() 46 SkASSERT(kernelOffset.fY >= 0 && kernelOffset.fY < kernelSize.fHeight); in SkMatrixConvolutionImageFilter() 62 if (gMaxKernelSize / kernelSize.fWidth < kernelSize.fHeight) { in Create() 69 (kernelOffset.fY < 0) || (kernelOffset.fY >= kernelSize.fHeight)) { in Create() 81 kernelSize.fHeight = buffer.readInt(); in CreateProc() 106 buffer.writeInt(fKernelSize.fHeight); in flatten() 107 buffer.writeScalarArray(fKernel, fKernelSize.fWidth * fKernelSize.fHeight); in flatten() 175 for (int cy = 0; cy < fKernelSize.fHeight; cy++) { in filterPixels() 304 bounds.height() - fKernelSize.fHeight + 1); in onFilterImage()
|
/external/skia/experimental/tools/ |
D | PageCachingDocument.cpp | 36 SkScalar fHeight; member 64 page->fHeight = height; in onBeginPage() 82 doc->beginPage(page->fWidth, page->fHeight, &cullRect); in onClose()
|