Home
last modified time | relevance | path

Searched refs:getStyle (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceTest.java61 assertTrue("style", mFaces[0].getStyle() == Typeface.NORMAL); in testStyles()
62 assertTrue("style", mFaces[1].getStyle() == Typeface.BOLD); in testStyles()
63 assertTrue("style", mFaces[2].getStyle() == Typeface.NORMAL); in testStyles()
64 assertTrue("style", mFaces[3].getStyle() == Typeface.BOLD); in testStyles()
65 assertTrue("style", mFaces[4].getStyle() == Typeface.ITALIC); in testStyles()
66 assertTrue("style", mFaces[5].getStyle() == Typeface.BOLD_ITALIC); in testStyles()
67 assertTrue("style", mFaces[6].getStyle() == Typeface.NORMAL); in testStyles()
/frameworks/base/core/java/android/text/style/
DStyleSpan.java77 public int getStyle() { in getStyle() method in StyleSpan
98 oldStyle = old.getStyle(); in apply()
110 int fake = want & ~tf.getStyle(); in apply()
DTypefaceSpan.java90 oldStyle = old.getStyle(); in apply()
94 int fake = oldStyle & ~tf.getStyle(); in apply()
DTextAppearanceSpan.java234 style = tf.getStyle(); in updateMeasureState()
247 int fake = style & ~tf.getStyle(); in updateMeasureState()
DQuoteSpan.java82 Paint.Style style = p.getStyle(); in drawLeadingMargin()
DBulletSpan.java95 Paint.Style style = p.getStyle(); in drawLeadingMargin()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java212 int style = paintDelegate.getStyle(); in nDrawRect()
235 int style = paintDelegate.getStyle(); in nDrawOval()
269 int style = paintDelegate.getStyle(); in nDrawArc()
296 int style = paintDelegate.getStyle(); in nDrawRoundRect()
352 int style = paintDelegate.getStyle(); in nDrawPath()
DPaint_Delegate.java130 public int getStyle() { in getStyle() method in Paint_Delegate
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
DAppCompatTextViewTest.java228 assertEquals(Typeface.ITALIC, textView.getTypeface().getStyle()); in testTextStyle_setTextStyleInStyle()
235 assertEquals(Typeface.ITALIC, textView.getTypeface().getStyle()); in testTextStyle_setTextStyleDirectly()
/frameworks/minikin/include/minikin/
DFontFamily.h142 FontStyle getStyle(size_t index) const { return mFonts[index].style; } in getStyle() function
/frameworks/base/libs/hwui/
DBakedOpState.cpp136 || (recordedOp.paint && recordedOp.paint->getStyle() != SkPaint::kFill_Style)); in tryStrokeableOpConstruct()
DBakedOpDispatcher.cpp229 const bool expandForStroke = op.paint->getStyle() != SkPaint::kFill_Style; in renderTextShadow()
386 if (op.paint->getStyle() == SkPaint::kStrokeAndFill_Style) { in getBoundsOfFill()
395 if (op.paint->getStyle() != SkPaint::kStroke_Style in onArcOp()
630 if (op.paint->getStyle() != SkPaint::kFill_Style) { in onRectOp()
DTessellationCache.cpp52 , style(paint.getStyle()) in Description()
DPathCache.cpp76 , style(paint->getStyle()) in PathDescription()
DRecordingCanvas.cpp338 if (paint.getStyle() == SkPaint::kFill_Style in drawRegion()
/frameworks/base/core/java/android/text/
DTextLine.java754 Paint.Style previousStyle = wp.getStyle(); in handleText()
769 Paint.Style previousStyle = wp.getStyle(); in handleText()
DHtml.java513 int s = ((StyleSpan) style[j]).getStyle(); in withinParagraph()
618 int s = ((StyleSpan) style[j]).getStyle(); in withinParagraph()
/frameworks/base/libs/hwui/tests/unit/
DRecordingCanvasTests.cpp841 EXPECT_EQ(SkPaint::kStrokeAndFill_Style, op.paint->getStyle()); in OPENGL_PIPELINE_TEST()
844 EXPECT_EQ(SkPaint::kFill_Style, op.paint->getStyle()); in OPENGL_PIPELINE_TEST()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp736 static jint getStyle(jlong objHandle) { in getStyle() function
738 return static_cast<jint>(obj->getStyle()); in getStyle()
1034 {"nGetStyle","(J)I", (void*) PaintGlue::getStyle},
/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java1348 Paint.Style previousStyle = textPaint.getStyle(); in drawEdgeOutline()
1377 Paint.Style previousStyle = textPaint.getStyle(); in drawEdgeRaisedOrDepressed()
/frameworks/base/libs/hwui/font/
DFont.cpp54 mStyle = paint->getStyle(); in FontDescription()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java677 style = mRenderResources.getStyle(ref.getName(), ref.isFramework()); in obtainStyledAttributes()
833 item = mRenderResources.getStyle(value.getSecond(), isFrameworkRes); in obtainStyledAttributes()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java146 public int getStyle() { in getStyle() method in Typeface
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java371 int typefaceStyle = tf != null ? tf.getStyle() : 0; in setSwitchTypeface()
/frameworks/base/core/java/android/widget/
DSwitch.java385 int typefaceStyle = tf != null ? tf.getStyle() : 0; in setSwitchTypeface()

12