/frameworks/opt/bitmap/src/com/android/bitmap/ |
ResourceRequestKey.java | 19 import android.content.res.Resources; 29 private Resources mResources; 36 public static ResourceRequestKey from(Resources res, int resId) { 43 private ResourceRequestKey(Resources res, int resId) {
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/resources/ |
ResourcesTest.java | 12 package org.jacoco.report.internal.html.resources; 25 * Unit tests for {@link Resources}. 33 private Resources resources; field in class:ResourcesTest 39 resources = new Resources(root); 45 assertEquals("../../jacoco-resources/test.png", 46 resources.getLink(base, "test.png")); 52 resources.copyResources(); 53 output.assertFile("jacoco-resources/branchfc.gif") [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
ScreenShapeHelper.java | 3 import android.content.res.Resources; 16 public static int getWindowOutsetBottomPx(Resources resources) { 20 return resources.getInteger(com.android.internal.R.integer.config_windowOutsetBottom);
|
/frameworks/support/compat/src/main/java/androidx/core/content/res/ |
ConfigurationHelper.java | 22 import android.content.res.Resources; 40 public static int getDensityDpi(@NonNull Resources resources) { 42 return resources.getConfiguration().densityDpi; 44 return resources.getDisplayMetrics().densityDpi;
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
GalleryContext.java | 20 import android.content.res.Resources; 32 public Resources getResources();
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
ImageResource.java | 18 import android.content.res.Resources; 37 public abstract Drawable getDrawable(Resources resources);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
LiteFragment.java | 21 import android.content.res.Resources; 33 public Resources getResources();
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
BitmapEditor.java | 19 import android.content.res.Resources; 32 protected int getIconSize(Resources res) {
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowResources.java | 5 import android.content.res.Resources; 30 * Shadow of {@code Resources} that simulates the loading of resources 35 @Implements(Resources.class) 42 static Resources bind(Resources resources, ResourceLoader resourceLoader) { 43 ShadowResources shadowResources = shadowOf(resources); 46 return resources; 50 Resources realResources [all...] |
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
ThemedSpinnerAdapter.java | 21 import android.content.res.Resources; 22 import android.content.res.Resources.Theme; 45 * Sets the {@link Resources.Theme} against which drop-down views are 52 void setDropDownViewTheme(@Nullable Resources.Theme theme); 58 * @return the {@link Resources.Theme} against which drop-down views are 62 Resources.Theme getDropDownViewTheme(); 93 * public void setDropDownViewTheme(@Nullable Resources.Theme theme) { 99 * public Resources.Theme getDropDownViewTheme() { 123 public void setDropDownViewTheme(@Nullable Resources.Theme theme) { 139 public Resources.Theme getDropDownViewTheme() [all...] |
/frameworks/base/core/java/android/view/ |
ContextThemeWrapper.java | 24 import android.content.res.Resources; 32 private Resources.Theme mTheme; 35 private Resources mResources; 71 * @param theme the theme against which resources should be inflated 73 public ContextThemeWrapper(Context base, Resources.Theme theme) { 120 public Resources getResources() { 124 private Resources getResourcesInternal() { 151 public Resources.Theme getTheme() { 156 mThemeResource = Resources.selectDefaultTheme(mThemeResource, 185 protected void onApplyThemeResource(Resources.Theme theme, int resId, boolean first) [all...] |
/external/caliper/caliper/src/test/java/com/google/caliper/bridge/ |
LogMessageParserTest.java | 27 import com.google.common.io.Resources; 57 List<String> lines = Resources.readLines( 58 Resources.getResource(LogMessageParserTest.class, "jdk6-gc.txt"), UTF_8); 65 List<String> lines = Resources.readLines( 66 Resources.getResource(LogMessageParserTest.class, "jdk7-gc.txt"), UTF_8); 86 List<String> lines = Resources.readLines( 87 Resources.getResource(LogMessageParserTest.class, "jdk6-compilation.txt"), UTF_8); 94 List<String> lines = Resources.readLines( 95 Resources.getResource(LogMessageParserTest.class, "jdk7-compilation.txt"), UTF_8); 102 List<String> lines = Resources.readLines [all...] |
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/ |
ContextThemeWrapper.java | 23 import android.content.res.Resources; 35 private Resources.Theme mTheme; 38 private Resources mResources; 74 * @param theme the theme against which resources should be inflated 76 public ContextThemeWrapper(Context base, Resources.Theme theme) { 108 public Resources getResources() { 112 private Resources getResourcesInternal() { 141 public Resources.Theme getTheme() { 176 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { 184 Resources.Theme theme = getBaseContext().getTheme() [all...] |
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/ |
IColumnRenderer.java | 21 import org.jacoco.report.internal.html.resources.Resources; 48 * @param resources 49 * static resources that might be referenced 56 Resources resources, ReportOutputFolder base) throws IOException; 65 * @param resources 66 * static resources that might be referenced 72 public void item(HTMLElement td, ITableItem item, Resources resources, [all...] |
/frameworks/layoutlib/bridge/src/android/content/res/ |
ComplexColor_Accessor.java | 24 import android.content.res.Resources.Theme; 30 * Class that provides access to the {@link GradientColor#createFromXmlInner(Resources, 31 * XmlPullParser, AttributeSet, Theme)} and {@link ColorStateList#createFromXmlInner(Resources, 35 public static GradientColor createGradientColorFromXmlInner(@NonNull Resources r, 41 public static ColorStateList createColorStateListFromXmlInner(@NonNull Resources r,
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
UT_unsigned.java | 20 import android.content.res.Resources; 24 private Resources mRes; 26 protected UT_unsigned(RSTestCore rstc, Resources res, Context ctx) {
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
EventCompat.java | 19 import android.content.res.Resources; 38 public static CharSequence getTypeLabel(Resources res, int type, CharSequence label) { 48 * {@link Event#getTypeLabel(Resources, int, CharSequence)} 50 private static CharSequence getTypeLabelInternal(Resources res, int type, CharSequence label) {
|
/packages/apps/Settings/tests/unit/src/com/android/settings/dashboard/ |
FirstIdViewMatcher.java | 19 import android.content.res.Resources; 33 Resources resources = null; 38 if (resources != null) { 40 idDescription = resources.getResourceName(id); 41 } catch (Resources.NotFoundException e) { 50 this.resources = view.getResources();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
RunInLocale.java | 20 import android.content.res.Resources; 27 protected abstract T job(final Resources res); 30 * Execute {@link #job(Resources)} method in specified system locale exclusively. 32 * @param res the resources to use. 34 * @return the value returned from {@link #job(Resources)}. 36 public T runInLocale(final Resources res, final Locale newLocale) {
|
/frameworks/base/tests/testables/tests/src/android/testing/ |
TestableResourcesTest.java | 23 import android.content.res.Resources; 42 Resources before = mContext.getResources(); 44 Resources after = mContext.getResources(); 55 } catch (Resources.NotFoundException e) { 72 } catch (Resources.NotFoundException e) { 86 @Test(expected = Resources.NotFoundException.class)
|
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
ScriptC_set_target_api_11.java | 24 import android.content.res.Resources; 40 public ScriptC_set_target_api_11(RenderScript rs, Resources resources, int id) { 41 super(rs, resources, id);
|
ScriptC_set_target_api_12.java | 24 import android.content.res.Resources; 40 public ScriptC_set_target_api_12(RenderScript rs, Resources resources, int id) { 41 super(rs, resources, id);
|
ScriptC_set_target_api_13.java | 24 import android.content.res.Resources; 40 public ScriptC_set_target_api_13(RenderScript rs, Resources resources, int id) { 41 super(rs, resources, id);
|
ScriptC_set_target_api_14.java | 24 import android.content.res.Resources; 40 public ScriptC_set_target_api_14(RenderScript rs, Resources resources, int id) { 41 super(rs, resources, id);
|
ScriptC_set_target_api_15.java | 24 import android.content.res.Resources; 40 public ScriptC_set_target_api_15(RenderScript rs, Resources resources, int id) { 41 super(rs, resources, id);
|