/cts/tests/tests/graphics/src/android/graphics/cts/ |
Paint_StyleTest.java | 25 import android.graphics.Paint.Style; 27 @TestTargetClass(Paint.Style.class) 36 assertEquals(Style.FILL, Style.valueOf("FILL")); 37 assertEquals(Style.STROKE, Style.valueOf("STROKE")); 38 assertEquals(Style.FILL_AND_STROKE, Style.valueOf("FILL_AND_STROKE")); 50 args = {android.graphics.Paint.Style.class} 60 Style[] actual = Style.values() [all...] |
PathDashPathEffect_StyleTest.java | 20 import android.graphics.PathDashPathEffect.Style; 26 @TestTargetClass(PathDashPathEffect.Style.class) 36 assertEquals(Style.TRANSLATE, Style.valueOf("TRANSLATE")); 37 assertEquals(Style.ROTATE, Style.valueOf("ROTATE")); 38 assertEquals(Style.MORPH, Style.valueOf("MORPH")); 39 // Every Style element will be tested somewhere else. 49 Style[] expected = [all...] |
CornerPathEffectTest.java | 33 import android.graphics.Paint.Style; 63 pathPaint.setStyle(Style.STROKE); 84 expectedPaint.setStyle(Style.STROKE);
|
DiscretePathEffectTest.java | 31 import android.graphics.Paint.Style; 56 paint.setStyle(Style.STROKE); 73 paint.setStyle(Style.STROKE);
|
/frameworks/base/graphics/java/android/graphics/ |
PathDashPathEffect.java | 21 public enum Style { 26 Style(int value) { 34 * applies to drawings when the paint's style is STROKE or STROKE_AND_FILL. 35 * If the paint's style is FILL, then this effect is ignored. The paint's 40 * @param style how to transform the shape at each position as it is stamped 43 Style style) { 45 style.native_style);
|
/external/skia/src/core/ |
SkTypefaceCache.h | 33 typedef bool (*FindProc)(SkTypeface*, SkTypeface::Style, void* context); 46 static void Add(SkTypeface*, SkTypeface::Style requested); 70 void add(SkTypeface*, SkTypeface::Style requested); 77 SkTypeface::Style fRequestedStyle;
|
SkTypeface.cpp | 27 SkTypeface::SkTypeface(Style style, SkFontID fontID, bool isFixedWidth) 28 : fUniqueID(fontID), fStyle(style), fIsFixedWidth(isFixedWidth) { 71 SkTypeface* SkTypeface::CreateFromName(const char name[], Style style) { 72 return SkFontHost::CreateTypeface(NULL, name, NULL, 0, style); 76 Style s) { 80 SkTypeface* SkTypeface::CreateFromTypeface(const SkTypeface* family, Style s) {
|
SkTypefaceCache.cpp | 23 void SkTypefaceCache::add(SkTypeface* face, SkTypeface::Style requestedStyle) { 90 void SkTypefaceCache::Add(SkTypeface* face, SkTypeface::Style requestedStyle) { 108 static bool DumpProc(SkTypeface* face, SkTypeface::Style style, void* ctx) { 109 SkDebugf("SkTypefaceCache: face %p fontID %d style %d refcnt %d\n", 110 face, face->uniqueID(), style, face->getRefCnt());
|
/external/skia/src/effects/ |
SkBlurMask.h | 25 enum Style { 39 static bool Blur(SkMask* dst, const SkMask& src, SkScalar radius, Style, Quality quality);
|
/external/skia/include/core/ |
SkTypeface.h | 31 The SkTypeface class specifies the typeface and intrinsic style of a font. 40 /** Style specifies the intrinsic style attributes of a given typeface 42 enum Style { 51 /** Returns the typeface's intrinsic style attributes 53 Style style() const { return fStyle; } function in class:SkTypeface 84 requested familyName and style. Pass null as the familyName to return 85 the default font for the requested style. Will never return null 88 @param style The style (normal, bold, italic) of the typeface [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
FontTest.java | 24 import android.renderscript.Font.Style; 31 for (Font.Style style : Font.Style.values()) { 33 F = Font.create(mRS, mRes, "sans-serif", style, fontSize); 43 F = Font.create(mRS, mRes, "serif", style, fontSize); 53 F = Font.create(mRS, mRes, "mono", style, fontSize); 80 assertEquals(Font.Style.NORMAL, Font.Style.valueOf("NORMAL")); 81 assertEquals(Font.Style.BOLD, Font.Style.valueOf("BOLD")) [all...] |
BaseObjTest.java | 21 import android.renderscript.Font.Style; 27 Style S = Font.Style.NORMAL;
|
/sdk/assetstudio/tests/src/com/android/assetstudiolib/ |
LauncherIconGeneratorTest.java | 26 GraphicGenerator.Shape shape, GraphicGenerator.Style style, 31 options.style = style; 41 GraphicGenerator.Style.FANCY, true, 0xFF0000, true); 46 GraphicGenerator.Style.GLOSSY, true, 0x0040FF, true);
|
/external/chromium/chrome/browser/chromeos/frame/ |
bubble_window.h | 2 // Use of this source code is governed by a BSD-style license that can be 26 enum Style { 27 STYLE_GENERIC = 0, // Default style. 35 Style style,
|
bubble_frame_view.h | 2 // Use of this source code is governed by a BSD-style license that can be 33 BubbleFrameView(views::Window* frame, BubbleWindow::Style style); 65 BubbleWindow::Style style_;
|
/external/chromium/chrome/browser/chromeos/login/ |
login_html_dialog.h | 2 // Use of this source code is governed by a BSD-style license that can be 34 enum Style { 43 Style style); 81 Style style_;
|
/external/skia/include/effects/ |
Sk1DPathEffect.h | 49 enum Style { 61 @param style how to transform path at each point (based on the current 64 SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, Style); 83 Style fStyle; // copied from constructor
|
/external/llvm/lib/Target/X86/ |
X86Subtarget.h | 33 enum Style { 52 /// PICStyle - Which PIC style to use 54 PICStyles::Style PICStyle; 168 PICStyles::Style getPICStyle() const { return PICStyle; } 169 void setPICStyle(PICStyles::Style Style) { PICStyle = Style; }
|
/external/webkit/Source/WebKit/android/plugins/ |
ANPTypefaceInterface.cpp | 33 static_cast<SkTypeface::Style>(s)); 40 static_cast<SkTypeface::Style>(s)); 57 SkTypeface::Style s = tf ? tf->style() : SkTypeface::kNormal;
|
/external/skia/src/ports/ |
SkFontHost_linux.cpp | 35 SkTypeface::Style find_name_and_attributes(SkStream* stream, SkString* name, 90 SkTypeface::Style style) { 93 if (faces[style] != NULL) { // exact match 94 return faces[style]; 97 style = (SkTypeface::Style)(style ^ SkTypeface::kItalic); 98 if (faces[style] != NULL) { 99 return faces[style]; 408 SkTypeface::Style style = SkTypeface::kNormal; \/\/ avoid uninitialized warning local 595 SkTypeface::Style style = find_name_and_attributes(stream, &name, &isFixedWidth); local [all...] |
/frameworks/base/core/java/android/text/style/ |
QuoteSpan.java | 17 package android.text.style; 70 Paint.Style style = p.getStyle(); local 73 p.setStyle(Paint.Style.FILL); 78 p.setStyle(style);
|
/cts/tests/src/android/media/cts/ |
FaceView.java | 49 mPInnerBullsEye.setStyle(Paint.Style.FILL); 52 mPOuterBullsEye.setStyle(Paint.Style.STROKE); 55 mTmpPaint.setStyle(Paint.Style.STROKE);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Arcs.java | 58 mPaints[0].setStyle(Paint.Style.FILL); 67 mPaints[2].setStyle(Paint.Style.STROKE); 85 mFramePaint.setStyle(Paint.Style.STROKE);
|
/external/skia/src/animator/ |
SkPaintParts.h | 76 return SkTypeface::CreateFromName(fontName.c_str(), style); } 80 SkTypeface::Style style; member in class:SkDrawTypeface
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextActivity.java | 80 mMediumPaint.setStyle(Paint.Style.FILL_AND_STROKE); 84 mMediumPaint.setStyle(Paint.Style.FILL); 88 mMediumPaint.setStyle(Paint.Style.STROKE); 93 mMediumPaint.setStyle(Paint.Style.FILL);
|