/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceTest.java | 81 assertEquals(msg, style, Typeface.defaultFromStyle(style).getStyle()); in testDefaults() 99 assertTrue("style", mFaces[0].getStyle() == Typeface.NORMAL); in testStyles() 100 assertTrue("style", mFaces[1].getStyle() == Typeface.BOLD); in testStyles() 101 assertTrue("style", mFaces[2].getStyle() == Typeface.NORMAL); in testStyles() 102 assertTrue("style", mFaces[3].getStyle() == Typeface.BOLD); in testStyles() 103 assertTrue("style", mFaces[4].getStyle() == Typeface.ITALIC); in testStyles() 104 assertTrue("style", mFaces[5].getStyle() == Typeface.BOLD_ITALIC); in testStyles() 105 assertTrue("style", mFaces[6].getStyle() == Typeface.NORMAL); in testStyles() 165 assertEquals(style, result.getStyle()); in testMultithreadCacheStressTest() 212 assertEquals(original.getStyle(), copied.getStyle()); in testSerialize() [all …]
|
/frameworks/base/core/java/android/text/style/ |
D | StyleSpan.java | 121 public int getStyle() { in getStyle() method in StyleSpan 152 oldStyle = old.getStyle(); in apply() 176 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 | Font.java | 243 mWeight = font.getStyle().getWeight(); in Builder() 244 mItalic = font.getStyle().getSlant(); in Builder() 592 public @NonNull FontStyle getStyle() { in getStyle() method in Font 809 return f.getStyle().equals(getStyle()) in paramEquals() 843 getStyle(), in hashCode() 857 + ", style=" + getStyle() in toString()
|
D | FontFamily.java | 134 return font.getStyle().getWeight() | (font.getStyle().getSlant() << 16); in makeStyleIdentifier()
|
D | SystemFonts.java | 176 .setWeight(fontConfig.getStyle().getWeight()) in createFontFamily() 177 .setSlant(fontConfig.getStyle().getSlant()) in createFontFamily()
|
/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/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/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/tests/UpdatableSystemFontTest/EmojiRenderingTestApp/src/com/android/emojirenderingtestapp/ |
D | GetAvailableFontsTestActivity.java | 40 font.getStyle(); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecordLogger.java | 392 public int getStyle() { in getStyle() method in NotificationRecordLogger.NotificationRecordPair 393 return getStyle(r.getSbn().getNotification().extras); in getStyle() 396 private int getStyle(@Nullable Bundle extras) { in getStyle() method in NotificationRecordLogger.NotificationRecordPair
|
D | NotificationRecordLoggerImpl.java | 69 /* int32 style = 11 */ p.getStyle(), in writeNotificationReportedAtom()
|
/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/autofill/java/com/android/server/autofill/ui/ |
D | InlineSuggestionFactory.java | 153 specFromHost.getStyle()).build(); in mergedInlinePresentation() 177 spec.getStyle()).build(); in createInlineSuggestionTooltip()
|
/frameworks/base/core/java/android/text/ |
D | FontConfig.java | 284 public @NonNull FontStyle getStyle() { in getStyle() method in FontConfig.Font 346 return getStyle().getWeight(); in getWeight() 357 return getStyle().getSlant() == FontStyle.FONT_SLANT_ITALIC; in isItalic()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 258 public @Style int getStyle() { in getStyle() method in Typeface 356 int bestScore = normal.getMatchScore(bestFont.getStyle()); in createFromResources() 359 final int score = normal.getMatchScore(candidate.getStyle()); in createFromResources() 366 .setStyle(bestFont.getStyle()) in createFromResources() 691 ? font.getStyle().getWeight() : mWeight; in build() 693 ? font.getStyle().getSlant() : mItalic; in build()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationShellCmdTest.java | 206 ((Notification.InboxStyle) (builder.getStyle())).getLines(); in testInbox() 254 (Notification.MessagingStyle) (builder.getStyle()); in testMessaging()
|
/frameworks/minikin/include/minikin/ |
D | FontFamily.h | 72 FontStyle getStyle(size_t index) const { return mFonts[index]->style(); } in getStyle() function
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 704 int bestScore = normal.getMatchScore(bestFont.getStyle()); in buildTypeface() 707 final int score = normal.getMatchScore(candidate.getStyle()); in buildTypeface() 713 return new Typeface.CustomFallbackBuilder(family).setStyle(bestFont.getStyle()).build(); in buildTypeface()
|
/frameworks/base/core/java/android/graphics/fonts/ |
D | FontFamilyUpdateRequest.java | 261 public FontStyle getStyle() { in getStyle() method in FontFamilyUpdateRequest.Font
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | FontManagerShellCommand.java | 130 sb.append(font.getStyle()); in dumpSingleFontConfig() 273 sb.append(font.getStyle()); in dumpFont()
|
/frameworks/base/core/java/android/widget/inline/ |
D | InlinePresentationSpec.java | 143 public @NonNull Bundle getStyle() { in getStyle() method in InlinePresentationSpec
|