HomeSort by relevance Sort by last modified time
    Searched full:widths (Results 1 - 25 of 555) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/pdfium/xfa/src/fxbarcode/
BC_UtilRSS.cpp 34 CBC_AutoPtr<CFX_Int32Array> widths(iTemp);
66 (*widths)[bar] = elmWidth;
68 (*widths)[bar] = n;
69 return widths.release();
71 int32_t CBC_UtilRSS::GetRSSvalue(CFX_Int32Array& widths,
74 int32_t elements = widths.GetSize();
77 n += widths[i];
83 for (elmWidth = 1, narrowMask |= (1 << bar); elmWidth < widths[bar];
134 CFX_Int32Array* widths = new CFX_Int32Array; local
135 widths->SetSize(eDist.GetSize() + 2);
    [all...]
BC_UtilRSS.h 13 static int32_t GetRSSvalue(CFX_Int32Array& widths,
  /external/libgdx/gdx/src/com/badlogic/gdx/math/
Interpolation.java 246 public Bounce (float[] widths, float[] heights) {
247 super(widths, heights);
255 float test = a + widths[0] / 2;
256 if (test < widths[0]) return test / (widths[0] / 2) - 1;
267 final float[] widths, heights; field in class:Interpolation.BounceOut
269 public BounceOut (float[] widths, float[] heights) {
270 if (widths.length != heights.length)
271 throw new IllegalArgumentException("Must be the same number of widths and heights.");
272 this.widths = widths;
    [all...]
  /external/skia/experimental/ChromeUtils/
SkBorder.cpp 21 const SkScalar widths[4],
28 memcpy(fWidths, widths, sizeof(fWidths));
  /external/fonttools/Lib/fontTools/ttLib/tables/
_h_d_m_x.py 23 widths = {}
25 widths[glyphOrder[glyphID]] = byteord(data[glyphID+2])
26 self.hdmx[ppem] = widths
39 for ppem, widths in items:
40 data = data + bytechr(ppem) + bytechr(max(widths.values()))
42 width = widths[glyphOrder[glyphID]]
54 widths = self.hdmx[ppem]
55 records.append(widths)
67 widths = self.hdmx[ppem]
68 row.append(widths[glyphName]
    [all...]
  /external/skia/gm/
glyph_pos_align.cpp 45 SkScalar widths[kMaxStringLength]; local
51 paint.getTextWidths(text, length, widths);
63 posX[i] = x + originX * widths[i];
65 x += widths[i];
getpostextpath.cpp 41 SkAutoTArray<SkScalar> widths(len);
42 paint.getTextWidths(text, len, &widths[0]);
49 x += widths[i];
pdf_never_embed.cpp 17 SkAutoTArray<SkScalar> widths(SkToInt(textLen));
18 paint.getTextWidths(text, textLen, &widths[0]);
22 x += widths[i];
  /cts/tests/tests/graphics/src/android/graphics/cts/
PaintTest.java 74 float[] widths = new float[text.length()]; local
75 assertEquals(text.length(), p.getTextWidths(text, widths));
79 totalWidth += widths[i];
84 assertBreakText(text, textChars, textSpan, i, i + 1, true, totalWidth, 1, widths[i]);
92 3, widths[0] + widths[1] + widths[2]);
96 3, widths[0] + widths[1] + widths[2])
1003 float[] widths = new float[text.length()]; local
1067 float[] widths = new float[] {-1, -1, -1, -1}; local
    [all...]
  /frameworks/base/core/jni/
android_text_StaticLayout.cpp 46 jfieldID widths; member in struct:android::JLineBreaksID
76 const jfloat* widths, const jint* flags) {
84 env->SetObjectField(recycle, gLineBreaks_fieldID.widths, recycleWidths);
89 env->SetFloatArrayRegion(recycleWidths, 0, nBreaks, widths);
168 jint start, jint end, jfloatArray widths) {
170 env->GetFloatArrayRegion(widths, start, end - start, b->charWidths() + start);
180 static void nGetWidths(JNIEnv* env, jclass, jlong nativePtr, jfloatArray widths) {
182 env->SetFloatArrayRegion(widths, 0, b->size(), b->charWidths());
208 gLineBreaks_fieldID.widths = GetFieldIDOrDie(env, gLineBreaks_class, "widths", "[F")
    [all...]
  /external/freetype/src/autofit/
aflatin.h 87 FT_UInt width_count; /* number of used widths */
88 AF_WidthRec widths[AF_LATIN_MAX_WIDTHS]; /* widths array */ member in struct:AF_LatinAxisRec_
168 AF_WidthRec* widths,
178 AF_WidthRec* widths,
afcjk.h 78 FT_UInt width_count; /* number of used widths */
79 AF_WidthRec widths[AF_CJK_MAX_WIDTHS]; /* widths array */ member in struct:AF_CJKAxisRec_
  /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/autofit/
aflatin.h 89 FT_UInt width_count; /* number of used widths */
90 AF_WidthRec widths[AF_LATIN_MAX_WIDTHS]; /* widths array */ member in struct:AF_LatinAxisRec_
170 AF_WidthRec* widths,
180 AF_WidthRec* widths,
afcjk.h 78 FT_UInt width_count; /* number of used widths */
79 AF_WidthRec widths[AF_CJK_MAX_WIDTHS]; /* widths array */ member in struct:AF_CJKAxisRec_
  /packages/apps/DeskClock/src/com/android/deskclock/timer/
TimerView.java 87 float widths[] = new float[allDigits.length()]; local
88 int ll = paint.getTextWidths(allDigits, widths);
91 if (widths[ii] > widths[largest]) {
96 textView.setPadding((int) (gapPadding * widths[largest]), 0, 0, 0);
  /frameworks/base/core/java/android/text/
MeasuredText.java 171 // try to do widths measurement in native code, but use Java if paint has been subclassed
173 float[] widths = null; local
175 widths = mWidths;
180 if (widths != null) {
181 width = paint.getTextRunAdvances(mChars, p, len, p, len, isRtl, widths, p);
183 mBuilder.addMeasuredRun(p, p + len, widths);
196 if (widths != null) {
198 paint.getTextRunAdvances(mChars, q, i - q, q, i - q, isRtl, widths, q);
200 mBuilder.addMeasuredRun(q, i, widths);
GraphicsOperations.java 24 * draw/measure/widths calculations from an internal array.
51 public int getTextWidths(int start, int end, float[] widths, Paint p);
  /external/freetype/src/pshinter/
pshglob.h 57 /* The maximum number of standard and snap widths in either the */
73 /* standard and snap widths table */
77 PSH_WidthRec widths[PS_GLOBALS_MAX_STD_WIDTHS]; member in struct:PSH_WidthsRec_
  /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pshinter/
pshglob.h 57 /* The maximum number of standard and snap widths in either the */
73 /* standard and snap widths table */
77 PSH_WidthRec widths[PS_GLOBALS_MAX_STD_WIDTHS]; member in struct:PSH_WidthsRec_
  /external/pdfium/third_party/freetype/src/pshinter/
pshglob.h 57 /* The maximum number of standard and snap widths in either the */
73 /* standard and snap widths table */
77 PSH_WidthRec widths[PS_GLOBALS_MAX_STD_WIDTHS]; member in struct:PSH_WidthsRec_
  /external/skia/samplecode/
SampleMeasure.cpp 42 SkScalar* widths = autoWidths.get(); local
52 int n = p.getTextWidths(text, len, widths, rects);
69 x += widths[j];
  /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/include/freetype/
ftttdrv.h 66 * get the widths) there was a bit in the head table indicating if the
68 * cache hinting widths across multiple sizes and device aspect ratios.
74 * widths matched the bi-level rendering.
82 * `natural widths' ClearType, see
85 * possible for hints to change the advance widths in this mode.
94 * ClearType, with the difference in widths being absorbed in the font
97 * definition, compatible width ClearType allows for non-linear widths,
98 * but only when the bi-level version has non-linear widths.
103 * display fractional widths; unfortunately, the GDI model of integer
105 * frameworks do support fractional widths. DWrite calls this `natura
    [all...]
  /external/pdfium/third_party/freetype/include/freetype/
ftttdrv.h 66 * get the widths) there was a bit in the head table indicating if the
68 * cache hinting widths across multiple sizes and device aspect ratios.
74 * widths matched the bi-level rendering.
82 * `natural widths' ClearType, see
85 * possible for hints to change the advance widths in this mode.
94 * ClearType, with the difference in widths being absorbed in the font
97 * definition, compatible width ClearType allows for non-linear widths,
98 * but only when the bi-level version has non-linear widths.
103 * display fractional widths; unfortunately, the GDI model of integer
105 * frameworks do support fractional widths. DWrite calls this `natura
    [all...]
  /external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
Relay.java 103 float[] widths = null; local
106 widths = new float[BUFFER_SIZE];
143 bridge.getPaint().getTextWidths(charArray, 0, offset, widths);
145 wideAttribute[i] = (byte) (((int) widths[i] != charWidth) ? 1 : 0);
  /frameworks/base/tools/layoutlib/bridge/src/android/text/
StaticLayout_Delegate.java 102 /*package*/ static void nAddMeasuredRun(long nativeBuilder, int start, int end, float[] widths) {
105 System.arraycopy(widths, start, builder.mWidths, start, end - start);
176 private static List<Primitive> computePrimitives(@NonNull char[] text, @NonNull float[] widths,
186 primitives.add(PrimitiveType.GLUE.getNewPrimitive(i, widths[i]));
194 if (widths[i] != 0) {
203 primitives.add(PrimitiveType.BOX.getNewPrimitive(i, widths[i]));
213 float[] widths, int bidiFlags) {
216 .renderText(index, index + count, bidiFlags, widths, 0, false);

Completed in 3909 milliseconds

1 2 3 4 5 6 7 8 91011>>