HomeSort by relevance Sort by last modified time
    Searched refs:tf (Results 1 - 25 of 64) sorted by null

1 2 3

  /external/webkit/WebKit/android/plugins/
ANPTypefaceInterface.cpp 32 SkTypeface* tf = SkTypeface::CreateFromName(name, local
34 return reinterpret_cast<ANPTypeface*>(tf);
39 SkTypeface* tf = SkTypeface::CreateFromTypeface(family, local
41 return reinterpret_cast<ANPTypeface*>(tf);
44 static int32_t anp_getRefCount(const ANPTypeface* tf) {
45 return tf ? tf->getRefCnt() : 0;
48 static void anp_ref(ANPTypeface* tf) {
49 tf->safeRef();
52 static void anp_unref(ANPTypeface* tf) {
    [all...]
  /device/samsung/crespo/
releasetools.py 73 tf = common.File("radio.img", info.target_zip.read("RADIO/radio.img"))
77 if tf.sha1 == sf.sha1:
80 diff = common.Difference(tf, sf)
83 if d is None or len(d) > tf.size * common.OPTIONS.patch_threshold:
86 tf.AddToZip(info.output_zip)
88 info.script.WriteRawImage("radio", tf.name)
95 sf.size, sf.sha1, tf.size, tf.sha1),
96 "-", tf.size, tf.sha1, sf.sha1, "radio.img.p"
    [all...]
  /frameworks/base/core/java/android/text/style/
StyleSpan.java 93 Typeface tf; local
95 tf = Typeface.defaultFromStyle(want);
97 tf = Typeface.create(old, want);
100 int fake = want & ~tf.getStyle();
110 paint.setTypeface(tf);
TextAppearanceSpan.java 72 int tf = a.getInt(com.android.internal.R.styleable.TextAppearance_typeface, 0); local
74 switch (tf) {
216 Typeface tf = ds.getTypeface(); local
219 if (tf != null) {
220 style = tf.getStyle();
226 tf = Typeface.create(mTypeface, style);
227 } else if (tf == null) {
228 tf = Typeface.defaultFromStyle(style);
230 tf = Typeface.create(tf, style)
    [all...]
TypefaceSpan.java 83 Typeface tf = Typeface.create(family, oldStyle); local
84 int fake = oldStyle & ~tf.getStyle();
94 paint.setTypeface(tf);
  /development/tools/findunused/
removeunusedresources 61 xmlstarlet ed -P -S -d "/resources/string[@name='$LINE']" $RESLINE > tf$$
62 mv tf$$ $RESLINE
66 xmlstarlet ed -P -S -d "/resources/*[@name='$LINE']" $RESLINE > tf$$
67 mv tf$$ $RESLINE
  /external/chromium/third_party/icu/source/test/perf/unisetperf/
unisetperf.cpp 99 UBool tf=FALSE; local
101 i=span(s, length, i, tf);
102 tf=(UBool)(!tf);
106 int32_t span(const UChar *s, int32_t length, int32_t start, UBool tf) const {
111 if(tf!=set.contains(c)) {
181 UBool tf=FALSE; local
183 i+=span(set, s+i, length-i, tf);
184 tf=(UBool)(!tf);
243 UBool tf=FALSE; local
298 UBool tf=(UBool)((testcase.spanCount&1)==0); local
344 UBool tf=FALSE; local
394 UBool tf=(UBool)((testcase.spanCount&1)==0); local
    [all...]
  /external/icu4c/test/perf/unisetperf/
unisetperf.cpp 99 UBool tf=FALSE; local
101 i=span(s, length, i, tf);
102 tf=(UBool)(!tf);
106 int32_t span(const UChar *s, int32_t length, int32_t start, UBool tf) const {
111 if(tf!=set.contains(c)) {
181 UBool tf=FALSE; local
183 i+=span(set, s+i, length-i, tf);
184 tf=(UBool)(!tf);
243 UBool tf=FALSE; local
298 UBool tf=(UBool)((testcase.spanCount&1)==0); local
344 UBool tf=FALSE; local
394 UBool tf=(UBool)((testcase.spanCount&1)==0); local
    [all...]
  /external/webkit/WebCore/platform/graphics/android/
FontCacheAndroid.cpp 113 SkTypeface* tf = SkTypeface::CreateFromName(name, (SkTypeface::Style)style); local
115 FontPlatformData* result = new FontPlatformData(tf,
117 (style & SkTypeface::kBold) && !tf->isBold(),
118 (style & SkTypeface::kItalic) && !tf->isItalic());
119 tf->unref();
FontPlatformDataAndroid.cpp 89 FontPlatformData::FontPlatformData(SkTypeface* tf, float textSize, bool fakeBold, bool fakeItalic)
90 : mTypeface(tf), mTextSize(textSize), mFakeBold(fakeBold), mFakeItalic(fakeItalic)
  /external/webkit/WebCore/platform/graphics/chromium/
FontCacheLinux.cpp 142 SkTypeface* tf = SkTypeface::CreateFromName(name, static_cast<SkTypeface::Style>(style)); local
143 if (!tf)
147 new FontPlatformData(tf,
149 (style & SkTypeface::kBold) && !tf->isBold(),
150 (style & SkTypeface::kItalic) && !tf->isItalic());
151 tf->unref();
FontPlatformDataLinux.cpp 77 FontPlatformData::FontPlatformData(SkTypeface* tf, float textSize, bool fakeBold, bool fakeItalic)
78 : m_typeface(tf)
  /libcore/luni/src/test/java/tests/api/java/lang/reflect/
GenericSignatureFormatErrorTest.java 42 File tf = File.createTempFile("classes", ".dex"); local
44 // +tf.getAbsolutePath()+", canRead: "+tf.canRead()
45 // +", canWrite: "+tf.canWrite());
79 File tf = File.createTempFile("classes", ".dex"); local
81 // tf.getAbsolutePath() + ", canRead: " + tf.canRead() +
82 // ", canWrite: "+tf.canWrite());
85 OutputStream fos = new FileOutputStream(tf);
92 //System.out.println("file length:"+tf.length())
    [all...]
  /external/bluetooth/bluez/audio/
gstbluetooth.c 46 static void sbc_typefind(GstTypeFind *tf, gpointer ignore)
51 guint8 *data = gst_type_find_peek(tf, 0, 32);
65 gst_type_find_suggest(tf, GST_TYPE_FIND_POSSIBLE, caps);
  /external/kernel-headers/original/linux/
ata.h 335 static inline int is_atapi_taskfile(const struct ata_taskfile *tf)
337 return (tf->protocol == ATA_PROT_ATAPI) ||
338 (tf->protocol == ATA_PROT_ATAPI_NODATA) ||
339 (tf->protocol == ATA_PROT_ATAPI_DMA);
342 static inline int is_multi_taskfile(struct ata_taskfile *tf)
344 return (tf->command == ATA_CMD_READ_MULTI) ||
345 (tf->command == ATA_CMD_WRITE_MULTI) ||
346 (tf->command == ATA_CMD_READ_MULTI_EXT) ||
347 (tf->command == ATA_CMD_WRITE_MULTI_EXT) ||
348 (tf->command == ATA_CMD_WRITE_MULTI_FUA_EXT)
    [all...]
  /development/apps/FontLab/src/com/android/fontlab/
FontLab.java 119 Typeface tf = mColumn1.getTypeface(); local
125 + " " + sStyleName[tf.getStyle()]
156 private static boolean canSupportStyle(Typeface tf, int styleBits) {
157 tf = Typeface.create(tf, styleBits);
158 return (tf.getStyle() & styleBits) == styleBits;
162 Typeface tf = Typeface.create(sTypeface[mFontIndex], mFontStyle); local
163 mColumn1.setTypeface(tf);
164 mColumn2.setTypeface(tf);
  /external/skia/src/ports/
SkFontHost_android.cpp 471 SkTypeface* tf = SkNEW_ARGS(FileTypeface, local
482 // rec[i].fFileName, fallbackCount, tf->uniqueID());
483 gFallbackFonts[fallbackCount++] = tf->uniqueID();
486 firstInFamily = tf;
487 FamilyRec* family = find_family(tf);
566 SkTypeface* tf = NULL; local
569 tf = find_typeface(familyFace, style);
572 tf = find_typeface(familyName, style);
575 if (NULL == tf) {
576 tf = find_best_face(gDefaultFamily, style)
593 FamilyTypeface* tf = (FamilyTypeface*)find_from_uniqueID(fontID); local
607 FamilyTypeface* tf = (FamilyTypeface*)find_from_uniqueID(fontID); local
    [all...]
  /cts/tests/tests/text/src/android/text/style/cts/
StyleSpanTest.java 80 Typeface tf = Typeface.defaultFromStyle(Typeface.NORMAL); local
81 tp.setTypeface(tf);
109 Typeface tf = Typeface.defaultFromStyle(Typeface.NORMAL); local
110 tp.setTypeface(tf);
  /build/tools/releasetools/
ota_from_target_files 476 tf = target_data[fn]
477 assert fn == tf.name
485 tf.AddToZip(output_zip)
486 verbatim_targets.append((fn, tf.size))
487 elif tf.sha1 != sf.sha1:
489 diffs.append(common.Difference(tf, sf))
497 tf, sf, d = diff.GetPatch()
498 if d is None or len(d) > tf.size * OPTIONS.patch_threshold:
500 tf.AddToZip(output_zip)
501 verbatim_targets.append((tf.name, tf.size)
    [all...]
common.py 674 def __init__(self, tf, sf):
675 self.tf = tf
681 tf. Returns the same tuple as GetPatch()."""
683 tf = self.tf
686 ext = os.path.splitext(tf.name)[1]
689 ttemp = tf.WriteToTemp()
692 ext = os.path.splitext(tf.name)[1]
715 return self.tf, self.sf, self.patc
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
DigitalClock.java 77 AmPm(View parent, Typeface tf) {
79 if (tf != null) {
80 mAmPm.setTypeface(tf);
  /frameworks/base/tests/BrowserTestPlugin/jni/event/
EventPlugin.cpp 89 ANPTypeface* tf = gTypefaceI.createFromName("serif", kItalic_ANPTypefaceStyle); local
90 gPaintI.setTypeface(paint, tf);
91 gTypefaceI.unref(tf);
  /external/protobuf/src/google/protobuf/compiler/
zip_output_unittest.sh 71 jar tf testzip.jar > testzip.list || fail 'jar failed.'
  /frameworks/base/core/tests/coretests/src/android/text/
SpannedTest.java 99 TypefaceSpan[] tf = s2.getSpans(8, 9, TypefaceSpan.class); local
100 assertEquals(1, tf.length);
101 assertEquals(8, s2.getSpanStart(tf[0]));
102 assertEquals(9, s2.getSpanEnd(tf[0]));
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
BatteryHistoryChart.java 293 Typeface tf = null; local
296 tf = Typeface.SANS_SERIF;
300 tf = Typeface.SERIF;
304 tf = Typeface.MONOSPACE;
308 setTypeface(tf, styleIndex);
315 public void setTypeface(Typeface tf, int style) {
317 if (tf == null) {
318 tf = Typeface.defaultFromStyle(style);
320 tf = Typeface.create(tf, style)
    [all...]

Completed in 1022 milliseconds

1 2 3