/frameworks/base/graphics/java/android/renderscript/ |
H A D | ScriptC.java | 54 * @param resources 57 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { argument 59 int id = internalCreate(rs, resources, resourceID); 73 private static synchronized int internalCreate(RenderScript rs, Resources resources, int resourceID) { argument 76 InputStream is = resources.openRawResource(resourceID); 102 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/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/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ResourceModifiers.java | 51 public static void init(Resources resources) { argument 52 sInstance = new ResourceModifiers(resources); 55 public ResourceModifiers(Resources resources) { argument 56 mBitmap = BitmapFactory.decodeResource(resources, R.drawable.sunset1); 60 mDrawWidth = resources.getDimensionPixelSize(R.dimen.layer_width); 61 mDrawHeight = resources.getDimensionPixelSize(R.dimen.layer_height);
|
H A D | ErrorCalculator.java | 50 public ErrorCalculator(Context c, Resources resources) { argument 51 int width = resources.getDimensionPixelSize(R.dimen.layer_width); 52 int height = resources.getDimensionPixelSize(R.dimen.layer_height); 60 mScript = new ScriptC_errorCalculator(mRS, resources, R.raw.errorcalculator);
|
/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/core/java/android/content/res/ |
H A D | TypedArray.java | 142 * is, this does not allow references to string resources, string 375 * associated with the resources this {@link TypedArray} object 731 /*package*/ TypedArray(Resources resources, int[] data, int[] indices, int len) { argument 732 mResources = resources;
|
/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(resources, resourceId); 376 private void loadResource(Resources resources, in argument [all...] |
/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 | 31 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 62 mBridgeResources = resources; 418 * associated with the resources this {@link TypedArray} object
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneData.java | 264 private void populateDisplayNameOverrides(Resources resources) { argument 265 String[] ids = resources.getStringArray(R.array.timezone_rename_ids); 266 String[] labels = resources.getStringArray(R.array.timezone_rename_labels);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | RecentTasksLoader.java | 216 Drawable getFullResIcon(Resources resources, int iconId) { argument 218 return resources.getDrawableForDensity(iconId, mIconDpi); 225 Resources resources; 227 resources = packageManager.getResourcesForApplication( 230 resources = null; 232 if (resources != null) { 235 return getFullResIcon(resources, iconId);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderSessionImpl.java | 52 import com.android.resources.ResourceType; 53 import com.android.resources.ScreenOrientation; 179 RenderResources resources = getParams().getResources(); 183 mIsAlphaChannelImage = getBooleanThemeValue(resources, 186 mWindowIsFloating = getBooleanThemeValue(resources, "windowIsFloating", 189 findBackground(resources); 190 findStatusBar(resources, metrics); 191 findActionBar(resources, metrics); 192 findNavigationBar(resources, metrics); 1032 private void findBackground(RenderResources resources) { argument 1046 findStatusBar(RenderResources resources, DisplayMetrics metrics) argument 1069 findActionBar(RenderResources resources, DisplayMetrics metrics) argument 1130 findNavigationBar(RenderResources resources, DisplayMetrics metrics) argument 1186 getBooleanThemeValue(RenderResources resources, String name, boolean defaultValue) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ContextImpl.java | 2055 final void init(Resources resources, ActivityThread mainThread, UserHandle user) { argument 2059 mResources = resources;
|
/frameworks/base/services/java/com/android/server/input/ |
H A D | InputManagerService.java | 739 public void visitKeyboardLayout(Resources resources, 773 public void visitKeyboardLayout(Resources resources, 790 public void visitKeyboardLayout(Resources resources, 844 Resources resources = pm.getResourcesForApplication(receiver.applicationInfo); 845 XmlResourceParser parser = resources.getXml(configResId); 856 TypedArray a = resources.obtainAttributes( 875 visitor.visitKeyboardLayout(resources, descriptor, 1443 public void visitKeyboardLayout(Resources resources, 1448 resources.openRawResource(keyboardLayoutResId))); 1589 void visitKeyboardLayout(Resources resources, argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Resource.cpp | 183 sp<AaptGroup> group = assets->getFiles().valueFor(String8("resources.arsc")); 195 return assets->addFile(String8("resources.arsc"), AaptGroupEntry(), String8(), 379 KeyedVector<String8, sp<ResourceTypeSet> >* resources) 396 ssize_t index = resources->indexOfKey(resType); 403 resources->add(resType, set); 405 sp<ResourceTypeSet> set = resources->valueAt(index); 428 KeyedVector<String8, sp<ResourceTypeSet> >* resources) 437 collect_files(d, resources); 585 // get the overlay resources of the requested type 590 // for each of the resources, chec 378 collect_files(const sp<AaptDir>& dir, KeyedVector<String8, sp<ResourceTypeSet> >* resources) argument 427 collect_files(const sp<AaptAssets>& ass, KeyedVector<String8, sp<ResourceTypeSet> >* resources) argument 927 KeyedVector<String8, sp<ResourceTypeSet> > *resources = local 959 KeyedVector<String8, sp<ResourceTypeSet> > *resources = local 1062 KeyedVector<String8, sp<ResourceTypeSet> > *resources = local [all...] |
/frameworks/base/core/java/android/content/ |
H A D | Intent.java | 1742 * whose resources(were previously unavailable) are currently available. 1744 * packages whose resources(were previously unavailable) 1767 * whose resources are no longer available. 1769 * whose resources are no longer available. 7075 * @param resources The Resources to use when inflating resources. 7083 public static Intent parseIntent(Resources resources, XmlPullParser parser, AttributeSet attrs) argument 7087 TypedArray sa = resources.obtainAttributes(attrs, 7114 sa = resources.obtainAttributes(attrs, 7128 resources [all...] |