Searched refs:fHeight (Results 1 - 25 of 234) sorted by relevance

12345678910

/external/skia/include/core/
H A DSkSize.h15 T fHeight; member in struct:SkTSize
20 s.fHeight = h;
30 fHeight = h;
33 /** Returns true iff fWidth == 0 && fHeight == 0
36 return 0 == fWidth && 0 == fHeight;
41 return fWidth <= 0 || fHeight <= 0;
46 fWidth = fHeight = 0;
50 T height() const { return fHeight; }
57 if (fHeight < 0) {
58 fHeight
[all...]
H A DSkImageInfo.h186 , fHeight(0)
233 int height() const { return fHeight; }
239 bool isEmpty() const { return fWidth <= 0 || fHeight <= 0; }
245 SkISize dimensions() const { return SkISize::Make(fWidth, fHeight); }
246 SkIRect bounds() const { return SkIRect::MakeWH(fWidth, fHeight); }
261 return Make(fWidth, fHeight, fColorType, newAlphaType, fColorSpace);
265 return Make(fWidth, fHeight, newColorType, fAlphaType, fColorSpace);
269 return Make(fWidth, fHeight, fColorType, fAlphaType, std::move(cs));
290 SkASSERT((unsigned)y < (unsigned)fHeight);
295 return fWidth == other.fWidth && fHeight
339 int fHeight; member in struct:SkImageInfo
[all...]
/external/skia/src/gpu/
H A DGrRectanizer.h17 GrRectanizer(int width, int height) : fWidth(width), fHeight(height) {
27 int height() const { return fHeight; }
41 int fHeight; member in class:GrRectanizer
H A DGrStencilAttachment.h27 int height() const { return fHeight; }
40 , fHeight(height)
48 int fHeight; member in class:GrStencilAttachment
H A DGrTextureProducer.h32 int fHeight; member in struct:GrTextureProducer::CopyParams
71 int height() const { return fHeight; }
80 , fHeight(height)
93 builder[2] = copyParams.fHeight;
145 const int fHeight; member in class:GrTextureProducer
H A DGrTextureToYUVPlanes.cpp79 sizes[0].fHeight,
89 sizes[0].fHeight,
100 sizes[1].fHeight,
110 sizes[1].fHeight,
116 sizes[2].fHeight,
128 sizes[0].fWidth, sizes[0].fHeight,
135 sizes[0].fWidth, sizes[0].fHeight,
141 sizes[1].fWidth, sizes[1].fHeight,
148 sizes[1].fWidth, sizes[1].fHeight,
153 sizes[2].fWidth, sizes[2].fHeight,
[all...]
H A DGrYUVProvider.cpp48 yuvInfo->fSizeInfo.fSizes[SkYUVSizeInfo::kY].fHeight);
50 yuvInfo->fSizeInfo.fSizes[SkYUVSizeInfo::kU].fHeight);
60 totalSize += yuvInfo->fSizeInfo.fWidthBytes[i] * yuvInfo->fSizeInfo.fSizes[i].fHeight;
70 yuvInfo->fSizeInfo.fSizes[SkYUVSizeInfo::kY].fHeight);
72 yuvInfo->fSizeInfo.fSizes[SkYUVSizeInfo::kU].fHeight);
103 yuvDesc.fHeight = yuvInfo.fSizeInfo.fSizes[i].fHeight;
107 (yuvDesc.fHeight != yuvInfo.fSizeInfo.fSizes[SkYUVSizeInfo::kY].fHeight)
116 const SkImageInfo ii = SkImageInfo::MakeA8(yuvDesc.fWidth, yuvDesc.fHeight);
[all...]
H A DGrSurfaceProxy.cpp89 return fDesc.fHeight;
93 return SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(fDesc.fHeight));
96 return fDesc.fHeight;
170 if (!caps->npotTextureTileSupport() && (!SkIsPow2(desc.fWidth) || !SkIsPow2(desc.fHeight))) {
196 if (desc.fWidth > maxSize || desc.fHeight > maxSize) {
253 dstDesc.fHeight = srcRect.height();
307 fProxy->fDesc.fHeight = fProxy->fTarget->height();
/external/skia/src/gpu/gl/
H A DGrGLIRect.h24 GrGLsizei fHeight; member in struct:GrGLIRect
35 GR_STATIC_ASSERT(12 == offsetof(GrGLIRect, fHeight));
41 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight));
45 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight));
70 fBottom = glRect.fBottom + (glRect.fHeight - topOffset - height);
74 fHeight = height;
77 SkASSERT(fHeight >= 0);
84 fBottom + fHeight >= glRect.fBottom + glRect.fHeight;
87 void invalidate() {fLeft = fWidth = fBottom = fHeight
[all...]
H A DGrGLPathRendering.h101 fRenderTargetSize.fHeight = -1;
112 0, -SkIntToScalar(2) / fRenderTargetSize.fHeight, SK_Scalar1,
116 0, SkIntToScalar(2) / fRenderTargetSize.fHeight, -SK_Scalar1,
H A DGrGLProgram.h66 fRenderTargetSize.fHeight = -1;
81 destVec[2] = -2.f / fRenderTargetSize.fHeight;
84 destVec[2] = 2.f / fRenderTargetSize.fHeight;
/external/skia/include/android/
H A DSkBitmapRegionDecoder.h81 int height() const { return fHeight; }
89 , fHeight(height)
94 const int fHeight; member in class:SkBitmapRegionDecoder
/external/skia/gm/
H A Dimagetoyuvplanes.cpp75 std::unique_ptr<uint8_t[]> yPlane(new uint8_t[realRowBytes[0] * sizes[0].fHeight]);
76 std::unique_ptr<uint8_t[]> uPlane(new uint8_t[realRowBytes[1] * sizes[1].fHeight]);
77 std::unique_ptr<uint8_t[]> vPlane(new uint8_t[realRowBytes[2] * sizes[2].fHeight]);
84 yuvBmps[0].setInfo(SkImageInfo::MakeA8(sizes[0].fWidth, sizes[0].fHeight), kRowBytes[s][0]);
85 yuvBmps[1].setInfo(SkImageInfo::MakeA8(sizes[1].fWidth, sizes[1].fHeight), kRowBytes[s][1]);
86 yuvBmps[2].setInfo(SkImageInfo::MakeA8(sizes[2].fWidth, sizes[2].fHeight), kRowBytes[s][2]);
94 memset(yPlane.get(), 0, realRowBytes[0] * sizes[0].fHeight);
95 memset(uPlane.get(), 0, realRowBytes[1] * sizes[1].fHeight);
96 memset(vPlane.get(), 0, realRowBytes[2] * sizes[2].fHeight);
/external/skia/src/core/
H A DSkNormalBevelSource.h18 , fHeight(height) {}
48 SkScalar fHeight; member in class:SkNormalBevelSourceImpl
H A DSkRadialShadowMapShader.cpp29 , fHeight(diffuseHeight) { }
73 int fHeight; member in class:SkRadialShadowMapShaderImpl
103 fHeight = diffuseHeight;
199 if (height != fHeight) {
201 fHeight = height;
211 int fHeight; member in class:RadialShadowMapFP::GLSLRadialShadowMapFP
226 int height() const { return fHeight; }
236 if (fWidth != radialShadowMapFP.fWidth || fHeight != radialShadowMapFP.fHeight) {
249 int fHeight; member in class:RadialShadowMapFP
[all...]
/external/skia/tools/viewer/sk_app/
H A DWindowContext.h50 int height() const { return fHeight; }
60 int fHeight; member in class:sk_app::WindowContext
/external/skia/tests/
H A DSizeTest.cpp31 a.fWidth == b.fWidth && a.fHeight == b.fHeight);
57 a.fWidth == b.fWidth && a.fHeight == b.fHeight);
H A DYUVCacheTest.cpp37 yuvInfo.fSizeInfo.fSizes[i].fHeight = 10 * i;
65 REPORTER_ASSERT(reporter, yuvInfo.fSizeInfo.fSizes[i].fHeight ==
66 yuvInfoRead.fSizeInfo.fSizes[i].fHeight);
/external/skia/tools/viewer/sk_app/android/
H A DRasterWindowContext_android.cpp42 fHeight = ANativeWindow_getHeight(fNativeWindow);
58 ANativeWindow_setBuffersGeometry(fNativeWindow, fWidth, fHeight, format);
68 fHeight = h;
76 SkImageInfo info = SkImageInfo::Make(fWidth, fHeight,
/external/skia/tools/viewer/sk_app/unix/
H A DWindowContextFactory_unix.h29 int fHeight; member in struct:sk_app::window_context_factory::XlibWindowInfo
H A DGLWindowContext_unix.cpp50 fHeight = winInfo.fHeight;
103 (unsigned int*)&fWidth, (unsigned int*)&fHeight, &border_width, &depth);
104 glViewport(0, 0, fWidth, fHeight);
/external/pdfium/xfa/fwl/theme/
H A Dcfwl_checkboxtp.cpp115 FX_FLOAT fHeight = pRtSign->height; local
118 path.LineTo(CFX_PointF(pRtSign->left, pRtSign->top + fHeight / 2));
120 path.LineTo(CFX_PointF(pRtSign->right(), pRtSign->top + fHeight / 2));
224 FX_FLOAT fHeight = -kSignPath; local
226 CFX_PointF pt1(fWidth / 15.0f, fBottom + fHeight * 2 / 5.0f);
227 CFX_PointF pt2(fWidth / 4.5f, fBottom + fHeight / 16.0f);
229 CFX_PointF pt4(fWidth * 14 / 15.0f, fBottom + fHeight * 15 / 16.0f);
230 CFX_PointF pt5(fWidth / 3.6f, fBottom + fHeight / 3.5f);
231 CFX_PointF pt12(fWidth / 7.0f, fBottom + fHeight * 2 / 7.0f);
232 CFX_PointF pt21(fWidth / 5.0f, fBottom + fHeight / 5.
[all...]
/external/skia/tools/viewer/sk_app/mac/
H A DRasterWindowContext_mac.cpp84 SDL_GetWindowSize(fWindow, &fWidth, &fHeight);
85 glViewport(0, 0, fWidth, fHeight);
91 SkImageInfo info = SkImageInfo::Make(fWidth, fHeight, fDisplayParams.fColorType,
H A DGLWindowContext_mac.cpp72 SDL_GetWindowSize(fWindow, &fWidth, &fHeight);
73 glViewport(0, 0, fWidth, fHeight);
/external/skia/experimental/svg/model/
H A DSkSVGSVG.cpp16 auto viewPortRect = ctx->lengthContext().resolveRect(fX, fY, fWidth, fHeight);
60 fHeight = h;
103 fHeight.unit() == SkSVGLength::Unit::kPercentage) {
108 lctx.resolve(fHeight, SkSVGLengthContext::LengthType::kVertical));

Completed in 303 milliseconds

12345678910