/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
ScriptC_set_target_api_16.java | 24 import android.content.res.Resources; 40 public ScriptC_set_target_api_16(RenderScript rs, Resources resources, int id) { 41 super(rs, resources, id);
|
ScriptC_set_target_api_17.java | 24 import android.content.res.Resources; 40 public ScriptC_set_target_api_17(RenderScript rs, Resources resources, int id) { 41 super(rs, resources, id);
|
ScriptC_set_target_api_18.java | 24 import android.content.res.Resources; 40 public ScriptC_set_target_api_18(RenderScript rs, Resources resources, int id) { 41 super(rs, resources, id);
|
ScriptC_set_target_api_19.java | 24 import android.content.res.Resources; 40 public ScriptC_set_target_api_19(RenderScript rs, Resources resources, int id) { 41 super(rs, resources, id);
|
ScriptC_set_target_api_too_high.java | 24 import android.content.res.Resources; 40 public ScriptC_set_target_api_too_high(RenderScript rs, Resources resources, int id) { 41 super(rs, resources, id);
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/ |
IHTMLReportContext.java | 18 import org.jacoco.report.internal.html.resources.Resources; 27 * Returns the static resources used in this report. 29 * @return static resources 31 public Resources getResources();
|
/frameworks/base/core/java/android/content/res/ |
ConfigurationBoundResourceCache.java | 32 * @param resources a Resources object from which to create new instances. 37 public T getInstance(long key, Resources resources, Resources.Theme theme) { 40 return entry.newInstance(resources, theme);
|
DrawableCache.java | 22 * Class which can be used to cache Drawable resources against a theme. 29 * @param resources a Resources object from which to create new instances. 34 public Drawable getInstance(long key, Resources resources, Resources.Theme theme) { 37 return entry.newDrawable(resources, theme);
|
/frameworks/base/core/java/android/service/wallpaper/ |
WallpaperSettingsActivity.java | 19 import android.content.res.Resources; 40 Resources.Theme theme = getTheme();
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
VendorInfo.java | 19 import android.content.res.Resources; 30 public VendorInfo(Resources resources, int vendor_info_id) { 32 String[] data = resources.getStringArray(vendor_info_id);
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/ |
VendorInfo.java | 18 import android.content.res.Resources; 29 public VendorInfo(Resources resources, int vendor_info_id) { 31 String[] data = resources.getStringArray(vendor_info_id);
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
AdaptiveIconDrawable_Delegate.java | 21 import android.content.res.Resources; 31 String pathString = Resources_Delegate.getLayoutlibCallback(Resources.getSystem()).getFlag(
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/ |
PhotoBitmapLoaderInterface.java | 3 import android.content.res.Resources; 27 public Drawable getDrawable(Resources resources) { 28 if (resources == null) { 29 throw new IllegalArgumentException("resources can not be null!"); 43 return new BitmapDrawable(resources, bitmap);
|
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/ |
Benchmark.java | 19 import android.content.res.Resources; 26 public Benchmark(RenderScript rs, Resources res) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapConfig.java | 21 import android.content.res.Resources; 31 Resources r = ctx.getResources();
|
/packages/apps/Contacts/src/com/android/contacts/ |
ContactStatusUtil.java | 20 import android.content.res.Resources; 31 Resources resources = context.getResources(); local 34 return resources.getString(R.string.status_available); 37 return resources.getString(R.string.status_away); 39 return resources.getString(R.string.status_busy);
|
/packages/apps/Dialer/java/com/android/contacts/common/ |
ContactStatusUtil.java | 20 import android.content.res.Resources; 27 Resources resources = context.getResources(); local 30 return resources.getString(R.string.status_available); 33 return resources.getString(R.string.status_away); 35 return resources.getString(R.string.status_busy);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/ |
VisualVoicemailProtocolFactory.java | 19 import android.content.res.Resources; 30 public static VisualVoicemailProtocol create(Resources resources, String type) {
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
DateUtils.java | 19 import android.content.res.Resources; 37 Resources res = context.getResources();
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
GalleryApp.java | 21 import android.content.res.Resources; 39 public Resources getResources();
|
/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
SpannableUtil.java | 20 import android.content.res.Resources; 31 * {@class Resources} has no method to format string resource with {@class Spannable} a 34 public static Spannable getResourcesText(Resources res, @StringRes int resId,
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
ConversationViewUtils.java | 20 import android.content.res.Resources; 26 public static void setTextZoom(Resources resources, WebSettings settings) { 27 final float fontScale = resources.getConfiguration().fontScale; 28 final int desiredFontSizePx = resources.getInteger( 30 final int unstyledFontSizePx = resources.getInteger(
|
/external/guava/guava-tests/test/com/google/common/io/ |
ResourcesTest.java | 40 * Unit test for {@link Resources}. 48 suite.addTest(ByteSourceTester.tests("Resources.asByteSource[URL]", 50 suite.addTest(CharSourceTester.tests("Resources.asCharSource[URL, Charset]", 58 assertEquals(I18N, Resources.toString(resource, Charsets.UTF_8)); 59 assertThat(Resources.toString(resource, Charsets.US_ASCII)) 64 byte[] data = Resources.toByteArray(classfile(Resources.class)); 73 Resources.readLines(resource, Charsets.UTF_8)); 92 List<String> result = Resources.readLines(resource, Charsets.US_ASCII, 102 Resources.copy(resource, out) [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowResourcesImpl.java | 10 import android.content.res.Resources; 59 Field[] allFields = Resources.class.getDeclaredFields(); 77 public String getQuantityString(int id, int quantity, Object... formatArgs) throws Resources.NotFoundException { 83 public String getQuantityString(int resId, int quantity) throws Resources.NotFoundException { 104 public InputStream openRawResource(int id) throws Resources.NotFoundException { 117 * be returned if the resource is found. If the resource cannot be found, {@link Resources.NotFoundException} will 121 public AssetFileDescriptor openRawResourceFd(int id) throws Resources.NotFoundException { 136 private Resources.NotFoundException newNotFoundException(int id) { 140 return new Resources.NotFoundException("resource ID #0x" + Integer.toHexString(id)); 142 return new Resources.NotFoundException(resName.getFullyQualifiedName()) 164 Resources resources = wrapper.getResources(); local [all...] |
ShadowResources.java | 11 import android.content.res.Resources; 49 @Implements(Resources.class) 51 private static Resources system = null; 54 @RealObject Resources realResources; 69 Field[] allFields = Resources.class.getDeclaredFields(); 87 public static Resources getSystem() { 92 system = new Resources(assetManager, metrics, config); 104 public String getQuantityString(int id, int quantity, Object... formatArgs) throws Resources.NotFoundException { 110 public String getQuantityString(int resId, int quantity) throws Resources.NotFoundException { 132 public InputStream openRawResource(int id) throws Resources.NotFoundException [all...] |