OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FontsContract
(Results
1 - 12
of
12
) sorted by null
/frameworks/base/core/tests/coretests/src/android/provider/
TestFontsProvider.java
34
* Provides a test Content Provider implementing {@link
FontsContract
}.
45
private int mResultCode =
FontsContract
.Columns.RESULT_CODE_OK;
83
cursor = new MatrixCursor(new String[] {
FontsContract
.Columns._ID,
84
FontsContract
.Columns.TTC_INDEX,
FontsContract
.Columns.VARIATION_SETTINGS,
85
FontsContract
.Columns.WEIGHT,
FontsContract
.Columns.ITALIC,
86
FontsContract
.Columns.RESULT_CODE });
89
cursor = new MatrixCursor(new String[] {
FontsContract
.Columns._ID });
FontsContractE2ETest.java
33
import android.provider.
FontsContract
.Columns;
34
import android.provider.
FontsContract
.FontFamilyResult;
35
import android.provider.
FontsContract
.FontInfo;
36
import android.provider.
FontsContract
;
86
private static class TestCallback extends
FontsContract
.FontRequestCallback {
123
FontsContract
.requestFonts(ctx, request, new Handler(), null, callback);
134
FontsContract
.requestFonts(ctx, request, new Handler(), null, callback2);
145
FontsContract
.requestFonts(ctx, request, new Handler(), null, callback3);
160
FontFamilyResult result =
FontsContract
.fetchFonts(
163
Typeface typeface =
FontsContract
.buildTypeface
[
all
...]
FontsContractTest.java
23
import static android.provider.
FontsContract
.Columns.RESULT_CODE_OK;
24
import static android.provider.
FontsContract
.Columns.RESULT_CODE_FONT_NOT_FOUND;
25
import static android.provider.
FontsContract
.Columns.RESULT_CODE_FONT_UNAVAILABLE;
26
import static android.provider.
FontsContract
.Columns.RESULT_CODE_MALFORMED_QUERY;
36
import android.provider.
FontsContract
.FontInfo;
46
* Unit tests for {@link
FontsContract
}.
76
FontInfo[] fonts =
FontsContract
.getFontFromProvider(
95
FontInfo[] fonts =
FontsContract
.getFontFromProvider(
111
FontInfo[] fonts =
FontsContract
.getFontFromProvider(
124
FontInfo[] fonts =
FontsContract
.getFontFromProvider
[
all
...]
MockFontProvider.java
18
import static android.provider.
FontsContract
.Columns;
/cts/tests/tests/provider/src/android/provider/cts/
FontsContractTest.java
35
import android.provider.
FontsContract
;
36
import android.provider.
FontsContract
.Columns;
37
import android.provider.
FontsContract
.FontFamilyResult;
38
import android.provider.
FontsContract
.FontInfo;
100
private static class TestCallback extends
FontsContract
.FontRequestCallback {
157
mInstrumentation.runOnMainSync(() ->
FontsContract
.requestFonts(
172
mInstrumentation.runOnMainSync(() ->
FontsContract
.requestFonts(
179
assertEquals(
FontsContract
.FontRequestCallback.FAIL_REASON_FONT_LOAD_ERROR,
187
FontFamilyResult result =
FontsContract
.fetchFonts(
197
assertNotNull(
FontsContract
.buildTypeface(mContext, null /* cancellation signal */, fonts))
[
all
...]
MockFontProvider.java
18
import static android.provider.
FontsContract
.Columns;
/frameworks/support/compat/src/main/java/androidx/core/provider/
FontsContractCompat.java
98
public static final String TTC_INDEX = android.provider.
FontsContract
.Columns.TTC_INDEX;
105
android.provider.
FontsContract
.Columns.VARIATION_SETTINGS;
112
public static final String WEIGHT = android.provider.
FontsContract
.Columns.WEIGHT;
118
public static final String ITALIC = android.provider.
FontsContract
.Columns.ITALIC;
127
public static final String RESULT_CODE = android.provider.
FontsContract
.Columns.RESULT_CODE;
135
android.provider.
FontsContract
.Columns.RESULT_CODE_OK;
140
android.provider.
FontsContract
.Columns.RESULT_CODE_FONT_NOT_FOUND;
147
android.provider.
FontsContract
.Columns.RESULT_CODE_FONT_UNAVAILABLE;
153
android.provider.
FontsContract
.Columns.RESULT_CODE_MALFORMED_QUERY;
[
all
...]
/frameworks/base/graphics/java/android/graphics/
Typeface.java
32
import android.provider.
FontsContract
;
248
Typeface typeface =
FontsContract
.getFontSync(request);
346
private
FontsContract
.FontInfo[] mFonts;
396
* Constracts a builder from an array of
FontsContract
.FontInfo.
398
* Since {@link
FontsContract
.FontInfo} holds information about TTC indices and
400
* {@link #setFontVariationSettings}. Similary, {@link
FontsContract
.FontInfo} holds
404
* @param fonts The array of {@link
FontsContract
.FontInfo}
408
public Builder(@NonNull
FontsContract
.FontInfo[] fonts,
640
for (
FontsContract
.FontInfo font : mFonts) {
[
all
...]
/frameworks/base/config/
dirty-image-objects
157
android.provider.
FontsContract
preloaded-classes
[
all
...]
/frameworks/base/core/java/android/provider/
FontsContract.java
76
public class
FontsContract
{
77
private static final String TAG = "
FontsContract
";
170
private
FontsContract
() {
248
* {@link
FontsContract
.Columns#RESULT_CODE}
[
all
...]
/frameworks/base/core/java/android/app/
ActivityThread.java
109
import android.provider.
FontsContract
;
[
all
...]
Completed in 233 milliseconds