Searched defs:fWidth (Results 51 - 75 of 98) sorted by relevance

1234

/external/skia/src/core/
H A DSkBitmapCache.cpp59 desc.fWidth = width;
72 desc.fWidth = width;
89 , fWidth(width)
94 sizeof(fGenID) + sizeof(fWidth) + sizeof(fHeight) + sizeof(fBounds));
99 , fWidth(desc.fWidth)
104 sizeof(fGenID) + sizeof(fWidth) + sizeof(fHeight) + sizeof(fBounds));
108 SkDebugf("-- add [%d %d] %d [%d %d %d %d]\n", fWidth, fHeight, fGenID,
113 const int fWidth; member in struct:__anon16807::BitmapKey
166 if (0 == desc.fWidth ||
[all...]
H A DSkGlyph.h61 uint16_t fWidth, fHeight; member in class:SkGlyph
98 return ComputeRowBytes(fWidth, (SkMask::Format)fMaskFormat);
/external/skia/src/gpu/
H A DGrBatchAtlas.h21 int numPlotsX() const { return fWidth / fPlotWidth; }
23 int fWidth; member in struct:GrBatchAtlasConfig
193 return new BatchPlot(fIndex, fGenID+1, fX, fY, fWidth, fHeight, fConfig);
209 const int fWidth;
/external/skia/src/gpu/effects/
H A DGrTextureStripAtlas.h31 uint16_t fWidth, fHeight, fRowHeight; member in struct:GrTextureStripAtlas::Desc
/external/skia/tests/
H A DDrawBitmapRectTest.cpp230 int fWidth; member in struct:__anon17046
242 gTests[i].fWidth, gTests[i].fHeight,
/external/pdfium/core/include/fpdfdoc/
H A Dfpdf_vt.h219 fWidth(0.0f),
235 FX_FLOAT fWidth; member in struct:CPVT_Word
/external/pdfium/xfa/src/fwl/src/basewidget/
H A Dfwl_checkboximp.cpp250 FX_FLOAT fWidth = std::max(m_rtCaption.width, rtFocus.width); local
256 fLeft = m_rtCaption.left + (m_rtCaption.width - fWidth) / 2;
259 fLeft = m_rtCaption.right() - fWidth;
268 m_rtFocus.Set(fLeft, fTop, fWidth, fHeight);
/external/pdfium/xfa/src/fwl/src/theme/
H A Dformtp.cpp389 FX_FLOAT fWidth = pRect->width; local
396 path.AddRectangle(rt.left + 1, rt.top, fWidth - 2, 1);
399 path.AddRectangle(rt.left + 1, fBottom - 1, fWidth - 2, 1);
413 path.AddRectangle(rt.left + 2, rt.top + 1, fWidth - 4, 1);
420 path.AddRectangle(rt.left + 2, fBottom - 2, fWidth - 4, 1);
425 path.AddRectangle(pRect->left + 2, pRect->top + 2, fWidth - 4, fHeight - 4);
456 FX_FLOAT fWidth = pRect->width; local
462 path.AddRectangle(rt.left + 1, rt.top, fWidth - 2, 1);
465 path.AddRectangle(rt.left + 1, fBottom - 1, fWidth - 2, 1);
479 path.AddRectangle(rt.left + 2, rt.top + 1, fWidth
517 FX_FLOAT fWidth = pRect->width; local
[all...]
H A Dcheckboxtp.cpp294 FX_FLOAT fWidth = pRtSign->width; local
297 path.MoveTo(pRtSign->left + fWidth / 2, pRtSign->top);
299 path.LineTo(pRtSign->left + fWidth / 2, fBottom);
301 path.LineTo(pRtSign->left + fWidth / 2, pRtSign->top);
460 FX_FLOAT fWidth = CHECKBOX_SIZE_SIGNPATH; local
465 pt1.Set(fWidth / 15.0f, fBottom + fHeight * 2 / 5.0f);
467 pt2.Set(fWidth / 4.5f, fBottom + fHeight / 16.0f);
469 pt3.Set(fWidth / 3.0f, fBottom);
471 pt4.Set(fWidth * 14 / 15.0f, fBottom + fHeight * 15 / 16.0f);
473 pt5.Set(fWidth / 3.
[all...]
H A Dwidgettp.cpp248 FX_FLOAT fWidth; local
251 eType = FWLTHEME_EDGE_Raised, fWidth = FWLTHEME_CAPACITY_EdgeRaised;
255 eType = FWLTHEME_EDGE_Sunken, fWidth = FWLTHEME_CAPACITY_EdgeSunken;
261 Draw3DRect(pGraphics, eType, fWidth, pRect, FWLTHEME_COLOR_EDGELT1,
268 FX_FLOAT fWidth,
302 FX_FLOAT fHalfWidth = fWidth / 2.0f;
318 pathLT.MoveTo(fLeft + fHalfWidth, fBottom - fWidth);
320 pathLT.LineTo(fRight - fWidth, fTop + fHalfWidth);
321 pathLT.LineTo(fRight - fWidth, fTop + fWidth);
266 Draw3DRect(CFX_Graphics* pGraphics, FWLTHEME_EDGE eType, FX_FLOAT fWidth, const CFX_RectF* pRect, FX_ARGB cr1, FX_ARGB cr2, FX_ARGB cr3, FX_ARGB cr4, CFX_Matrix* pMatrix) argument
352 Draw3DCircle(CFX_Graphics* pGraphics, FWLTHEME_EDGE eType, FX_FLOAT fWidth, const CFX_RectF* pRect, FX_ARGB cr1, FX_ARGB cr2, FX_ARGB cr3, FX_ARGB cr4, CFX_Matrix* pMatrix) argument
480 DrawAnnulusCircle(CFX_Graphics* pGraphics, FX_ARGB fillColor, const CFX_RectF* pRect, FX_FLOAT fWidth, CFX_Matrix* pMatrix) argument
[all...]
/external/skia/bench/
H A DDashBench.cpp37 int fWidth; member in class:DashBench
48 fWidth = width;
69 paint.setStrokeWidth(SkIntToScalar(fWidth));
118 rect.fRight = rect.fLeft + SkIntToScalar(fWidth);
125 int count = SkScalarRoundToInt((pts[1].fX - pts[0].fX) / (2*fWidth));
126 SkScalar dx = SkIntToScalar(2 * fWidth);
/external/skia/include/core/
H A DSkImageInfo.h171 : fWidth(0)
221 int width() const { return fWidth; }
227 bool isEmpty() const { return fWidth <= 0 || fHeight <= 0; }
236 SkISize dimensions() const { return SkISize::Make(fWidth, fHeight); }
237 SkIRect bounds() const { return SkIRect::MakeWH(fWidth, fHeight); }
248 return SkImageInfo::Make(fWidth, fHeight, fColorType, newAlphaType, fProfileType);
252 return SkImageInfo::Make(fWidth, fHeight, newColorType, fAlphaType, fProfileType);
260 return sk_64_mul(fWidth, this->bytesPerPixel());
268 SkASSERT((unsigned)x < (unsigned)fWidth);
287 return sk_64_mul(fHeight - 1, rowBytes) + fWidth * thi
306 int fWidth; member in struct:SkImageInfo
[all...]
/external/skia/src/utils/
H A DSkTextureCompressor_Blitter.h77 , fWidth(width)
170 SkASSERT(width <= fWidth);
409 const int fWidth; member in class:SkTextureCompressor::SkTCompressedAlphaBlitter
413 // is large enough to store a compressed image of size fWidth*fHeight.
417 int blocksWide() const { return fWidth / BlockDim; }
419 int totalBlocks() const { return (fWidth * fHeight) / kPixelsPerBlock; }
424 SkASSERT(x < fWidth);
543 finalX = fWidth;
595 if (finalX < fWidth) {
/external/icu/icu4c/source/samples/layout/
H A Dpflow.c57 le_int32 fWidth; member in struct:pf_object
136 flow->fWidth = -1;
286 if (obj->fWidth == width) {
290 obj->fWidth = width;
333 x = (obj->fWidth - lastX - MARGIN);
344 rs_drawGlyphs(surface, font, glyphs, glyphCount, positions, x, y, obj->fWidth, obj->fHeight);
/external/pdfium/xfa/src/fwl/src/lightwidget/
H A Dwidget.cpp296 FX_FLOAT fWidth = bMultiLine local
300 rect.Set(0, 0, fWidth, FWL_WGT_CalcHeight);
/external/skia/include/views/
H A DSkView.h74 SkScalar width() const { return fWidth; }
81 void setHeight(SkScalar height) { this->setSize(fWidth, height); }
383 SkScalar fWidth, fHeight; member in class:SkView
/external/icu/icu4c/source/i18n/
H A Dtzfmt.cpp197 uint8_t fWidth; member in class:GMTOffsetField
203 : fText(NULL), fType(TEXT), fWidth(0) {
250 result->fWidth = width;
288 return fWidth;
/external/icu/icu4c/source/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...]
/external/pdfium/core/src/fpdfdoc/
H A Ddoc_ap.cpp798 FX_FLOAT fWidth,
810 if (fWidth > 0.0f) {
811 FX_FLOAT fHalfWidth = fWidth / 2.0f;
820 sAppStream << fLeft + fWidth << " " << fBottom + fWidth << " "
821 << fRight - fLeft - fWidth * 2 << " "
822 << fTop - fBottom - fWidth * 2 << " re\n";
830 sAppStream << fWidth << " w"
833 sAppStream << fLeft + fWidth / 2 << " " << fBottom + fWidth / local
796 GenerateBorderAP( const CPDF_Rect& rect, FX_FLOAT fWidth, const CPVT_Color& color, const CPVT_Color& crLeftTop, const CPVT_Color& crRightBottom, int32_t nStyle, const CPVT_Dash& dash) argument
841 sAppStream << fLeft + fWidth / 2 << " " << fBottom + fWidth / 2 local
893 sAppStream << fWidth << " w\\n"; local
894 sAppStream << fLeft << " " << fBottom + fWidth / 2 << " m\\n"; local
895 sAppStream << fRight << " " << fBottom + fWidth / 2 << " l S\\n"; local
[all...]
/external/pdfium/fpdfsdk/src/formfiller/
H A DFFL_FormFiller.cpp458 FX_FLOAT fWidth = rectAnnot.right - rectAnnot.left; local
461 return CPDF_Rect(0, 0, fHeight, fWidth);
463 return CPDF_Rect(0, 0, fWidth, fHeight);
/external/pdfium/xfa/src/fdp/src/tto/
H A Dfde_textout.cpp233 FX_FLOAT fWidth = 0.0f; local
252 RetrieveLineWidth(dwBreakStatus, fStartPos, fWidth, fHeight);
258 RetrieveLineWidth(dwBreakStatus, fStartPos, fWidth, fHeight);
275 rect.height = std::min(fWidth, rect.Height());
279 rect.width = std::min(fWidth, rect.Width());
305 FX_FLOAT& fWidth,
325 fWidth += fLineWidth;
327 fWidth = std::max(fWidth, fLineWidth);
303 RetrieveLineWidth(FX_DWORD dwBreakStatus, FX_FLOAT& fStartPos, FX_FLOAT& fWidth, FX_FLOAT& fHeight) argument
/external/pdfium/xfa/src/fwl/src/core/
H A Dfwl_formimp.cpp213 FX_FLOAT fWidth = local
227 rt.Set(m_fCYBorder + FWL_CornerEnlarge, 0, fWidth, m_fCXBorder);
232 fWidth, m_fCXBorder);
897 FX_FLOAT& fWidth,
907 bLeft ? (fWidth - fx + fLeft + fSpace) : (fx - fLeft + fSpace);
909 fWidth = fTemp;
912 if (fTemp < fLimitMin && fWidth > fLimitMin) {
913 fLeft += bLeft ? (fWidth - fLimitMin) : 0;
914 fWidth = fLimitMin;
915 } else if (fTemp > fLimitMax && fWidth < fLimitMa
896 DoWidthLimit(FX_FLOAT& fLeft, FX_FLOAT& fWidth, FX_FLOAT fCurX, FX_FLOAT fSpace, FX_FLOAT fLimitMin, FX_FLOAT fLimitMax, FX_BOOL bLeft) argument
1155 FX_FLOAT fTop, fLeft, fWidth, fHeight; local
[all...]
H A Dfwl_gridimp.cpp561 FX_FLOAT fWidth = 0; local
568 fWidth = fColunmWidth - fLeftMargin - fRightMargin;
572 fWidth = rtAuto.Width();
574 SetWidgetActualWidth(pInfo, fWidth);
611 FX_FLOAT fWidth = rtAuto.width; local
612 SetWidgetActualWidth(pInfo, fWidth);
646 FX_FLOAT CFWL_GridImp::ProcessColumns(FX_FLOAT fWidth) { argument
647 if (fWidth <= 0) {
652 return fWidth;
724 FX_FLOAT fScaledWidth = fWidth
822 FX_FLOAT fWidth = pColRow->m_fActualSize; local
935 FX_FLOAT fWidth = pColRow->m_fActualSize; local
1064 SetWidgetActualWidth(CFWL_GridWidgetInfo* pInfo, FX_FLOAT fWidth) argument
[all...]
/external/pdfium/xfa/src/fxfa/src/app/
H A Dxfa_fffield.cpp283 FX_FLOAT fWidth = rtUIMargin.left + rtUIMargin.width; local
285 if (fWidth > rtWidget.width) {
286 m_rtUI.width += fWidth - rtWidget.width;
311 FX_FLOAT fWidth = m_rtCaption.width + rtUIMargin.left + rtUIMargin.width; local
313 if (fWidth > rtWidget.width) {
314 m_rtUI.width += fWidth - rtWidget.width;
316 m_rtCaption.left += fWidth - rtWidget.width;
/external/skia/experimental/SkPerlinNoiseShader2/
H A DSkPerlinNoiseShader2.cpp91 : fWidth(0)
98 return fWidth == other.fWidth &&
104 int fWidth; // How much to subtract to wrap for stitching. member in struct:SkPerlinNoiseShader2::StitchData
117 { SkIntToScalar(tileSize.fWidth), SkIntToScalar(tileSize.fHeight) },
291 fStitchDataInit.fWidth =
293 fStitchDataInit.fWrapX = kPerlinNoise + fStitchDataInit.fWidth;
359 tileSize.fWidth = buffer.readInt();
380 buffer.writeInt(fTileSize.fWidth);
405 checkNoise(noiseX.noisePositionIntegerValue, stitchData.fWrapX, stitchData.fWidth);
[all...]

Completed in 891 milliseconds

1234