/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
WifiConnectivityGuidedStepFragment.java | 21 import android.content.res.Resources; 69 * Get resources safely. 71 * @return resources. 74 public Resources getResourcesSafely() { 91 final Resources resources = getResourcesSafely(); 92 if (resources == null) { 98 resources.getDimensionPixelSize(R.dimen.setup_list_item_margin));
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
TransitionUtils.java | 20 import android.content.res.Resources; 34 public static ObjectAnimator createActivityFadeInAnimator(Resources res, boolean useFloats) { 54 public static ObjectAnimator createActivityFadeOutAnimator(Resources res, boolean useFloats) {
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/utils/ |
ApkZFileTestUtils.java | 25 import com.google.common.io.Resources; 92 return Resources.asByteSource(Resources.getResource(ApkZFileTestUtils.class, path));
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSForEachTest.java | 20 import android.content.res.Resources;
|
RSInitTest.java | 20 import android.content.res.Resources;
|
RSScriptTest.java | 20 import android.content.res.Resources;
|
RSTypeTest.java | 20 import android.content.res.Resources;
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
VectorDrawableStaticPerf.java | 17 import android.content.res.Resources;
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
CircleView.java | 20 import android.content.res.Resources; 50 Resources res = context.getResources(); 64 Resources res = context.getResources(); 80 Resources res = context.getResources();
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
SimpleInflater.java | 19 import android.content.res.Resources; 45 protected final Resources mResources; 48 * Create a new inflater instance associated with a particular Resources bundle. 50 * @param resources The Resources class used to resolve given resource IDs. 52 protected SimpleInflater(@NonNull Resources resources) { 53 mResources = resources; 56 public Resources getResources() {
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
ScriptC.java | 20 import android.content.res.Resources; 54 * @param resources 57 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { 59 long id = internalCreate(rs, resources, resourceID); 88 private static synchronized long internalCreate(RenderScript rs, Resources resources, int resourceID) { 91 InputStream is = resources.openRawResource(resourceID); 114 throw new Resources.NotFoundException(); 117 String resName = resources.getResourceEntryName(resourceID) [all...] |
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
Copy.java | 32 public void createTest(android.content.res.Resources res) {
|
Greyscale.java | 32 public void createTest(android.content.res.Resources res) {
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
Artistic1.java | 25 public void createTest(android.content.res.Resources res) {
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
Copy.java | 32 public void createTest(android.content.res.Resources res) {
|
Greyscale.java | 32 public void createTest(android.content.res.Resources res) {
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/ |
WrappedDrawableApi21.java | 20 import android.content.res.Resources; 48 WrappedDrawableApi21(DrawableWrapperState state, Resources resources) { 49 super(state, resources); 148 @Nullable Resources res) { 154 public Drawable newDrawable(@Nullable Resources res) {
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/content/res/ |
AppCompatColorStateListInflater.java | 20 import android.content.res.Resources; 45 * {@link Resources} and a {@link Theme}. 47 * @param r Resources against which the ColorStateList should be inflated. 54 public static ColorStateList createFromXml(@NonNull Resources r, @NonNull XmlPullParser parser, 55 @Nullable Resources.Theme theme) throws XmlPullParserException, IOException { 79 private static ColorStateList createFromXmlInner(@NonNull Resources r, 81 @Nullable Resources.Theme theme) 95 private static ColorStateList inflate(@NonNull Resources r, @NonNull XmlPullParser parser, 96 @NonNull AttributeSet attrs, @Nullable Resources.Theme theme) 163 private static TypedArray obtainAttributes(Resources res, Resources.Theme theme [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
ThemeUtils.java | 19 import android.content.res.Resources.Theme;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
BrightnessMappingStrategyTest.java | 29 import android.content.res.Resources; 121 Resources res = createResources(LUX_LEVELS, DISPLAY_LEVELS_BACKLIGHT); 134 Resources res = createResources(LUX_LEVELS, DISPLAY_LEVELS_BACKLIGHT); 148 Resources res = createResources(LUX_LEVELS, DISPLAY_LEVELS_BACKLIGHT); 164 Resources res = createResources(LUX_LEVELS, DISPLAY_LEVELS_BACKLIGHT); 177 Resources res = createResources(LUX_LEVELS, DISPLAY_LEVELS_NITS, 190 Resources res = createResources(LUX_LEVELS, DISPLAY_LEVELS_NITS, 207 Resources res = createResources(LUX_LEVELS, DISPLAY_LEVELS_NITS, 233 Resources res = createResources(LUX_LEVELS, DISPLAY_LEVELS_BACKLIGHT, 246 Resources res = createResources(lux, DISPLAY_LEVELS_NITS 468 Resources resources = createResources(GAMMA_CORRECTION_LUX, GAMMA_CORRECTION_NITS, local 496 Resources resources = createResources(GAMMA_CORRECTION_LUX, GAMMA_CORRECTION_NITS, local 521 Resources resources = createResources(GAMMA_CORRECTION_LUX, GAMMA_CORRECTION_NITS, local 542 Resources resources = createResources(GAMMA_CORRECTION_LUX, GAMMA_CORRECTION_NITS, local [all...] |
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
AttachedContextActivity.java | 21 import android.content.res.Resources; 51 final Resources resources = context.getResources(); local 52 final Configuration configuration = resources.getConfiguration();
|
/cts/tests/tests/content/src/android/content/res/cts/ |
RawResourceTest.java | 19 import android.content.res.Resources; 28 private Resources mResources;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
VectorDrawableSizeTest.java | 22 import android.content.res.Resources; 40 private Resources mResources = null;
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerSurfaceStubActivity.java | 22 import android.content.res.Resources; 31 protected Resources mResources;
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
ContactsContract_CommonDataKinds_OrganizationTest.java | 21 import android.content.res.Resources; 29 private Resources mResources;
|