Home
last modified time | relevance | path

Searched refs:fWidth (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/external/skia/src/gpu/
DGrTextureToYUVPlanes.cpp78 sizes[0].fWidth, in GrTextureToYUVPlanes()
88 sizes[0].fWidth, in GrTextureToYUVPlanes()
99 sizes[1].fWidth, in GrTextureToYUVPlanes()
109 sizes[1].fWidth, in GrTextureToYUVPlanes()
115 sizes[2].fWidth, in GrTextureToYUVPlanes()
128 sizes[0].fWidth, sizes[0].fHeight, in GrTextureToYUVPlanes()
135 sizes[0].fWidth, sizes[0].fHeight, in GrTextureToYUVPlanes()
141 sizes[1].fWidth, sizes[1].fHeight, in GrTextureToYUVPlanes()
148 sizes[1].fWidth, sizes[1].fHeight, in GrTextureToYUVPlanes()
153 sizes[2].fWidth, sizes[2].fHeight, in GrTextureToYUVPlanes()
[all …]
DGrRectanizer_skyline.cpp26 if (y < bestY || (y == bestY && fSkyline[i].fWidth < bestWidth)) { in addRect()
28 bestWidth = fSkyline[i].fWidth; in addRect()
64 widthLeft -= fSkyline[i].fWidth; in rectangleFits()
77 newSegment.fWidth = width; in addSkylineLevel()
80 SkASSERT(newSegment.fX + newSegment.fWidth <= this->width()); in addSkylineLevel()
88 if (fSkyline[i].fX < fSkyline[i-1].fX + fSkyline[i-1].fWidth) { in addSkylineLevel()
89 int shrink = fSkyline[i-1].fX + fSkyline[i-1].fWidth - fSkyline[i].fX; in addSkylineLevel()
92 fSkyline[i].fWidth -= shrink; in addSkylineLevel()
94 if (fSkyline[i].fWidth <= 0) { in addSkylineLevel()
110 fSkyline[i].fWidth += fSkyline[i+1].fWidth; in addSkylineLevel()
DGrDrawOpAtlas.cpp23 desc.fWidth = width; in Make()
63 , fWidth(width) in Plot()
68 , fOffset(SkIPoint16::Make(fX * fWidth, fY * fHeight)) in Plot()
84 SkASSERT(width <= fWidth && height <= fHeight); in addSubImage()
87 fRects = GrRectanizer::Factory(fWidth, fHeight); in addSubImage()
95 fData = reinterpret_cast<unsigned char*>(sk_calloc_throw(fBytesPerPixel * fWidth * in addSubImage()
102 dataPtr += fBytesPerPixel * fWidth * loc->fY; in addSubImage()
108 dataPtr += fBytesPerPixel * fWidth; in addSubImage()
114 dataPtr += fBytesPerPixel * fWidth; in addSubImage()
133 size_t rowBytes = fBytesPerPixel * fWidth; in uploadToTexture()
[all …]
DGrYUVProvider.cpp102 yuvDesc.fWidth = yuvInfo.fSizeInfo.fSizes[i].fWidth; in refAsTextureProxy()
106 (yuvDesc.fWidth != yuvInfo.fSizeInfo.fSizes[SkYUVSizeInfo::kY].fWidth) || in refAsTextureProxy()
116 const SkImageInfo ii = SkImageInfo::MakeA8(yuvDesc.fWidth, yuvDesc.fHeight); in refAsTextureProxy()
126 desc.fWidth, desc.fHeight, in refAsTextureProxy()
157 const SkRect r = SkRect::MakeIWH(yuvInfo.fSizeInfo.fSizes[SkYUVSizeInfo::kY].fWidth, in refAsTextureProxy()
DGrTextureProducer.h31 int fWidth; member
70 int width() const { return fWidth; } in width()
79 : fWidth(width) in GrTextureProducer()
92 builder[1] = copyParams.fWidth; in MakeCopyKeyFromOrigKey()
144 const int fWidth;
DGrRectanizer.h17 GrRectanizer(int width, int height) : fWidth(width), fHeight(height) { in GrRectanizer()
26 int width() const { return fWidth; } in width()
40 int fWidth;
DGrStencilAttachment.h26 int width() const { return fWidth; } in width()
39 , fWidth(width) in GrStencilAttachment()
47 int fWidth;
/external/skia/include/core/
DSkSize.h14 T fWidth; member
19 s.fWidth = w; in Make()
29 fWidth = w; in set()
36 return 0 == fWidth && 0 == fHeight; in isZero()
41 return fWidth <= 0 || fHeight <= 0; in isEmpty()
46 fWidth = fHeight = 0; in setEmpty()
49 T width() const { return fWidth; } in width()
54 if (fWidth < 0) { in clampNegToZero()
55 fWidth = 0; in clampNegToZero()
63 return fWidth == w && fHeight == h; in equals()
[all …]
DSkImageInfo.h185 , fWidth(0) in SkImageInfo()
232 int width() const { return fWidth; } in width()
239 bool isEmpty() const { return fWidth <= 0 || fHeight <= 0; } in isEmpty()
245 SkISize dimensions() const { return SkISize::Make(fWidth, fHeight); } in dimensions()
246 SkIRect bounds() const { return SkIRect::MakeWH(fWidth, fHeight); } in bounds()
261 return Make(fWidth, fHeight, fColorType, newAlphaType, fColorSpace); in makeAlphaType()
265 return Make(fWidth, fHeight, newColorType, fAlphaType, fColorSpace); in makeColorType()
269 return Make(fWidth, fHeight, fColorType, fAlphaType, std::move(cs)); in makeColorSpace()
277 return sk_64_mul(fWidth, this->bytesPerPixel()); in minRowBytes64()
289 SkASSERT((unsigned)x < (unsigned)fWidth); in computeOffset()
[all …]
DSkStrokeRec.h37 SkScalar getWidth() const { return fWidth; } in getWidth()
126 return fWidth == other.fWidth && in hasEqualEffect()
137 SkScalar fWidth; variable
/external/skia/src/core/
DSkStrokeRec.cpp16 fWidth = (kFill_InitStyle == s) ? kStrokeRec_FillStyleWidth : 0; in SkStrokeRec()
36 fWidth = kStrokeRec_FillStyleWidth; in init()
40 fWidth = paint.getStrokeWidth(); in init()
46 fWidth = kStrokeRec_FillStyleWidth; in init()
49 fWidth = paint.getStrokeWidth(); in init()
56 fWidth = kStrokeRec_FillStyleWidth; in init()
68 if (fWidth < 0) { in getStyle()
70 } else if (0 == fWidth) { in getStyle()
78 fWidth = kStrokeRec_FillStyleWidth; in setFillStyle()
83 fWidth = 0; in setHairlineStyle()
[all …]
DSkBitmapFilter.h25 SkBitmapFilter(float width) : fWidth(width), fInvWidth(1.f/width) { in SkBitmapFilter()
40 float width() const { return fWidth; } in width()
56 float fWidth;
160 return SkTMax(0.f, fWidth - fabsf(x)); in evaluate()
169 return (x >= -fWidth && x < fWidth) ? 1.0f : 0.0f; in evaluate()
178 if (x <= -fWidth || x >= fWidth) { in evaluate()
187 (0.54f + 0.46f * sk_float_cos(xpi / fWidth))); // hamming(x) in evaluate()
196 if (x <= -fWidth || x >= fWidth) { in evaluate()
204 sk_float_sin(xpi / fWidth) / (xpi / fWidth); // sinc(x/fWidth) in evaluate()
DSkRadialShadowMapShader.cpp28 , fWidth(diffuseWidth) in SkRadialShadowMapShaderImpl()
72 int fWidth; member in SkRadialShadowMapShaderImpl
102 fWidth = diffuseWidth; in RadialShadowMapFP()
194 if (width != fWidth) { in onSetData()
196 fWidth = width; in onSetData()
209 int fWidth; member in RadialShadowMapFP::GLSLRadialShadowMapFP
225 int width() const { return fWidth; } in width()
236 if (fWidth != radialShadowMapFP.fWidth || fHeight != radialShadowMapFP.fHeight) { in onIsEqual()
250 int fWidth; member in RadialShadowMapFP
261 fLight, fWidth, fHeight, in asFragmentProcessor()
[all …]
DSkAlphaRuns.cpp22 SkDEBUGCODE(fWidth = width;) in reset()
59 SkASSERT(fWidth > 0); in validate()
67 SkASSERT(count <= fWidth); in validate()
70 SkASSERT(count == fWidth); in validate()
DSkGlyph.h151 uint16_t fWidth, fHeight; variable
190 allocSize = BitsToBytes(fWidth) * fHeight; in allocImage()
193 allocSize = fWidth * fHeight; in allocImage()
194 fImage = alloc->makeArrayDefault<uint32_t>(fWidth * fHeight); in allocImage()
197 allocSize = SkAlign2(fWidth) * fHeight; in allocImage()
201 allocSize = SkAlign4(fWidth) * fHeight; in allocImage()
208 return ComputeRowBytes(fWidth, (SkMask::Format)fMaskFormat); in rowBytes()
DSkImageGenerator.cpp63 SkASSERT(sizeInfo.fSizes[SkYUVSizeInfo::kY].fWidth >= 0); in getYUV8Planes()
65 SkASSERT(sizeInfo.fSizes[SkYUVSizeInfo::kU].fWidth >= 0); in getYUV8Planes()
67 SkASSERT(sizeInfo.fSizes[SkYUVSizeInfo::kV].fWidth >= 0); in getYUV8Planes()
70 (size_t) sizeInfo.fSizes[SkYUVSizeInfo::kY].fWidth); in getYUV8Planes()
72 (size_t) sizeInfo.fSizes[SkYUVSizeInfo::kU].fWidth); in getYUV8Planes()
74 (size_t) sizeInfo.fSizes[SkYUVSizeInfo::kV].fWidth); in getYUV8Planes()
/external/pdfium/fpdfsdk/pdfwindow/
DPWL_Utils.cpp54 const FX_FLOAT fWidth = crBBox.right - crBBox.left; in GetAP_Check() local
76 pts[i][j].x = pts[i][j].x * fWidth + crBBox.left; in GetAP_Check()
105 FX_FLOAT fWidth = crBBox.right - crBBox.left; in GetAP_Circle() local
109 CFX_PointF pt2(crBBox.left + fWidth / 2, crBBox.top); in GetAP_Circle()
111 CFX_PointF pt4(crBBox.left + fWidth / 2, crBBox.bottom); in GetAP_Circle()
158 FX_FLOAT fWidth = crBBox.right - crBBox.left; in GetAP_Diamond() local
162 CFX_PointF pt2(crBBox.left + fWidth / 2, crBBox.top); in GetAP_Diamond()
164 CFX_PointF pt4(crBBox.left + fWidth / 2, crBBox.bottom); in GetAP_Diamond()
223 FX_FLOAT fWidth = crBBox.right - crBBox.left; in GetAP_HalfCircle() local
226 CFX_PointF pt1(-fWidth / 2, 0); in GetAP_HalfCircle()
[all …]
/external/skia/src/gpu/gl/
DGrGLIRect.h23 GrGLsizei fWidth; member
34 GR_STATIC_ASSERT(8 == offsetof(GrGLIRect, fWidth)); in asInts()
41 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight)); in pushToGLViewport()
45 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight)); in pushToGLScissor()
68 fWidth = width; in setRelativeTo()
76 SkASSERT(fWidth >= 0); in setRelativeTo()
83 fLeft + fWidth >= glRect.fLeft + glRect.fWidth && in contains()
87 void invalidate() {fLeft = fWidth = fBottom = fHeight = -1;} in invalidate()
/external/icu/icu4c/source/io/
Duscanf_p.c84 int32_t fWidth; /* Width */ member
125 info->fWidth = -1; in u_scanf_parse_spec()
192 info->fWidth = (int) (*s++ - DIGIT_ZERO); in u_scanf_parse_spec()
195 info->fWidth *= 10; in u_scanf_parse_spec()
196 info->fWidth += (int) (*s++ - DIGIT_ZERO); in u_scanf_parse_spec()
403 *(int16_t*)(args[0].ptrValue) = (int16_t)(UINT16_MAX & info->fWidth); in u_scanf_count_handler()
405 *(int64_t*)(args[0].ptrValue) = info->fWidth; in u_scanf_count_handler()
407 *(int32_t*)(args[0].ptrValue) = (int32_t)(UINT32_MAX & info->fWidth); in u_scanf_count_handler()
441 if(info->fWidth != -1) in u_scanf_double_handler()
442 len = ufmt_min(len, info->fWidth); in u_scanf_double_handler()
[all …]
/external/pdfium/xfa/fwl/theme/
Dcfwl_checkboxtp.cpp114 FX_FLOAT fWidth = pRtSign->width; in DrawSignDiamond() local
117 path.MoveTo(CFX_PointF(pRtSign->left + fWidth / 2, pRtSign->top)); in DrawSignDiamond()
119 path.LineTo(CFX_PointF(pRtSign->left + fWidth / 2, fBottom)); in DrawSignDiamond()
121 path.LineTo(CFX_PointF(pRtSign->left + fWidth / 2, pRtSign->top)); in DrawSignDiamond()
223 FX_FLOAT fWidth = kSignPath; in InitCheckPath() local
226 CFX_PointF pt1(fWidth / 15.0f, fBottom + fHeight * 2 / 5.0f); in InitCheckPath()
227 CFX_PointF pt2(fWidth / 4.5f, fBottom + fHeight / 16.0f); in InitCheckPath()
228 CFX_PointF pt3(fWidth / 3.0f, fBottom); in InitCheckPath()
229 CFX_PointF pt4(fWidth * 14 / 15.0f, fBottom + fHeight * 15 / 16.0f); in InitCheckPath()
230 CFX_PointF pt5(fWidth / 3.6f, fBottom + fHeight / 3.5f); in InitCheckPath()
[all …]
Dcfwl_edittp.cpp25 FX_FLOAT fWidth = 1.0f; in DrawBackground() local
30 fWidth = edge.GetThickness(); in DrawBackground()
35 pParams->m_pGraphics->SetLineWidth(fWidth); in DrawBackground()
77 FX_FLOAT fWidth = 1.0f; in DrawBackground() local
80 pParams->m_pGraphics->SetLineWidth(fWidth); in DrawBackground()
/external/icu/icu4c/source/i18n/
Ddigitaffixesandpadding.h90 int32_t fWidth; variable
98 : fPadPosition(kPadBeforePrefix), fPadChar(0x2a), fWidth(0) { } in DigitAffixesAndPadding()
109 fWidth == rhs.fWidth && in equals()
/external/skia/src/gpu/text/
DGrAtlasGlyphCache.cpp24 int width = fAtlasConfigs[index].fWidth; in initAtlas()
44 fAtlasConfigs[kA8_GrMaskFormat].fWidth = 2048; in GrAtlasGlyphCache()
51 fAtlasConfigs[kA565_GrMaskFormat].fWidth = 1024; in GrAtlasGlyphCache()
58 fAtlasConfigs[kARGB_GrMaskFormat].fWidth = 1024; in GrAtlasGlyphCache()
221 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight); in get_packed_glyph_bounds()
233 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight); in get_packed_glyph_df_bounds()
266 SkASSERT(glyph.fWidth == width); in get_packed_glyph_image()
321 SkASSERT(glyph.fWidth + 2*SK_DistanceFieldPad == width); in get_packed_glyph_df_image()
332 glyph.fWidth, in get_packed_glyph_df_image()
360 glyph.fWidth, glyph.fHeight, in get_packed_glyph_df_image()
[all …]
/external/skia/tests/
DSizeTest.cpp31 a.fWidth == b.fWidth && a.fHeight == b.fHeight); in DEF_TEST()
57 a.fWidth == b.fWidth && a.fHeight == b.fHeight); in DEF_TEST()
/external/skia/tools/viewer/sk_app/android/
DRasterWindowContext_android.cpp41 fWidth = ANativeWindow_getWidth(fNativeWindow); in RasterWindowContext_android()
58 ANativeWindow_setBuffersGeometry(fNativeWindow, fWidth, fHeight, format); in setBuffersGeometry()
67 fWidth = w; in resize()
76 SkImageInfo info = SkImageInfo::Make(fWidth, fHeight, in getBackbufferSurface()

12345678910>>...12