/frameworks/base/core/java/android/text/style/ |
BulletSpan.java | 17 package android.text.style; 95 Paint.Style style = p.getStyle(); local 103 p.setStyle(Paint.Style.FILL); 124 p.setStyle(style);
|
/packages/apps/Calendar/src/com/android/calendar/ |
ColorChipView.java | 22 import android.graphics.Paint.Style; 37 // Style of drawing 69 mPaint.setStyle(Style.FILL_AND_STROKE); 73 public void setDrawStyle(int style) { 74 if (style != DRAW_FULL && style != DRAW_BORDER && style != DRAW_FADED) { 77 mDrawStyle = style;
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
BadgeSpan.java | 26 import android.text.style.CharacterStyle; 27 import android.text.style.ReplacementSpan; 91 final Paint.Style prevStyle = mWorkPaint.getStyle(); 94 mWorkPaint.setStyle(Paint.Style.FILL);
|
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
RoundView.java | 61 mPaint.setStyle(Paint.Style.STROKE);
|
/external/opencv3/samples/winrt/ImageManipulations/ |
MainPage.xaml.cpp | 246 // Use the status message style. 247 StatusBlock->Style = safe_cast<Windows::UI::Xaml::Style^>(this->Resources->Lookup("StatusStyle")); 250 // Use the error message style. 251 StatusBlock->Style = safe_cast<Windows::UI::Xaml::Style^>(this->Resources->Lookup("ErrorStyle"));
|
/external/skia/src/effects/ |
Sk1DPathEffect.cpp | 5 * Use of this source code is governed by a BSD-style license that can be 36 SkScalar phase, Style style) : fPath(path) 61 if ((unsigned)style > kMorph_Style) { 62 SkDEBUGF(("SkPath1DPathEffect style enum out of range %d\n", style)); 64 fStyle = style; 155 Style style = (Style)buffer.readUInt() local [all...] |
/external/skia/src/ports/ |
SkFontConfigTypeface.h | 4 * Use of this source code is governed by a BSD-style license that can be 21 static FontConfigTypeface* Create(const SkFontStyle& style, 24 return new FontConfigTypeface(style, fi, familyName); 27 static FontConfigTypeface* Create(const SkFontStyle& style, bool fixedWidth, 29 return new FontConfigTypeface(style, fixedWidth, localStream); 42 static SkTypeface* LegacyCreateTypeface(const char familyName[], SkTypeface::Style); 45 FontConfigTypeface(const SkFontStyle& style, 48 : INHERITED(style, SkTypefaceCache::NewFontID(), false) 53 FontConfigTypeface(const SkFontStyle& style, bool fixedWidth, SkStreamAsset* localStream) 54 : INHERITED(style, SkTypefaceCache::NewFontID(), fixedWidth [all...] |
/external/skia/tools/ |
sk_tool_utils_font.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 32 SkTypeface* create_font(const char* name, SkTypeface::Style style) { 38 if (!strcmp(name, sub->fName) && sub->fStyle == style) { 46 SkDebugf("missing %s %d\n", name, style); 50 return fm->legacyCreateTypeface(name, style); 68 return new SkTestTypeface(font, SkFontStyle(style));
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
PathOffsetActivity.java | 46 mPaint.setStyle(Paint.Style.STROKE);
|
PathsActivity.java | 62 mSmallPaint.setStyle(Paint.Style.STROKE); 68 mLinePaint.setStyle(Paint.Style.STROKE); 74 mMediumPaint.setStyle(Paint.Style.STROKE); 80 mLargePaint.setStyle(Paint.Style.FILL);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorRectView.java | 80 mDotPaint.setStyle(Paint.Style.FILL); 83 mWheelPaint1.setStyle(Paint.Style.FILL); 84 mWheelPaint2.setStyle(Paint.Style.FILL); 85 mWheelPaint3.setStyle(Paint.Style.FILL);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/ |
SetupStepIndicatorView.java | 37 mIndicatorPaint.setStyle(Paint.Style.FILL);
|
/external/skia/src/core/ |
SkTypeface.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 18 SkTypeface::SkTypeface(const SkFontStyle& style, SkFontID fontID, bool isFixedPitch) 19 : fUniqueID(fontID), fStyle(style), fIsFixedPitch(isFixedPitch) { } 30 SkTypeface* (*gCreateTypefaceDelegate)(const char [], SkTypeface::Style ) = nullptr; 79 SkTypeface* SkTypeface::GetDefaultTypeface(Style style) { 80 SkASSERT((int)style < 4); 81 return defaults[style].get([=]{ 89 SkTypeface* t = fm->legacyCreateTypeface(nullptr, style); 94 SkTypeface* SkTypeface::RefDefault(Style style) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
SubtitleView.java | 27 import android.graphics.Paint.Style; 120 // TODO: Move these to a default style. 268 final CaptionStyle style; local 270 style = CaptionStyle.getCustomStyle(cr); 272 style = CaptionStyle.PRESETS[styleId]; 276 mForegroundColor = style.hasForegroundColor() ? 277 style.foregroundColor : defStyle.foregroundColor; 278 mBackgroundColor = style.hasBackgroundColor() ? 279 style.backgroundColor : defStyle.backgroundColor; 280 mEdgeType = style.hasEdgeType() ? style.edgeType : defStyle.edgeType [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Canvas_Delegate.java | 591 int style = paintDelegate.getStyle(); 594 if (style == Paint.Style.FILL.nativeInt || 595 style == Paint.Style.FILL_AND_STROKE.nativeInt) { 600 if (style == Paint.Style.STROKE.nativeInt || 601 style == Paint.Style.FILL_AND_STROKE.nativeInt) { 617 int style = paintDelegate.getStyle() [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartNetworkSeriesView.java | 25 import android.graphics.Paint.Style; 119 mPaintStroke.setStyle(Style.STROKE); 124 mPaintFill.setStyle(Style.FILL); 129 mPaintFillSecondary.setStyle(Style.FILL); 135 mPaintEstimate.setStyle(Style.STROKE);
|
/packages/apps/TV/usbtuner/src/com/google/android/exoplayer/text/ |
SubtitleView.java | 26 import android.graphics.Paint.Style; 166 * Configures the view according to the given style. 168 * @param style A style for the view. 170 public void setStyle(CaptionStyleCompat style) { 171 mForegroundColor = style.foregroundColor; 172 mBackgroundColor = style.backgroundColor; 173 mEdgeType = style.edgeType; 174 mEdgeColor = style.edgeColor; 175 setTypeface(style.typeface) [all...] |
/frameworks/base/tools/aapt2/ |
ResourceParser_test.cpp | 272 std::string input = "<style name=\"foo\" parent=\"@style/fu\">\n" 276 "</style>"; 279 Style* style = test::getValue<Style>(&mTable, u"@style/foo"); local 280 ASSERT_NE(nullptr, style); 281 AAPT_ASSERT_TRUE(style->parent); 282 AAPT_ASSERT_TRUE(style->parent.value().name) 300 Style* style = test::getValue<Style>(&mTable, u"@style\/foo"); local 312 Style* style = test::getValue<Style>(&mTable, u"@style\/foo"); local 326 Style* style = test::getValue<Style>(&mTable, u"@style\/foo"); local 336 Style* style = test::getValue<Style>(&mTable, u"@style\/foo.bar"); local 348 Style* style = test::getValue<Style>(&mTable, u"@style\/foo.bar"); local 358 Style* style = test::getValue<Style>(&mTable, u"@style\/foo"); local [all...] |
/external/skia/include/core/ |
SkPaint.h | 4 * Use of this source code is governed by a BSD-style license that can be 42 The SkPaint class holds the style and color information about how to draw 305 enum Style { 314 /** Return the paint's style, used for controlling how primitives' 317 @return the paint's Style 319 Style getStyle() const { return (Style)fBitfields.fStyle; } 321 /** Set the paint's style, used for controlling how primitives' 324 @param style The new style to set in the pain 987 SkPaint::Style style = this->getStyle(); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleWeekView.java | 28 import android.graphics.Paint.Style; 315 * Sets up the text and style properties for painting. Override this if you 322 p.setStyle(Style.FILL); 329 mMonthNumPaint.setStyle(Style.FILL); 409 p.setStyle(Style.FILL); 437 p.setStyle(Style.FILL); 480 p.setStyle(Style.STROKE);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
EclipseControl.java | 198 paint.setStyle(Paint.Style.FILL); 215 paint.setStyle(Paint.Style.FILL); 233 paint.setStyle(Paint.Style.STROKE); 249 paint.setStyle(Paint.Style.STROKE); 269 paint.setStyle(Paint.Style.FILL); 277 paint.setStyle(Paint.Style.STROKE);
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
RectShapeTest.java | 26 import android.graphics.Paint.Style; 57 paint.setStyle(Style.FILL);
|
RoundRectShapeTest.java | 26 import android.graphics.Paint.Style; 71 paint.setStyle(Style.FILL);
|
ShapeTest.java | 26 import android.graphics.Paint.Style; 104 paint.setStyle(Style.FILL);
|
/external/clang/lib/Format/ |
ContinuationIndenter.h | 39 ContinuationIndenter(const FormatStyle &Style, 69 /// \brief Get the column limit for this line. This is the style's column 138 FormatStyle Style;
|