HomeSort by relevance Sort by last modified time
    Searched refs:Resources (Results 1 - 25 of 2334) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/widget/
ThemedSpinnerAdapter.java 20 import android.content.res.Resources;
21 import android.content.res.Resources.Theme;
35 * Sets the {@link Resources.Theme} against which drop-down views are
42 void setDropDownViewTheme(@Nullable Resources.Theme theme);
48 * @return the {@link Resources.Theme} against which drop-down views are
52 Resources.Theme getDropDownViewTheme();
  /frameworks/base/core/java/android/content/res/
ConstantState.java 22 * depending on the current {@link Resources.Theme} or {@link Configuration}.
41 * Create a new instance without supplying resources the caller
48 * must be implemented for resources that change based on the target
52 public T newInstance(Resources res) {
58 * implemented for resources that can have a theme applied.
60 public T newInstance(Resources res, Resources.Theme theme) {
  /packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
BaseUiDeviceHelper.java 18 import android.content.res.Resources;
24 protected final Resources mTargetResources;
26 public BaseUiDeviceHelper(UiDevice uiDevice, Resources targetResources) {
  /packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
CarSettingsShadowResources.java 24 import android.content.res.Resources;
32 * Overrides ShadowResources to return a dummy value if resources are not found.
35 * to pull resources from binaries at this time.
38 @Implements(value = Resources.class, inheritImplementationMethods = true)
41 public Resources realResources;
46 return directlyOn(realResources, Resources.class).getDimensionPixelSize(id);
47 } catch (Resources.NotFoundException e1) {
55 return directlyOn(realResources, Resources.class).getDimensionPixelOffset(id);
56 } catch (Resources.NotFoundException e1) {
62 public int getColor(@ColorRes int id, @Nullable Resources.Theme theme)
    [all...]
  /frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/
DriverRS.java.template 19 import android.content.res.Resources;
24 private Resources mRes;
32 // This provides us with the renderscript context and resources that
34 public void init(RenderScriptGL rs, Resources res) {
  /frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-int-param/
DriverRS.java.template 19 import android.content.res.Resources;
24 private Resources mRes;
32 // This provides us with the renderscript context and resources that
34 public void init(RenderScriptGL rs, Resources res) {
  /external/vulkan-validation-layers/tests/
vktestframework.cpp 230 // These are the default resources for TBuiltInResources, used for both
330 // *.conf => this is a config file that can set limits/resources
374 Resources.maxLights = value;
376 Resources.maxClipPlanes = value;
378 Resources.maxTextureUnits = value;
380 Resources.maxTextureCoords = value;
382 Resources.maxVertexAttribs = value;
384 Resources.maxVertexUniformComponents = value;
386 Resources.maxVaryingFloats = value;
388 Resources.maxVertexTextureImageUnits = value
    [all...]
  /prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/
vktestframework.cpp 218 // These are the default resources for TBuiltInResources, used for both
317 // *.conf => this is a config file that can set limits/resources
365 Resources.maxLights = value;
367 Resources.maxClipPlanes = value;
369 Resources.maxTextureUnits = value;
371 Resources.maxTextureCoords = value;
373 Resources.maxVertexAttribs = value;
375 Resources.maxVertexUniformComponents = value;
377 Resources.maxVaryingFloats = value;
379 Resources.maxVertexTextureImageUnits = value
    [all...]
  /frameworks/support/core/ktx/src/main/java/androidx/core/graphics/drawable/
BitmapDrawable.kt 21 import android.content.res.Resources
26 inline fun Bitmap.toDrawable(resources: Resources) = BitmapDrawable(resources, this)
  /libcore/ojluni/src/main/java/sun/security/util/
Resources.java 33 public class Resources extends java.util.ListResourceBundle {
  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
AccessoryController.java 3 import android.content.res.Resources;
18 protected Resources getResources() {
  /frameworks/layoutlib/bridge/src/android/view/
PointerIcon_Delegate.java 22 import android.content.res.Resources;
27 /*package*/ static void loadResource(PointerIcon icon, Context context, Resources resources,
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
PipelineInterface.java 19 import android.content.res.Resources;
26 public Resources getResources();
  /packages/apps/Settings/src/com/android/settings/widget/
ChartAxis.java 19 import android.content.res.Resources;
42 public long buildLabel(Resources res, SpannableStringBuilder builder, long value);
  /frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/custom/
ContextWrapperFrameLayout.java 21 import android.content.res.Resources;
39 private final Resources mResources;
47 public Resources getResources() {
52 public static class CustomResources extends Resources {
53 public CustomResources(Resources res) {
  /frameworks/base/tests/testables/src/android/testing/
TestableResources.java 21 import android.content.res.Resources;
28 * Provides a version of Resources that defaults to all existing resources, but can have ids
39 private final Resources mResources;
42 /** Creates a TestableResources instance that calls through to the given real Resources. */
43 public TestableResources(Resources realResources) {
44 mResources = mock(Resources.class, withSettings()
50 * Gets the implementation of Resources that will return overridden values when called.
52 public Resources getResources() {
63 * @param value The value of the resource, null to cause a {@link Resources.NotFoundException
    [all...]
  /frameworks/base/core/java/android/database/sqlite/
SQLiteGlobal.java 20 import android.content.res.Resources;
79 Resources.getSystem().getString(
89 Resources.getSystem().getBoolean(
98 Resources.getSystem().getInteger(
107 Resources.getSystem().getString(
116 Resources.getSystem().getString(
125 Resources.getSystem().getInteger(
135 Resources.getSystem().getInteger(
146 Resources.getSystem().getInteger(
  /frameworks/base/core/tests/coretests/src/android/os/
VibrationEffectTest.java 27 import android.content.res.Resources;
45 Resources r = mockRingtoneResources(new String[0]);
53 Resources r = mockRingtoneResources();
61 Resources r = mockRingtoneResources();
70 private Resources mockRingtoneResources() {
78 private Resources mockRingtoneResources(String[] ringtoneUris) {
79 Resources mockResources = mock(Resources.class);
85 private Context mockContext(Resources r) {
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DirectoryEntry.java 19 import android.content.res.Resources;
37 public Drawable getDrawable(Resources res) {
41 public Bitmap getBitmap(Resources res) {
  /frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
UT_atomic.java 20 import android.content.res.Resources;
24 private Resources mRes;
26 protected UT_atomic(RSTestCore rstc, Resources res, Context ctx) {
UT_clamp.java 20 import android.content.res.Resources;
24 private Resources mRes;
26 protected UT_clamp(RSTestCore rstc, Resources res, Context ctx) {
UT_clamp_relaxed.java 20 import android.content.res.Resources;
24 private Resources mRes;
26 protected UT_clamp_relaxed(RSTestCore rstc, Resources res, Context ctx) {
UT_convert.java 20 import android.content.res.Resources;
24 private Resources mRes;
26 protected UT_convert(RSTestCore rstc, Resources res, Context ctx) {
UT_convert_relaxed.java 20 import android.content.res.Resources;
24 private Resources mRes;
26 protected UT_convert_relaxed(RSTestCore rstc, Resources res, Context ctx) {
UT_fp_mad.java 20 import android.content.res.Resources;
24 private Resources mRes;
26 protected UT_fp_mad(RSTestCore rstc, Resources res, Context ctx) {

Completed in 1099 milliseconds

1 2 3 4 5 6 7 8 91011>>