Searched refs:setFontVariationSettings (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DTypeface.java299 * builder.setFontVariationSettings("'wght' 700, 'slnt' 20, 'ital' 1");
374 * {@link #setFontVariationSettings}. Similary, {@link FontsContract.FontInfo} holds
431 * @param variationSettings See {@link android.widget.TextView#setFontVariationSettings}.
435 public Builder setFontVariationSettings(@Nullable String variationSettings) { method in class:Typeface.Builder
452 public Builder setFontVariationSettings(@Nullable FontVariationAxis[] axes) { method in class:Typeface.Builder
H A DPaint.java1635 * @see #setFontVariationSettings(String)
1655 * paint.setFontVariationSettings("'wdth' 150");
1664 * paint.setFontVariationSettings("'slnt' 20, 'ital' 1");
1683 public boolean setFontVariationSettings(String fontVariationSettings) { method in class:Paint
/frameworks/base/core/java/android/widget/
H A DTextView.java3808 * @see #setFontVariationSettings(String)
3809 * @see Paint#setFontVariationSettings(String) Paint.setFontVariationSettings(String)
3946 * textView.setFontVariationSettings("'wdth' 150");
3955 * textView.setFontVariationSettings("'slnt' 20, 'ital' 1");
3974 public boolean setFontVariationSettings(@Nullable String fontVariationSettings) { method in class:TextView
3981 boolean effective = mTextPaint.setFontVariationSettings(fontVariationSettings);

Completed in 191 milliseconds