Home
last modified time | relevance | path

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

1234

/external/fonttools/Lib/fontTools/misc/
DarrayTools.py57 xMin, yMin, xMax, yMax = bounds
58 return min(xMin, x), min(yMin, y), max(xMax, x), max(yMax, y)
72 xMin, yMin, xMax, yMax = rect
73 return (xMin <= x <= xMax) and (yMin <= y <= yMax)
88 xMin, yMin, xMax, yMax = rect
89 return [(xMin <= x <= xMax) and (yMin <= y <= yMax) for x, y in array]
130 (xMin, yMin, xMax, yMax) = rect
131 return min(xMin, xMax), min(yMin, yMax), max(xMin, xMax), max(yMin, yMax)
145 (xMin, yMin, xMax, yMax) = rect
146 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/freetype/src/tools/
Dtest_bbox.c121 XVAL( bbox.yMax ) ); in dump_outline()
129 XVAL( bbox.yMax ) ); in dump_outline()
152 XVAL( bbox.yMax ) ); in profile_outline()
154 bbox.xMin, bbox.yMin, bbox.xMax, bbox.yMax ); in profile_outline()
167 XVAL( bbox.yMax ) ); in profile_outline()
169 bbox.xMin, bbox.yMin, bbox.xMax, bbox.yMax ); in profile_outline()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_m_a_x_p.py67 yMax = -INFINITY
83 yMax = max(yMax, g.yMax)
98 headTable.yMax = 0
103 headTable.yMax = yMax
DV_D_M_X_.py142 for yPelHeight, (yMax, yMin) in sorted(group.items()):
143 vTable = {'yPelHeight': yPelHeight, 'yMax': yMax, 'yMin': yMin}
177 for yPelHeight, (yMax, yMin) in sorted(group.items()):
180 [('yPelHeight', yPelHeight), ('yMax', yMax), ('yMin', yMin)])
229 yMax = safeEval(attrs["yMax"])
231 group[yPelHeight] = (yMax, yMin)
D_h_e_a_d.py66 self.xMin, self.yMin, self.xMax, self.yMax = intRect(topDict.FontBBox)
79 self.xMin, self.yMin, self.xMax, self.yMax = intRect(fontBBox)
/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()
193 yMax = Min(yMax, *Pointer<Int>(data + OFFSET(DrawData,scissorY1))); in generate()
198 If(yMin >= yMax) in generate()
234 For(Int y = yMin - 1, y < yMax + 1, y++) in generate()
259 …For(, yMin < yMax && *Pointer<Short>(leftEdge + yMin * sizeof(Primitive::Span)) == *Pointer<Short>… in generate()
264yMax > yMin && *Pointer<Short>(leftEdge + (yMax - 1) * sizeof(Primitive::Span)) == *Pointer<Short>… in generate()
269 If(yMin == yMax) in generate()
[all …]
/external/swiftshader/src/Pipeline/
DSetupRoutine.cpp147 Int yMax = Y[0]; in generate() local
154 yMax = Max(Y[i], yMax); in generate()
167 yMax = (yMax + Constants::yMaxMultiSampleOffset) >> subPixB; in generate()
172 yMax = (yMax + subPixM) >> subPixB; in generate()
176 yMax = Min(yMax, *Pointer<Int>(data + OFFSET(DrawData, scissorY1))); in generate()
181 If(yMin >= yMax) in generate()
218 For(Int y = yMin - 1, y < yMax + 1, y++) in generate()
243 …For(, yMin < yMax && *Pointer<Short>(leftEdge + yMin * sizeof(Primitive::Span)) == *Pointer<Short>… in generate()
248yMax > yMin && *Pointer<Short>(leftEdge + (yMax - 1) * sizeof(Primitive::Span)) == *Pointer<Short>… in generate()
253 If(yMin == yMax) in generate()
[all …]
/external/freetype/src/base/
Dftbbox.c52 if ( p->y > bbox.yMax ) \
53 bbox.yMax = p->y; \
60 ( p->y < bbox.yMin || p->y > bbox.yMax )
228 &user->bbox.yMax ); in BBox_Conic_To()
439 &user->bbox.yMax ); in BBox_Cubic_To()
483 abbox->yMin = abbox->yMax = 0; in FT_EXPORT_DEF()
506 cbox.yMin < bbox.yMin || cbox.yMax > bbox.yMax ) in FT_EXPORT_DEF()
Dftoutln.c460 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local
470 yMax = 0; in FT_Outline_Get_CBox()
479 yMin = yMax = vec->y; in FT_Outline_Get_CBox()
493 if ( y > yMax ) yMax = y; in FT_Outline_Get_CBox()
499 acbox->yMax = yMax; in FT_Outline_Get_CBox()
614 cbox.xMax > 0x1000000L || cbox.yMax > 0x1000000L ) in FT_Outline_Render()
629 params->clip_box.yMax = ( cbox.yMax + 63 ) >> 6; in FT_Outline_Render()
1060 if ( cbox.xMin == cbox.xMax || cbox.yMin == cbox.yMax ) in FT_Outline_Get_Orientation()
1065 cbox.xMax > 0x1000000L || cbox.yMax > 0x1000000L ) in FT_Outline_Get_Orientation()
1072 yshift = FT_MSB( (FT_UInt32)( cbox.yMax - cbox.yMin ) ) - 14; in FT_Outline_Get_Orientation()
Dftglyph.c130 cbox->yMax = glyph->top * 64; in ft_bitmap_glyph_bbox()
131 cbox->yMin = cbox->yMax - (FT_Pos)( glyph->bitmap.rows * 64 ); in ft_bitmap_glyph_bbox()
499 acbox->xMin = acbox->yMin = acbox->xMax = acbox->yMax = 0; in FT_Glyph_Get_CBox()
518 acbox->yMax = FT_PIX_CEIL_LONG( acbox->yMax ); in FT_Glyph_Get_CBox()
528 acbox->yMax >>= 6; in FT_Glyph_Get_CBox()
Dftlcdfil.c69 cbox->yMax += lcd_weights[4] ? 43 : in ft_lcd_padding()
383 cbox->yMax -= FT_MIN( FT_MIN( sub[0].y, sub[1].y ), sub[2].y ); in ft_lcd_padding()
390 cbox->yMax += FT_MAX( FT_MAX( sub[0].x, sub[1].x ), sub[2].x ); in ft_lcd_padding()
/external/perfetto/ui/src/tracks/cpu_freq/
Dfrontend.ts73 let yMax = data.maximumValue;
75 const exp = Math.ceil(Math.log10(Math.max(yMax, 1)));
77 yMax = Math.ceil(yMax / (pow10 / 4)) * (pow10 / 4);
79 const num = yMax / Math.pow(10, unitGroup * 3);
96 return zeroY - Math.round((value / yMax) * RECT_HEIGHT);
173 const y = zeroY - Math.round((this.hoveredValue / yMax) * RECT_HEIGHT);
/external/perfetto/ui/src/tracks/counter/
Dfrontend.ts153 let yMax = Math.max(Math.abs(minimumValue), maxValue);
155 const exp = Math.ceil(Math.log10(Math.max(yMax, 1)));
157 yMax = Math.ceil(yMax / (pow10 / 4)) * (pow10 / 4);
167 yRange = minimumValue < 0 ? yMax * 2 : yMax;
168 yMin = minimumValue < 0 ? -yMax : 0;
169 yLabel = `${yMax / Math.pow(10, unitGroup * 3)} ${kUnits[unitGroup]}`;
/external/swiftshader/src/Device/
DQuadRasterizer.cpp43 Int yMax = *Pointer<Int>(primitive + OFFSET(Primitive, yMax)); in generate()
50 If(yMin < yMax) in generate()
52 rasterize(yMin, yMax); in generate()
70 void QuadRasterizer::rasterize(Int &yMin, Int &yMax) in rasterize() argument
231 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/skia/src/ports/
DSkFontHost_FreeType.cpp663 info->fBBox = SkIRect::MakeLTRB(face->bbox.xMin, face->bbox.yMax, in onGetAdvancedMetrics()
1206 bbox->yMax -= dy; in getBBoxForCurrentGlyph()
1214 bbox->yMax = (bbox->yMax + 63) & ~63; in getBBoxForCurrentGlyph()
1228 bbox->yMax += vector.y; in getBBoxForCurrentGlyph()
1344 bboxOutline.points[1].y = bbox_untransformed.yMax; in generateMetrics()
1347 bboxOutline.points[2].y = bbox_untransformed.yMax; in generateMetrics()
1385 bounds.yMax = std::max(bbox.yMax, bounds.yMax); in generateMetrics()
1392 if (!(bounds.xMin < bounds.xMax && bounds.yMin < bounds.yMax)) { in generateMetrics()
1409 bounds.yMax = SkFDot6Ceil (bounds.yMax); in generateMetrics()
1412 FT_Pos height = bounds.yMax - bounds.yMin; in generateMetrics()
[all …]
/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/swiftshader/src/Renderer/
DQuadRasterizer.cpp57 yMax = *Pointer<Int>(primitive + OFFSET(Primitive,yMax)); in generate()
64 If(yMin < yMax) in generate()
316 Until(y >= yMax); in rasterize()
DPrimitive.hpp40 int yMax; member
/external/freetype/src/autofit/
Dafloader.c542 bbox.yMax = FT_PIX_CEIL( bbox.yMax ); in af_loader_load_glyph()
545 slot->metrics.height = bbox.yMax - bbox.yMin; in af_loader_load_glyph()
547 slot->metrics.horiBearingY = bbox.yMax; in af_loader_load_glyph()
550 slot->metrics.vertBearingY = FT_PIX_FLOOR( bbox.yMax + vvector.y ); in af_loader_load_glyph()
/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/freetype/src/type1/
Dt1afm.c261 fi->Ascender = t1_font->font_bbox.yMax; in T1_Read_Metrics()
303 t1_face->bbox.yMax = ( fi->FontBBox.yMax + 0xFFFF ) >> 16; in T1_Read_Metrics()
/external/freetype/src/truetype/
Dttgload.h45 FT_Pos yMax,

1234