Home
last modified time | relevance | path

Searched refs:getStyle (Results 1 – 25 of 30) 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.java67 public int getStyle() { in getStyle() method in StyleSpan
88 oldStyle = old.getStyle(); in apply()
100 int fake = want & ~tf.getStyle(); in apply()
DTypefaceSpan.java80 oldStyle = old.getStyle(); in apply()
84 int fake = oldStyle & ~tf.getStyle(); in apply()
DTextAppearanceSpan.java224 style = tf.getStyle(); in updateMeasureState()
237 int fake = style & ~tf.getStyle(); in updateMeasureState()
DQuoteSpan.java70 Paint.Style style = p.getStyle(); in drawLeadingMargin()
DBulletSpan.java85 Paint.Style style = p.getStyle(); in drawLeadingMargin()
/frameworks/minikin/include/minikin/
DFontFamily.h142 FontStyle getStyle(size_t index) const;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java577 int style = paintDelegate.getStyle(); in native_drawRect()
603 int style = paintDelegate.getStyle(); in native_drawOval()
640 int style = paintDelegate.getStyle(); in native_drawArc()
670 int style = paintDelegate.getStyle(); in native_drawRoundRect()
704 int style = paintDelegate.getStyle(); in native_drawPath()
DPaint_Delegate.java122 public int getStyle() { in getStyle() method in Paint_Delegate
/frameworks/minikin/libs/minikin/
DFontFamily.cpp184 FontStyle FontFamily::getStyle(size_t index) const { in getStyle() function in android::FontFamily
/frameworks/base/core/java/android/view/
DPointerIcon.java256 public int getStyle() { in getStyle() method in PointerIcon
/frameworks/base/graphics/java/android/graphics/
DTypeface.java90 public int getStyle() { in getStyle() method in Typeface
DPaint.java745 public Style getStyle() { in getStyle() method in Paint
/frameworks/base/core/java/android/text/
DTextLine.java762 Paint.Style previousStyle = wp.getStyle(); in handleText()
777 Paint.Style previousStyle = wp.getStyle(); in handleText()
DHtml.java264 int s = ((StyleSpan) style[j]).getStyle(); in withinParagraph()
354 int s = ((StyleSpan) style[j]).getStyle(); in withinParagraph()
/frameworks/base/libs/hwui/
DOpenGLRenderer.cpp1521 if (paint && paint->getStyle() != SkPaint::kFill_Style) { in quickRejectSetupScissor()
2516 if (p->getStyle() == SkPaint::kStrokeAndFill_Style) {
2540 if (p->getStyle() == SkPaint::kStrokeAndFill_Style) {
2556 if (p->getStyle() != SkPaint::kStroke_Style || p->getPathEffect() != 0 || useCenter) {
2564 if (p->getStyle() == SkPaint::kStrokeAndFill_Style) {
2590 if (p->getStyle() != SkPaint::kFill_Style) {
2602 if (p->getStyle() == SkPaint::kStrokeAndFill_Style) {
DTessellationCache.cpp52 , style(paint.getStyle()) in Description()
DPathCache.cpp59 style(paint->getStyle()), in PathDescription()
DDisplayListOp.h1006 if (mPaint && mPaint->getStyle() != SkPaint::kFill_Style) { in getLocalBounds()
1042 mPaint->getStyle() == SkPaint::kFill_Style; in onDefer()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp186 static jint getStyle(JNIEnv* env, jobject clazz,jlong objHandle) { in getStyle() function in android::PaintGlue
188 return static_cast<jint>(obj->getStyle()); in getStyle()
957 {"native_getStyle","!(J)I", (void*) PaintGlue::getStyle},
/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java1308 Paint.Style previousStyle = textPaint.getStyle(); in drawEdgeOutline()
1337 Paint.Style previousStyle = textPaint.getStyle(); in drawEdgeRaisedOrDepressed()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java513 style = mRenderResources.getStyle(ref.getName(), ref.isFramework()); in obtainStyledAttributes()
659 StyleResourceValue item = mRenderResources.getStyle(value.getSecond(), in obtainStyledAttributes()
/frameworks/base/libs/hwui/font/
DFont.cpp58 mStyle = paint->getStyle(); in FontDescription()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java277 int typefaceStyle = tf != null ? tf.getStyle() : 0; in setSwitchTypeface()
/frameworks/base/core/java/android/widget/
DSwitch.java334 int typefaceStyle = tf != null ? tf.getStyle() : 0; in setSwitchTypeface()

12