Home
last modified time | relevance | path

Searched refs:FontsContract (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractTest.java19 import static android.provider.FontsContract.Columns.RESULT_CODE_FONT_NOT_FOUND;
20 import static android.provider.FontsContract.Columns.RESULT_CODE_FONT_UNAVAILABLE;
21 import static android.provider.FontsContract.Columns.RESULT_CODE_MALFORMED_QUERY;
22 import static android.provider.FontsContract.Columns.RESULT_CODE_OK;
37 import android.provider.FontsContract.FontInfo;
78 FontInfo[] fonts = FontsContract.getFontFromProvider( in testGetFontFromProvider_resultOK()
97 FontInfo[] fonts = FontsContract.getFontFromProvider( in testGetFontFromProvider_providerDoesntReturnAllFields()
113 FontInfo[] fonts = FontsContract.getFontFromProvider( in testGetFontFromProvider_resultFontNotFound()
126 FontInfo[] fonts = FontsContract.getFontFromProvider( in testGetFontFromProvider_resultFontUnavailable()
146 FontInfo[] fonts = FontsContract.getFontFromProvider( in testGetFontFromProvider_resultMalformedQuery()
[all …]
DFontsContractE2ETest.java33 import android.provider.FontsContract.FontFamilyResult;
86 private static class TestCallback extends FontsContract.FontRequestCallback {
123 FontsContract.requestFonts(ctx, request, new Handler(), null, callback); in typefaceCacheTest()
134 FontsContract.requestFonts(ctx, request, new Handler(), null, callback2); in typefaceCacheTest()
145 FontsContract.requestFonts(ctx, request, new Handler(), null, callback3); in typefaceCacheTest()
160 FontFamilyResult result = FontsContract.fetchFonts( in typefaceNotCacheTest()
163 Typeface typeface = FontsContract.buildTypeface( in typefaceNotCacheTest()
166 FontFamilyResult result2 = FontsContract.fetchFonts( in typefaceNotCacheTest()
169 Typeface typeface2 = FontsContract.buildTypeface( in typefaceNotCacheTest()
183 FontFamilyResult result = FontsContract.fetchFonts( in typefaceNullFdTest()
[all …]
DTestFontsProvider.java45 private int mResultCode = FontsContract.Columns.RESULT_CODE_OK;
83 cursor = new MatrixCursor(new String[] { FontsContract.Columns._ID, in query()
84 FontsContract.Columns.TTC_INDEX, FontsContract.Columns.VARIATION_SETTINGS, in query()
85 FontsContract.Columns.WEIGHT, FontsContract.Columns.ITALIC, in query()
86 FontsContract.Columns.RESULT_CODE }); in query()
89 cursor = new MatrixCursor(new String[] { FontsContract.Columns._ID }); in query()
DMockFontProvider.java19 import static android.provider.FontsContract.Columns;
/frameworks/base/core/java/android/provider/
DFontsContract.java73 public class FontsContract { class
167 private FontsContract() { in FontsContract() method in FontsContract
/frameworks/base/graphics/java/android/graphics/
DTypeface.java38 import android.provider.FontsContract;
239 Typeface typeface = FontsContract.getFontSync(request); in createFromResources()
/frameworks/base/config/
Ddirty-image-objects162 android.provider.FontsContract
Dpreloaded-classes2973 android.provider.-$$Lambda$FontsContract$3FDNQd-WsglsyDhif-aHVbzkfrA
2974 android.provider.-$$Lambda$FontsContract$rqfIZKvP1frnI9vP1hVA8jQN_RE
3006 android.provider.FontsContract$1
3007 android.provider.FontsContract$FontFamilyResult
3008 android.provider.FontsContract$FontInfo
3009 android.provider.FontsContract
/frameworks/base/core/java/android/app/
DActivityThread.java121 import android.provider.FontsContract;
6478 FontsContract.setApplicationContextForResources(appContext); in handleBindApplication()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...