Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DTypefaceTest.java60 assertTrue("style", mFaces[0].getStyle() == Typeface.NORMAL); in testStyles()
61 assertTrue("style", mFaces[1].getStyle() == Typeface.BOLD); in testStyles()
62 assertTrue("style", mFaces[2].getStyle() == Typeface.NORMAL); in testStyles()
63 assertTrue("style", mFaces[3].getStyle() == Typeface.BOLD); in testStyles()
64 assertTrue("style", mFaces[4].getStyle() == Typeface.ITALIC); in testStyles()
65 assertTrue("style", mFaces[5].getStyle() == Typeface.BOLD_ITALIC); in testStyles()
66 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/minikin/include/minikin/
DFontFamily.h128 FontStyle getStyle(size_t index) const;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java591 int style = paintDelegate.getStyle(); in native_drawRect()
617 int style = paintDelegate.getStyle(); in native_drawOval()
654 int style = paintDelegate.getStyle(); in native_drawArc()
684 int style = paintDelegate.getStyle(); in native_drawRoundRect()
743 int style = paintDelegate.getStyle(); in native_drawPath()
/frameworks/base/libs/hwui/
DBakedOpState.cpp133 ? (recordedOp.paint && recordedOp.paint->getStyle() != SkPaint::kFill_Style) in tryStrokeableOpConstruct()
DOpenGLRenderer.cpp1363 if (paint && paint->getStyle() != SkPaint::kFill_Style) { in quickRejectSetupScissor()
1836 if (p->getStyle() == SkPaint::kStrokeAndFill_Style) {
1881 if (p->getStyle() == SkPaint::kStrokeAndFill_Style) {
1898 if (p->getStyle() != SkPaint::kStroke_Style || p->getPathEffect() != nullptr || useCenter) {
1906 if (p->getStyle() == SkPaint::kStrokeAndFill_Style) {
1929 if (p->getStyle() != SkPaint::kFill_Style) {
1941 if (p->getStyle() == SkPaint::kStrokeAndFill_Style) {
DBakedOpDispatcher.cpp235 const bool expandForStroke = op.paint->getStyle() != SkPaint::kFill_Style; in renderTextShadow()
392 if (op.paint->getStyle() == SkPaint::kStrokeAndFill_Style) { in getBoundsOfFill()
401 if (op.paint->getStyle() != SkPaint::kStroke_Style in onArcOp()
645 if (op.paint->getStyle() != SkPaint::kFill_Style) { in onRectOp()
DTessellationCache.cpp53 , style(paint.getStyle()) in Description()
DPathCache.cpp74 , style(paint->getStyle()) in PathDescription()
DDisplayListCanvas.cpp453 if (paint.getStyle() != SkPaint::kFill_Style || in drawRegion()
DRecordingCanvas.cpp333 if (paint.getStyle() == SkPaint::kFill_Style in drawRegion()
DDisplayListOp.h941 if (mPaint && mPaint->getStyle() != SkPaint::kFill_Style) { in getLocalBounds()
977 mPaint->getStyle() == SkPaint::kFill_Style; in onDefer()
/frameworks/minikin/libs/minikin/
DFontFamily.cpp158 FontStyle FontFamily::getStyle(size_t index) const { in getStyle() function in android::FontFamily
/frameworks/base/core/java/android/text/
DTextLine.java731 Paint.Style previousStyle = wp.getStyle(); in handleText()
746 Paint.Style previousStyle = wp.getStyle(); in handleText()
DHtml.java525 int s = ((StyleSpan) style[j]).getStyle(); in withinParagraph()
630 int s = ((StyleSpan) style[j]).getStyle(); in withinParagraph()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java97 public int getStyle() { in getStyle() method in Typeface
/frameworks/base/libs/hwui/tests/unit/
DRecordingCanvasTests.cpp751 EXPECT_EQ(SkPaint::kStrokeAndFill_Style, op.paint->getStyle()); in TEST()
754 EXPECT_EQ(SkPaint::kFill_Style, op.paint->getStyle()); in TEST()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp191 static jint getStyle(JNIEnv* env, jobject clazz,jlong objHandle) { in getStyle() function
193 return static_cast<jint>(obj->getStyle()); in getStyle()
932 {"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.java619 style = mRenderResources.getStyle(ref.getName(), ref.isFramework()); in obtainStyledAttributes()
777 item = mRenderResources.getStyle(value.getSecond(), isFrameworkRes); in obtainStyledAttributes()

12