Home
last modified time | relevance | path

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

1234

/external/skia/include/core/
DSkSize.h14 T fWidth; member
19 s.fWidth = w; in Make()
25 fWidth = w; in set()
32 return 0 == fWidth && 0 == fHeight; in isZero()
37 return fWidth <= 0 || fHeight <= 0; in isEmpty()
42 fWidth = fHeight = 0; in setEmpty()
45 T width() const { return fWidth; } in width()
50 if (fWidth < 0) { in clampNegToZero()
51 fWidth = 0; in clampNegToZero()
59 return fWidth == w && fHeight == h; in equals()
[all …]
DSkBitmap.h89 bool empty() const { return 0 == fWidth || 0 == fHeight; } in empty()
104 int width() const { return fWidth; } in width()
611 uint32_t fWidth; variable
802 SkASSERT((unsigned)x < fWidth && (unsigned)y < fHeight); in getAddr32()
809 SkASSERT((unsigned)x < fWidth && (unsigned)y < fHeight); in getAddr16()
816 SkASSERT((unsigned)x < fWidth && (unsigned)y < fHeight); in getAddr8()
823 SkASSERT((unsigned)x < fWidth && (unsigned)y < fHeight); in getIndex8Color()
832 SkASSERT((unsigned)x < fWidth && (unsigned)y < fHeight); in getAddr1()
/external/skia/src/gpu/gl/
DGrGLIRect.h23 GrGLsizei fWidth; 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()
48 fWidth = width; in setRelativeTo()
53 GrAssert(fWidth >= 0); in setRelativeTo()
61 fLeft + fWidth >= glRect.fLeft + glRect.fWidth && in contains()
65 void invalidate() {fLeft = fWidth = fBottom = fHeight = -1;} in invalidate()
DGrGLTexture.cpp44 vp.fWidth = textureDesc.fWidth; in init()
55 textureDesc.fWidth, in GrGLTexture()
65 textureDesc.fWidth, in GrGLTexture()
DGrGLRenderTarget.cpp37 viewport.fWidth, in GrGLRenderTarget()
48 GrAssert(viewport.fWidth == texture->width()); in GrGLRenderTarget()
59 viewport.fWidth, in GrGLRenderTarget()
/external/icu4c/io/
Duscanf_p.c82 int32_t fWidth; /* Width */ member
123 info->fWidth = -1; in u_scanf_parse_spec()
190 info->fWidth = (int) (*s++ - DIGIT_ZERO); in u_scanf_parse_spec()
193 info->fWidth *= 10; in u_scanf_parse_spec()
194 info->fWidth += (int) (*s++ - DIGIT_ZERO); in u_scanf_parse_spec()
401 *(int16_t*)(args[0].ptrValue) = (int16_t)(UINT16_MAX & info->fWidth); in u_scanf_count_handler()
403 *(int64_t*)(args[0].ptrValue) = info->fWidth; in u_scanf_count_handler()
405 *(int32_t*)(args[0].ptrValue) = (int32_t)(UINT32_MAX & info->fWidth); in u_scanf_count_handler()
439 if(info->fWidth != -1) in u_scanf_double_handler()
440 len = ufmt_min(len, info->fWidth); in u_scanf_double_handler()
[all …]
Duprintf.c55 if(info->fWidth != -1 && resultLen < info->fWidth) { in u_printf_pad_and_justify()
59 for(i = 0; i < info->fWidth - resultLen; ++i) { in u_printf_pad_and_justify()
66 for(i = 0; i < info->fWidth - resultLen; ++i) { in u_printf_pad_and_justify()
/external/skia/include/gpu/
DGrTexture.h26 int width() const { return fWidth; } in width()
39 GrFixed normalizeFixedX(GrFixed x) const { GrAssert(GrIsPow2(fWidth)); in normalizeFixedX()
53 return (size_t) fWidth * fHeight * GrBytesPerPixel(fConfig); in sizeInBytes()
130 , fWidth(width) in GrTexture()
134 fShiftFixedX = 31 - Gr_clz(fWidth); in GrTexture()
146 int fWidth;
DGrRenderTarget.h40 int width() const { return fWidth; } in width()
184 , fWidth(width) in GrRenderTarget()
205 int fWidth; variable
/external/skia/src/images/
DSkPageFlipper.cpp13 fWidth = 0; in SkPageFlipper()
23 fWidth = width; in SkPageFlipper()
33 fWidth = width; 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()
DSkImageDecoder_wbmp.cpp49 int fWidth; member
62 if (!read_mbf(stream, &fWidth) || (unsigned)fWidth > 0xFFFF) { in init()
68 return fWidth != 0 && fHeight != 0; in init()
110 int width = head.fWidth; in onDecode()
/external/skia/src/core/
DSkPicture.cpp105 fWidth = fHeight = 0; in SkPicture()
109 fWidth = src.fWidth; in SkPicture()
135 SkTSwap(fWidth, other.fWidth); in swap()
155 fWidth = width; in beginRecording()
201 fWidth = stream->readU32(); in SkPicture()
220 stream->write32(fWidth); in serialize()
DSkPathEffect.cpp74 : fWidth(paint.getStrokeWidth()), fMiter(paint.getStrokeMiter()), in SkStrokePathEffect()
81 : fWidth(width), fMiter(miter), fStyle(SkToU8(style)), in SkStrokePathEffect()
90 if (fWidth < 0 || fStyle == SkPaint::kFill_Style) { in filterPath()
94 if (fStyle == SkPaint::kStroke_Style && fWidth == 0) { // hairline in filterPath()
101 stroke.setWidth(fWidth); in filterPath()
120 buffer.writeScalar(fWidth); in flatten()
128 fWidth = buffer.readScalar(); in SkStrokePathEffect()
DSkAlphaRuns.cpp23 SkDEBUGCODE(fWidth = width;) in reset()
77 SkASSERT(x >= 0 && x + (startAlpha != 0) + middleCount + (stopAlpha != 0) <= fWidth); in add()
165 SkASSERT(fWidth > 0); in validate()
173 SkASSERT(count <= fWidth); in validate()
176 SkASSERT(count == fWidth); in validate()
/external/skia/samplecode/
DSampleMipMap.cpp47 fWidth = N; in MipMapView()
106 fWidth = 8 + SkScalarRound(N * time); in onDrawContent()
109 dst.set(0, 0, SkIntToScalar(fWidth), SkIntToScalar(fWidth)); in onDrawContent()
129 m.setScale(SkIntToScalar(fWidth) / N, in onDrawContent()
130 SkIntToScalar(fWidth) / N); in onDrawContent()
141 int fWidth; member in MipMapView
DSampleOvalTest.cpp94 if (fSize.fWidth < kLimit) { in onDrawContent()
95 SkDebugf("--- width=%g, flat=%d buldge=%d total: flat=%d buldge=%d\n", fSize.fWidth, in onDrawContent()
97 fSize.fWidth += SK_Scalar1; in onDrawContent()
/external/skia/src/gpu/
DGrStencilBuffer.h27 int width() const { return fWidth; } in width()
37 GrAssert(width <= fWidth); in setLastClip()
69 , fWidth(width) in GrStencilBuffer()
91 int fWidth; variable
DGrRectanizer.h26 GrRectanizer(int width, int height) : fWidth(width), fHeight(height) { in GrRectanizer()
33 int width() const { return fWidth; } in width()
51 int fWidth;
/external/skia/include/images/
DSkBitmapRegionDecoder.h23 fWidth = width; in SkBitmapRegionDecoder()
34 virtual int getWidth() { return fWidth; } in getWidth()
42 int fWidth; variable
DSkPageFlipper.h29 int width() const { return fWidth; } in width()
58 int fWidth; variable
/external/skia/tests/
DTestSize.cpp30 a.fWidth == b.fWidth && a.fHeight == b.fHeight); in TestISize()
58 a.fWidth == b.fWidth && a.fHeight == b.fHeight); in TestSize()
/external/skia/gm/
Dcomplexclip2.cpp35 fWidth = xF - xA; in ComplexClip2GM()
53 fTotalWidth = kCols * fWidth + SK_Scalar1 * (kCols + 1) * kPadX; in ComplexClip2GM()
102 canvas->translate(kPadX * SK_Scalar1 + (fWidth + kPadX * SK_Scalar1)*j, in onDraw()
108 canvas->drawRect(SkRect::MakeWH(fWidth, fHeight), fillPaint); in onDraw()
122 SkScalar fWidth; member in skiagm::ComplexClip2GM
/external/skia/src/ports/
DSkFontHost_win.cpp289 fWidth = fHeight = 0; in HDCOffscreen()
318 int fWidth; member in HDCOffscreen
343 if (fBM && (fIsBW != isBW || fWidth < glyph.fWidth || fHeight < glyph.fHeight)) { in draw()
359 fWidth = SkMax32(fWidth, glyph.fWidth); in draw()
362 int biWidth = isBW ? alignTo32(fWidth) : fWidth; in draw()
390 size_t srcRB = isBW ? (biWidth >> 3) : (fWidth << 2); in draw()
608 glyph->fWidth = gm.gmBlackBoxX; in generateMetrics()
625 if (glyph->fWidth) { // don't outset an empty glyph in generateMetrics()
626 glyph->fWidth += 4; in generateMetrics()
645 glyph->fWidth = 0; in generateMetrics()
[all …]
/external/icu4c/samples/layout/
Dparagraph.cpp79 fLineHeight(-1), fAscent(-1), fWidth(-1), fHeight(-1), fParagraphLevel(UBIDI_DEFAULT_LTR) in Paragraph()
186 if (fWidth == width) { in breakLines()
190 fWidth = width; in breakLines()
233 x = (fWidth - lastX - MARGIN); in draw()
244 surface->drawGlyphs(font, glyphs, glyphCount, positions, x, y, fWidth, fHeight); in draw()
Dpflow.c57 le_int32 fWidth; member
136 flow->fWidth = -1; in pf_create()
286 if (obj->fWidth == width) { in pf_breakLines()
290 obj->fWidth = width; in pf_breakLines()
333 x = (obj->fWidth - lastX - MARGIN); in pf_draw()
344 … rs_drawGlyphs(surface, font, glyphs, glyphCount, positions, x, y, obj->fWidth, obj->fHeight); in pf_draw()

1234