/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceTest.java | 77 assertTrue("style", mFaces[0].getStyle() == Typeface.NORMAL); in testStyles() 78 assertTrue("style", mFaces[1].getStyle() == Typeface.BOLD); in testStyles() 79 assertTrue("style", mFaces[2].getStyle() == Typeface.NORMAL); in testStyles() 80 assertTrue("style", mFaces[3].getStyle() == Typeface.BOLD); in testStyles() 81 assertTrue("style", mFaces[4].getStyle() == Typeface.ITALIC); in testStyles() 82 assertTrue("style", mFaces[5].getStyle() == Typeface.BOLD_ITALIC); in testStyles() 83 assertTrue("style", mFaces[6].getStyle() == Typeface.NORMAL); in testStyles() 143 assertEquals(style, result.getStyle()); in testMultithreadCacheStressTest()
|
/frameworks/base/core/java/android/text/style/ |
D | StyleSpan.java | 99 public int getStyle() { in getStyle() method in StyleSpan 120 oldStyle = old.getStyle(); in apply() 132 int fake = want & ~tf.getStyle(); in apply()
|
D | TypefaceSpan.java | 169 style = old.getStyle(); in applyFontFamily() 172 int fake = style & ~styledTypeface.getStyle(); in applyFontFamily()
|
D | QuoteSpan.java | 195 Paint.Style style = p.getStyle(); in drawLeadingMargin()
|
D | TextAppearanceSpan.java | 474 style = tf.getStyle(); in updateMeasureState() 500 int fake = style & ~readyTypeface.getStyle(); in updateMeasureState()
|
D | BulletSpan.java | 208 Paint.Style style = paint.getStyle(); in drawLeadingMargin()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontFamily.java | 128 return font.getStyle().getWeight() | (font.getStyle().getSlant() << 16); in makeStyleIdentifier()
|
D | Font.java | 470 public @NonNull FontStyle getStyle() { in getStyle() method in Font
|
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/ |
D | RemoteRenderResourcesAdapter.java | 101 public RemoteResourceValue<StyleResourceValue> getStyle(@NotNull ResourceReference reference) { in getStyle() method in RemoteRenderResourcesAdapter 102 return RemoteResourceValue.fromResourceValue(mDelegate.getStyle(reference)); in getStyle()
|
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/ |
D | RemoteRenderResourcesAdapter.java | 142 public StyleResourceValue getStyle(ResourceReference reference) { in getStyle() method in RemoteRenderResourcesAdapter 144 return mDelegate.getStyle(reference).toResourceValue(); in getStyle()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | AdaptiveOutlineDrawableTest.java | 39 assertThat(drawable.mOutlinePaint.getStyle()).isEqualTo(Paint.Style.STROKE); in constructor_initPaint()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 199 public @Style int getStyle() { in getStyle() method in Typeface 277 int bestScore = normal.getMatchScore(bestFont.getStyle()); in createFromResources() 280 final int score = normal.getMatchScore(candidate.getStyle()); in createFromResources() 287 .setStyle(bestFont.getStyle()) in createFromResources() 612 ? font.getStyle().getWeight() : mWeight; in build() 614 ? font.getStyle().getSlant() : mItalic; in build()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BaseCanvas_Delegate.java | 222 int style = paintDelegate.getStyle(); in nDrawRect() 245 int style = paintDelegate.getStyle(); in nDrawOval() 279 int style = paintDelegate.getStyle(); in nDrawArc() 306 int style = paintDelegate.getStyle(); in nDrawRoundRect() 351 int style = paintDelegate.getStyle(); in nDrawDoubleRoundRect() 405 int style = paintDelegate.getStyle(); in nDrawPath()
|
D | FontFamily_Delegate.java | 423 (FontUtilities.getFont2D(font).getStyle() & Font.ITALIC) != 0;
|
/frameworks/minikin/include/minikin/ |
D | FontFamily.h | 49 FontStyle getStyle(size_t index) const { return mFonts[index].style(); } in getStyle() function
|
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/ |
D | RemoteRenderResources.java | 56 …RemoteResourceValue<StyleResourceValue> getStyle(@NotNull ResourceReference reference) throws Remo… in getStyle() method
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationShellCmdTest.java | 205 ((Notification.InboxStyle) (builder.getStyle())).getLines(); in testInbox() 259 (Notification.MessagingStyle) (builder.getStyle()); in testMessaging()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 673 int bestScore = normal.getMatchScore(bestFont.getStyle()); in buildTypeface() 676 final int score = normal.getMatchScore(candidate.getStyle()); in buildTypeface() 682 return new Typeface.CustomFallbackBuilder(family).setStyle(bestFont.getStyle()).build(); in buildTypeface()
|
/frameworks/base/core/java/android/text/ |
D | TextLine.java | 806 final Paint.Style previousStyle = wp.getStyle(); 893 Paint.Style previousStyle = wp.getStyle(); 1316 && lp.getStyle() == rp.getStyle()
|
D | Html.java | 514 int s = ((StyleSpan) style[j]).getStyle(); in withinParagraph() 619 int s = ((StyleSpan) style[j]).getStyle(); in withinParagraph()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/ |
D | SupportPreferencesUtil.java | 133 preferenceTheme = resources.getStyle( in getThemedContext()
|
/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 715 static jint getStyle(jlong objHandle) { in getStyle() function 717 return static_cast<jint>(obj->getStyle()); in getStyle() 1087 {"nGetStyle","(J)I", (void*) PaintGlue::getStyle},
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 644 style = mRenderResources.getStyle(ref); in internalObtainStyledAttributes() 789 item = mRenderResources.getStyle(value); in internalObtainStyledAttributes() 1091 return mRenderResources.getStyle(reference); in getStyleByDynamicId()
|
/frameworks/base/media/java/android/media/ |
D | ClosedCaptionRenderer.java | 1348 Paint.Style previousStyle = textPaint.getStyle(); in drawEdgeOutline() 1377 Paint.Style previousStyle = textPaint.getStyle(); in drawEdgeRaisedOrDepressed()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockSwitch.java | 255 mClockPlugin.setStyle(getPaint().getStyle()); in setClockPlugin()
|