Searched refs:fWidth (Results 1 - 25 of 71) sorted by relevance

123

/external/skia/include/core/
H A DSkSize.h7 T fWidth; member in struct:SkTSize
12 s.fWidth = w;
18 fWidth = w;
22 /** Returns true iff fWidth == 0 && fHeight == 0
25 return 0 == fWidth && 0 == fHeight;
30 return fWidth <= 0 || fHeight <= 0;
35 fWidth = fHeight = 0;
38 T width() const { return fWidth; }
43 if (fWidth < 0) {
44 fWidth
[all...]
H A DSkPicture.h96 int width() const { return fWidth; }
114 int fWidth, fHeight; member in class:SkPicture
/external/skia/gpu/include/
H A DGrGLIRect.h30 GrGLsizei fWidth; member in struct:GrGLIRect
34 GR_GL(Viewport(fLeft, fBottom, fWidth, fHeight));
38 GR_GL(Scissor(fLeft, fBottom, fWidth, fHeight));
55 fWidth = width;
60 GrAssert(fWidth >= 0);
68 fLeft + fWidth >= glRect.fLeft + glRect.fWidth &&
72 void invalidate() {fLeft = fWidth = fBottom = fHeight = -1;}
H A DGrRectanizer.h33 GrRectanizer(int width, int height) : fWidth(width), fHeight(height) {
40 int width() const { return fWidth; }
58 int fWidth; member in class:GrRectanizer
H A DGrTexture.h40 int width() const { return fWidth; }
128 , fWidth(width)
149 int fWidth; member in class:GrRenderTarget
171 int width() const { return fWidth; }
184 GrFixed normalizeFixedX(GrFixed x) const { GrAssert(GrIsPow2(fWidth));
198 return fWidth * fHeight * GrBytesPerPixel(fConfig);
280 , fWidth(width)
284 fShiftFixedX = 31 - Gr_clz(fWidth);
300 int fWidth; member in class:GrTexture
/external/skia/include/images/
H A DSkBitmapRegionDecoder.h15 fWidth = width;
26 virtual int getWidth() { return fWidth; }
34 int fWidth; member in class:SkBitmapRegionDecoder
H A DSkPageFlipper.h36 int width() const { return fWidth; }
65 int fWidth; member in class:SkPageFlipper
H A DSkMovie.h62 int fWidth; member in struct:SkMovie::Info
/external/skia/src/images/
H A DSkPageFlipper.cpp20 fWidth = 0;
30 fWidth = width;
40 fWidth = width;
49 fDirty1->setRect(0, 0, fWidth, fHeight);
54 r.set(0, 0, fWidth, fHeight);
62 r.setRect(0, 0, fWidth, fHeight);
H A DSkImageDecoder_wbmp.cpp56 int fWidth; member in struct:wbmp_head
69 if (!read_mbf(stream, &fWidth) || (unsigned)fWidth > 0xFFFF) {
75 return fWidth != 0 && fHeight != 0;
117 int width = head.fWidth;
H A DSkImageDecoder_libbmp.cpp62 fWidth = width;
72 int width() const { return fWidth; }
78 int fWidth; member in class:SkBmpDecoderCallback
/external/junit/src/junit/awtui/
H A DLogo.java16 private int fWidth; field in class:Logo
29 fWidth= fImage.getWidth(this);
32 fWidth= 20;
35 setSize(fWidth, fHeight);
51 g.drawImage(fImage, 0, 0, fWidth, fHeight, this);
/external/skia/src/core/
H A DSkPicture.cpp113 fWidth = fHeight = 0;
117 fWidth = src.fWidth;
143 SkTSwap(fWidth, other.fWidth);
163 fWidth = width;
207 fWidth = stream->readU32();
226 stream->write32(fWidth);
H A DSkPathEffect.cpp76 : fWidth(paint.getStrokeWidth()), fMiter(paint.getStrokeMiter()),
83 : fWidth(width), fMiter(miter), fStyle(SkToU8(style)),
92 if (fWidth < 0 || fStyle == SkPaint::kFill_Style) {
96 if (fStyle == SkPaint::kStroke_Style && fWidth == 0) { // hairline
103 stroke.setWidth(fWidth);
122 buffer.writeScalar(fWidth);
130 fWidth = buffer.readScalar();
H A DSkScalerContext.cpp39 mask->fBounds.set(fLeft, fTop, fLeft + fWidth, fTop + fHeight);
49 return SkAlign4(size) + sizeof(uint32_t) * ((fWidth + 2) * fHeight);
51 return SkAlign4(size) + sizeof(uint32_t) * (fWidth * (fHeight + 2));
62 fWidth = 0;
82 for (unsigned x = 0; x < fWidth; ++x) {
91 const unsigned outputRowBytes = sizeof(uint32_t) * fWidth;
93 output += fWidth;
97 for (unsigned x = 0; x < fWidth; ++x) {
106 output += fWidth;
302 if (0 == glyph->fWidth ||
[all...]
H A DSkAlphaRuns.cpp31 SkDEBUGCODE(fWidth = width;)
85 SkASSERT(x >= 0 && x + (startAlpha != 0) + middleCount + (stopAlpha != 0) <= fWidth);
173 SkASSERT(fWidth > 0);
181 SkASSERT(count <= fWidth);
184 SkASSERT(count == fWidth);
H A DSkAntiRun.h66 SkDEBUGCODE(int fWidth;)
/external/skia/tests/
H A DTestSize.cpp23 a.fWidth == b.fWidth && a.fHeight == b.fHeight);
51 a.fWidth == b.fWidth && a.fHeight == b.fHeight);
/external/icu4c/io/
H A Duscanf_p.c82 int32_t fWidth; /* Width */ member in struct:u_scanf_spec_info
123 info->fWidth = -1;
190 info->fWidth = (int) (*s++ - DIGIT_ZERO);
193 info->fWidth *= 10;
194 info->fWidth += (int) (*s++ - DIGIT_ZERO);
401 *(int16_t*)(args[0].ptrValue) = (int16_t)(UINT16_MAX & info->fWidth);
403 *(int64_t*)(args[0].ptrValue) = info->fWidth;
405 *(int32_t*)(args[0].ptrValue) = (int32_t)(UINT32_MAX & info->fWidth);
439 if(info->fWidth != -1)
440 len = ufmt_min(len, info->fWidth);
[all...]
H A Duprintf.c55 if(info->fWidth != -1 && resultLen < info->fWidth) {
59 for(i = 0; i < info->fWidth - resultLen; ++i) {
66 for(i = 0; i < info->fWidth - resultLen; ++i) {
/external/skia/bench/
H A DFPSBench.cpp8 int32_t fWidth; member in class:FPSBench
12 fWidth = 640;
13 (void)this->findDefine32("width", &fWidth);
18 int width() const { return fWidth; }
22 virtual SkIPoint onGetSize() { return SkIPoint::Make(fWidth, fHeight); }
/external/skia/samplecode/
H A DSampleMipMap.cpp40 fWidth = N;
99 fWidth = 8 + SkScalarRound(N * time);
102 dst.set(0, 0, SkIntToScalar(fWidth), SkIntToScalar(fWidth));
122 m.setScale(SkIntToScalar(fWidth) / N,
123 SkIntToScalar(fWidth) / N);
134 int fWidth; member in class:MipMapView
H A DSampleOvalTest.cpp87 if (fSize.fWidth < kLimit) {
88 SkDebugf("--- width=%g, flat=%d buldge=%d total: flat=%d buldge=%d\n", fSize.fWidth,
90 fSize.fWidth += SK_Scalar1;
H A DSampleDrawLooper.cpp21 SkScalar fWidth; member in struct:LooperView::__anon9566
44 paint->setStrokeWidth(gParams[i].fWidth);
/external/skia/src/effects/
H A DSkRectShape.cpp61 if (fRadii.fWidth < 0) {
66 canvas->drawRoundRect(fBounds, fRadii.fWidth, fRadii.fHeight, paint);

Completed in 248 milliseconds

123