Home
last modified time | relevance | path

Searched refs:yMax (Results 1 – 25 of 88) sorted by relevance

1234

/external/fonttools/Lib/fontTools/misc/
DarrayTools.py34 xMin, yMin, xMax, yMax = bounds
35 return min(xMin, x), min(yMin, y), max(xMax, x), max(yMax, y)
40 xMin, yMin, xMax, yMax = rect
41 return (xMin <= x <= xMax) and (yMin <= y <= yMax)
49 xMin, yMin, xMax, yMax = rect
50 return [(xMin <= x <= xMax) and (yMin <= y <= yMax) for x, y in array]
66 (xMin, yMin, xMax, yMax) = rect
67 return min(xMin, xMax), min(yMin, yMax), max(xMin, xMax), max(yMin, yMax)
71 (xMin, yMin, xMax, yMax) = rect
72 return xMin * x, yMin * y, xMax * x, yMax * y
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
DBrentSolver.java160 double yMax = f.value(max); in solve() local
161 if (FastMath.abs(yMax) <= functionValueAccuracy) { in solve()
167 if (yInitial * yMax < 0) { in solve()
168 return solve(f, initial, yInitial, max, yMax, initial, yInitial); in solve()
172 LocalizedFormats.SAME_SIGN_AT_ENDPOINTS, min, max, yMin, yMax); in solve()
231 double yMax = f.value(max); in solve() local
234 double sign = yMin * yMax; in solve()
240 } else if (FastMath.abs(yMax) <= functionValueAccuracy) { in solve()
246 LocalizedFormats.SAME_SIGN_AT_ENDPOINTS, min, max, yMin, yMax); in solve()
250 ret = solve(f, min, yMin, max, yMax, min, yMin); in solve()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_m_a_x_p.py69 yMax = -INFINITY
85 yMax = max(yMax, g.yMax)
100 headTable.yMax = 0
105 headTable.yMax = yMax
DV_D_M_X_.py144 for yPelHeight, (yMax, yMin) in sorted(group.items()):
145 vTable = {'yPelHeight': yPelHeight, 'yMax': yMax, 'yMin': yMin}
179 for yPelHeight, (yMax, yMin) in sorted(group.items()):
182 [('yPelHeight', yPelHeight), ('yMax', yMax), ('yMin', yMin)])
231 yMax = safeEval(attrs["yMax"])
233 group[yPelHeight] = (yMax, yMin)
/external/freetype/src/tools/
Dtest_bbox.c122 XVAL( bbox.yMax ) ); in dump_outline()
130 XVAL( bbox.yMax ) ); in dump_outline()
153 XVAL( bbox.yMax ) ); in profile_outline()
155 bbox.xMin, bbox.yMin, bbox.xMax, bbox.yMax ); in profile_outline()
168 XVAL( bbox.yMax ) ); in profile_outline()
170 bbox.xMin, bbox.yMin, bbox.xMax, bbox.yMax ); in profile_outline()
/external/swiftshader/src/Shader/
DSetupRoutine.cpp168 Int yMax = Y[0]; in generate() local
175 yMax = Max(Y[i], yMax); in generate()
184 yMax = (yMax + 0x14) >> 4; in generate()
189 yMax = (yMax + 0x0F) >> 4; in generate()
192 If(yMin == yMax) in generate()
198 yMax = Min(yMax, *Pointer<Int>(data + OFFSET(DrawData,scissorY1))); in generate()
231 For(Int y = yMin - 1, y < yMax + 1, y++) in generate()
256 …For(, yMin < yMax && *Pointer<Short>(leftEdge + yMin * sizeof(Primitive::Span)) == *Pointer<Short>… in generate()
261yMax > yMin && *Pointer<Short>(leftEdge + (yMax - 1) * sizeof(Primitive::Span)) == *Pointer<Short>… in generate()
266 If(yMin == yMax) in generate()
[all …]
/external/swiftshader/src/Pipeline/
DSetupRoutine.cpp166 Int yMax = Y[0]; in generate() local
173 yMax = Max(Y[i], yMax); in generate()
182 yMax = (yMax + 0x14) >> 4; in generate()
187 yMax = (yMax + 0x0F) >> 4; in generate()
190 If(yMin == yMax) in generate()
196 yMax = Min(yMax, *Pointer<Int>(data + OFFSET(DrawData,scissorY1))); in generate()
229 For(Int y = yMin - 1, y < yMax + 1, y++) in generate()
254 …For(, yMin < yMax && *Pointer<Short>(leftEdge + yMin * sizeof(Primitive::Span)) == *Pointer<Short>… in generate()
259yMax > yMin && *Pointer<Short>(leftEdge + (yMax - 1) * sizeof(Primitive::Span)) == *Pointer<Short>… in generate()
264 If(yMin == yMax) in generate()
[all …]
/external/perfetto/ui/src/tracks/cpu_freq/
Dfrontend.ts77 let yMax = data.maximumValue;
79 const exp = Math.ceil(Math.log10(Math.max(yMax, 1)));
81 yMax = Math.ceil(yMax / (pow10 / 4)) * (pow10 / 4);
83 const num = yMax / Math.pow(10, unitGroup * 3);
101 const nextY = zeroY - Math.round((value / yMax) * RECT_HEIGHT);
129 const lastY = zeroY - Math.round((value / yMax) * RECT_HEIGHT);
150 const y = zeroY - Math.round((this.hoveredValue / yMax) * RECT_HEIGHT);
/external/perfetto/ui/src/tracks/counter/
Dfrontend.ts76 let yMax = Math.max(Math.abs(data.minimumValue), maxValue);
78 const exp = Math.ceil(Math.log10(Math.max(yMax, 1)));
80 yMax = Math.ceil(yMax / (pow10 / 4)) * (pow10 / 4);
81 const yRange = data.minimumValue < 0 ? yMax * 2 : yMax; constant
83 const yLabel = `${yMax / Math.pow(10, unitGroup * 3)} ${kUnits[unitGroup]}`;
/external/freetype/src/base/
Dftbbox.c53 if ( p->y > bbox.yMax ) \
54 bbox.yMax = p->y; \
61 ( p->y < bbox.yMin || p->y > bbox.yMax )
229 &user->bbox.yMax ); in BBox_Conic_To()
440 &user->bbox.yMax ); in BBox_Cubic_To()
484 abbox->yMin = abbox->yMax = 0; in FT_EXPORT_DEF()
507 cbox.yMin < bbox.yMin || cbox.yMax > bbox.yMax ) in FT_EXPORT_DEF()
Dftglyph.c129 cbox->yMax = glyph->top * 64; in ft_bitmap_glyph_bbox()
130 cbox->yMin = cbox->yMax - (FT_Pos)( glyph->bitmap.rows * 64 ); in ft_bitmap_glyph_bbox()
498 acbox->xMin = acbox->yMin = acbox->xMax = acbox->yMax = 0; in FT_Glyph_Get_CBox()
517 acbox->yMax = FT_PIX_CEIL( acbox->yMax ); in FT_Glyph_Get_CBox()
527 acbox->yMax >>= 6; in FT_Glyph_Get_CBox()
Dftoutln.c482 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local
492 yMax = 0; in FT_Outline_Get_CBox()
501 yMin = yMax = vec->y; in FT_Outline_Get_CBox()
515 if ( y > yMax ) yMax = y; in FT_Outline_Get_CBox()
521 acbox->yMax = yMax; in FT_Outline_Get_CBox()
636 cbox.xMax > 0x1000000L || cbox.yMax > 0x1000000L ) in FT_Outline_Render()
1072 if ( cbox.xMin == cbox.xMax || cbox.yMin == cbox.yMax ) in FT_Outline_Get_Orientation()
1079 yshift = FT_MSB( (FT_UInt32)( cbox.yMax - cbox.yMin ) ) - 14; in FT_Outline_Get_Orientation()
Dftlcdfil.c70 cbox->yMax += lcd_weights[4] ? 43 : in ft_lcd_padding()
384 cbox->yMax -= FT_MIN( FT_MIN( sub[0].y, sub[1].y ), sub[2].y ); in ft_lcd_padding()
391 cbox->yMax += FT_MAX( FT_MAX( sub[0].x, sub[1].x ), sub[2].x ); in ft_lcd_padding()
/external/pdfium/fxbarcode/pdf417/
DBC_PDF417BarcodeMatrix.cpp58 size_t yMax = m_height * yScale; in getScaledMatrix() local
61 m_matrixOut.resize(xMax * yMax); in getScaledMatrix()
63 m_outHeight = yMax; in getScaledMatrix()
65 for (size_t i = 0; i < yMax; i++) { in getScaledMatrix()
/external/swiftshader/src/Device/
DQuadRasterizer.cpp57 Int yMax = *Pointer<Int>(primitive + OFFSET(Primitive,yMax)); in generate()
64 If(yMin < yMax) in generate()
66 rasterize(yMin, yMax); in generate()
93 void QuadRasterizer::rasterize(Int &yMin, Int &yMax) in rasterize() argument
316 Until(y >= yMax) in rasterize()
/external/swiftshader/src/Renderer/
DQuadRasterizer.cpp57 Int yMax = *Pointer<Int>(primitive + OFFSET(Primitive,yMax)); in generate()
64 If(yMin < yMax) in generate()
66 rasterize(yMin, yMax); in generate()
93 void QuadRasterizer::rasterize(Int &yMin, Int &yMax) in rasterize() argument
316 Until(y >= yMax) in rasterize()
DPrimitive.hpp40 int yMax; member
/external/neven/FaceRecEm/common/src/b_FDSDK/
DDCR.c221 if( pRectA->xMax <= pRectA->xMin || pRectA->yMax <= pRectA->yMin ) in btk_DCR_assignImageROI()
233 pRectA->yMax >> 16 ); in btk_DCR_assignImageROI()
342 pRectA->yMax = ( pRectA->yMin + ( pRectA->xMax - pRectA->xMin ) ); in btk_DCR_getRect()
351 pRectA->yMax += ( int32 )hdcrA->dcrE.roiRectE.y1E << 16; in btk_DCR_getRect()
357 pRectA->yMax += ( int32 )hdcrA->dcrE.offsE.yE << 16; in btk_DCR_getRect()
/external/skqp/src/ports/
DSkFontHost_FreeType.cpp627 info->fBBox = SkIRect::MakeLTRB(face->bbox.xMin, face->bbox.yMax, in onGetAdvancedMetrics()
1082 bbox->yMax -= dy; in getBBoxForCurrentGlyph()
1090 bbox->yMax = (bbox->yMax + 63) & ~63; in getBBoxForCurrentGlyph()
1104 bbox->yMax += vector.y; in getBBoxForCurrentGlyph()
1197 bounds.yMax = std::max(bbox.yMax, bounds.yMax); in generateMetrics()
1203 if (!(bounds.xMin < bounds.xMax && bounds.yMin < bounds.yMax)) { in generateMetrics()
1220 bounds.yMax = SkFDot6Ceil (bounds.yMax); in generateMetrics()
1223 FT_Pos height = bounds.yMax - bounds.yMin; in generateMetrics()
1224 FT_Pos top = -bounds.yMax; // Freetype y-up, Skia y-down. in generateMetrics()
1431 ymax = -SkIntToScalar(face->bbox.yMax) / upem; in generateFontMetrics()
[all …]
/external/skia/src/ports/
DSkFontHost_FreeType.cpp627 info->fBBox = SkIRect::MakeLTRB(face->bbox.xMin, face->bbox.yMax, in onGetAdvancedMetrics()
1082 bbox->yMax -= dy; in getBBoxForCurrentGlyph()
1090 bbox->yMax = (bbox->yMax + 63) & ~63; in getBBoxForCurrentGlyph()
1104 bbox->yMax += vector.y; in getBBoxForCurrentGlyph()
1197 bounds.yMax = std::max(bbox.yMax, bounds.yMax); in generateMetrics()
1203 if (!(bounds.xMin < bounds.xMax && bounds.yMin < bounds.yMax)) { in generateMetrics()
1220 bounds.yMax = SkFDot6Ceil (bounds.yMax); in generateMetrics()
1223 FT_Pos height = bounds.yMax - bounds.yMin; in generateMetrics()
1224 FT_Pos top = -bounds.yMax; // Freetype y-up, Skia y-down. in generateMetrics()
1431 ymax = -SkIntToScalar(face->bbox.yMax) / upem; in generateFontMetrics()
[all …]
/external/freetype/src/autofit/
Dafloader.c537 bbox.yMax = FT_PIX_CEIL( bbox.yMax ); in af_loader_load_glyph()
540 slot->metrics.height = bbox.yMax - bbox.yMin; in af_loader_load_glyph()
542 slot->metrics.horiBearingY = bbox.yMax; in af_loader_load_glyph()
545 slot->metrics.vertBearingY = FT_PIX_FLOOR( bbox.yMax + vvector.y ); in af_loader_load_glyph()
/external/freetype/src/type1/
Dt1afm.c262 fi->Ascender = t1_font->font_bbox.yMax; in T1_Read_Metrics()
304 t1_face->bbox.yMax = ( fi->FontBBox.yMax + 0xFFFF ) >> 16; in T1_Read_Metrics()
/external/freetype/src/cid/
Dcidobjs.c437 cidface->bbox.yMax = ( cid->font_bbox.yMax + 0xFFFF ) >> 16; in cid_face_init()
442 cidface->ascender = (FT_Short)( cidface->bbox.yMax ); in cid_face_init()
/external/harfbuzz_ng/src/
Dhb-ot-glyf-table.hh131 FWORD yMax; /* Maximum y for coordinate data. */ member
455 extents->y_bearing = MAX (glyph_header.yMin, glyph_header.yMax); in get_extents()
457 extents->height = MIN (glyph_header.yMin, glyph_header.yMax) - extents->y_bearing; in get_extents()
/external/freetype/src/truetype/
Dttgload.h46 FT_Pos yMax,

1234