/frameworks/base/core/java/android/content/res/ |
H A D | ConfigurationBoundResourceCache.java | 37 * @param resources The Resource which can be used when creating new instances. 39 public ConfigurationBoundResourceCache(Resources resources) { argument 40 mResources = resources; 73 * @return If this resources was loaded before, returns a new instance of it. Otherwise, returns 105 * change happens. On this callback, the cache invalidates all resources that are not valid
|
H A D | TypedArray.java | 193 * is, this does not allow references to string resources, string 465 * associated with the resources this {@link TypedArray} object 999 /*package*/ TypedArray(Resources resources, int[] data, int[] indices, int len) { argument 1000 mResources = resources;
|
/frameworks/base/core/java/android/view/animation/ |
H A D | CycleInterpolator.java | 46 public CycleInterpolator(Resources resources, Theme theme, AttributeSet attrs) { argument 51 a = resources.obtainAttributes(attrs, R.styleable.CycleInterpolator);
|
/frameworks/base/core/java/android/webkit/ |
H A D | PermissionRequest.java | 23 * requests access to protected resources. The permission request related events 49 * the restricted resources. 52 * resources. 57 * Call this method to get the resources the web page is trying to access. 59 * @return the array of resources the web content wants to access. 64 * Call this method to grant origin the permission to access the given resources. 67 * @param resources the resources granted to be accessed by origin, to grant 68 * request, the requested resources returned by {@link #getResources()} 69 * must be equals or a subset of granted resources 73 grant(String[] resources) argument [all...] |
H A D | WebViewDelegate.java | 129 public int getPackageId(Resources resources, String packageName) { argument 131 resources.getAssets().getAssignedPackageIdentifiers();
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | ScriptC.java | 56 * @param resources 59 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { argument 61 long id = internalCreate(rs, resources, resourceID); 94 private static synchronized long internalCreate(RenderScript rs, Resources resources, int resourceID) { argument 97 InputStream is = resources.openRawResource(resourceID); 123 String resName = resources.getResourceEntryName(resourceID);
|
H A D | Program.java | 242 * @param resources application resources 247 public BaseProgramBuilder setShader(Resources resources, int resourceID) { argument 250 InputStream is = resources.openRawResource(resourceID);
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
H A D | AnimatedVectorDrawableDupPerf.java | 64 public static AnimatedVectorDrawable create(Resources resources, int rid) { argument 66 final XmlPullParser parser = resources.getXml(rid); 78 drawable.inflate(resources, parser, attrs);
|
H A D | VectorDrawablePerformance.java | 70 public static VectorDrawable create(Resources resources, int rid) { argument 72 final XmlPullParser parser = resources.getXml(rid); 84 drawable.inflate(resources, parser, attrs);
|
/frameworks/base/tools/layoutlib/bridge/src/android/animation/ |
H A D | AnimatorInflater_Delegate.java | 39 /*package*/ static Animator loadAnimator(Resources resources, Theme theme, int id) argument 41 return loadAnimator(resources, theme, id, 1); 45 /*package*/ static Animator loadAnimator(Resources resources, Theme theme, int id, argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | TintResources.java | 24 * This class allows us to intercept calls so that we can tint resources (if applicable). 32 public TintResources(Resources resources, TintManager tintManager) { argument 33 super(resources);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptC.java | 54 * @param resources 57 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { argument 62 ScriptCThunker s = new ScriptCThunker(rst, resources, resourceID); 67 int id = internalCreate(rs, resources, resourceID); 75 private static synchronized int internalCreate(RenderScript rs, Resources resources, int resourceID) { argument 78 InputStream is = resources.openRawResource(resourceID); 104 String resName = resources.getResourceEntryName(resourceID);
|
H A D | ScriptCThunker.java | 38 protected ScriptCThunker(RenderScriptThunker rs, Resources resources, int resourceID) { argument 39 super(rs.mN, resources, resourceID);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/ |
H A D | PhotoBitmapLoaderInterface.java | 27 public Drawable getDrawable(Resources resources) { argument 28 if (resources == null) { 29 throw new IllegalArgumentException("resources can not be null!"); 43 return new BitmapDrawable(resources, bitmap);
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
H A D | ConfigurationBoundResourceCacheTest.java | 187 private int calcConfigChanges(Resources resources, Configuration configuration) argument 194 return (Integer) mCalcConfigChanges.invoke(resources, configuration);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | FragmentShader.java | 46 public Builder setShader(Resources resources, int resourceID) { argument 47 mBuilder.setShader(resources, resourceID);
|
H A D | VertexShader.java | 42 public Builder setShader(Resources resources, int resourceID) { argument 43 mBuilder.setShader(resources, resourceID);
|
/frameworks/base/core/java/android/text/ |
H A D | AutoText.java | 76 private AutoText(Resources resources) { argument 77 mLocale = resources.getConfiguration().locale; 78 init(resources); 84 * @param view to get the resources from
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ErrorCalculator.java | 47 public ErrorCalculator(Context c, Resources resources) { argument 48 int width = resources.getDimensionPixelSize(R.dimen.layer_width); 49 int height = resources.getDimensionPixelSize(R.dimen.layer_height);
|
H A D | ResourceModifiers.java | 60 public static void init(Resources resources) { argument 61 sInstance = new ResourceModifiers(resources); 64 public ResourceModifiers(Resources resources) { argument 65 mBitmap = BitmapFactory.decodeResource(resources, R.drawable.sunset1); 69 mDrawWidth = resources.getDimensionPixelSize(R.dimen.layer_width); 70 mDrawHeight = resources.getDimensionPixelSize(R.dimen.layer_height);
|
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorInflater.java | 80 * @param context Application context used to access resources 93 * @param resources The resources 100 public static Animator loadAnimator(Resources resources, Theme theme, int id) argument 102 return loadAnimator(resources, theme, id, 1); 106 public static Animator loadAnimator(Resources resources, Theme theme, int id, argument 108 final ConfigurationBoundResourceCache<Animator> animatorCache = resources 113 Log.d(TAG, "loaded animator from cache, " + resources.getResourceName(id)); 117 Log.d(TAG, "cache miss for animator " + resources.getResourceName(id)); 121 parser = resources 683 getChangingConfigs(Resources resources, int id) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | PointerIcon.java | 36 * or by applications using bitmaps or application resources. 135 Log.w(TAG, "Missing theme resources for pointer icon style " + style); 187 * @param resources The resources object. 191 * @throws IllegalArgumentException if resources is null. 195 public static PointerIcon loadCustomIcon(Resources resources, int resourceId) { argument 196 if (resources == null) { 197 throw new IllegalArgumentException("resources must not be null"); 201 icon.loadResource(null, resources, resourceId); 376 private void loadResource(Context context, Resources resources, in argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | FakeShadowDrawable.java | 84 public FakeShadowDrawable(Resources resources, RecentsConfiguration config) { argument 85 mShadowStartColor = resources.getColor(R.color.fake_shadow_start_color); 86 mShadowEndColor = resources.getColor(R.color.fake_shadow_end_color); 87 mInsetShadow = resources.getDimension(R.dimen.fake_shadow_inset); 88 setShadowSize(resources.getDimensionPixelSize(R.dimen.fake_shadow_size), 89 resources.getDimensionPixelSize(R.dimen.fake_shadow_size));
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GLTextureViewActivity.java | 147 RenderThread(Resources resources, SurfaceTexture surface) { argument 148 mResources = resources;
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeTypedArray.java | 30 import com.android.resources.ResourceType; 47 * Custom implementation of TypedArray to handle non compiled resources. 59 public BridgeTypedArray(BridgeResources resources, BridgeContext context, int len, argument 61 super(resources, null, null, 0); 62 mBridgeResources = resources; 346 * associated with the resources this {@link TypedArray} object
|