/frameworks/base/graphics/java/android/renderscript/ |
H A D | ScriptC.java | 53 * @param resources 56 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { argument 58 int id = internalCreate(rs, resources, resourceID); 66 private static synchronized int internalCreate(RenderScript rs, Resources resources, int resourceID) { argument 69 InputStream is = resources.openRawResource(resourceID); 95 String resName = resources.getResourceEntryName(resourceID);
|
H A D | Program.java | 241 * @param resources application resources 246 public BaseProgramBuilder setShader(Resources resources, int resourceID) { argument 249 InputStream is = resources.openRawResource(resourceID);
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | ScriptC.java | 53 * @param resources 56 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { argument 58 int id = internalCreate(rs, resources, resourceID); 66 private static synchronized int internalCreate(RenderScript rs, Resources resources, int resourceID) { argument 69 InputStream is = resources.openRawResource(resourceID); 95 String resName = resources.getResourceEntryName(resourceID);
|
/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/TileBenchmark/src/com/test/tilebenchmark/ |
H A D | PlaybackGraphs.java | 276 ArrayList<String> strings, Resources resources) { 286 String label = resources.getString( 292 String statLabel = resources.getString( 294 label = statLabel + " " + resources.getString( 275 draw(Canvas canvas, ArrayList<ShapeDrawable> shapes, ArrayList<String> strings, Resources resources) argument
|
/frameworks/base/core/java/android/content/res/ |
H A D | TypedArray.java | 141 * is, this does not allow references to string resources, string 374 * associated with the resources this {@link TypedArray} object 730 /*package*/ TypedArray(Resources resources, int[] data, int[] indices, int len) { argument 731 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/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | RecentTasksLoader.java | 215 Drawable getFullResIcon(Resources resources, int iconId) { argument 217 return resources.getDrawableForDensity(iconId, mIconDpi); 224 Resources resources; 226 resources = packageManager.getResourcesForApplication( 229 resources = null; 231 if (resources != null) { 234 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); 1018 private void findBackground(RenderResources resources) { argument 1032 findStatusBar(RenderResources resources, DisplayMetrics metrics) argument 1055 findActionBar(RenderResources resources, DisplayMetrics metrics) argument 1116 findNavigationBar(RenderResources resources, DisplayMetrics metrics) argument 1172 getBooleanThemeValue(RenderResources resources, String name, boolean defaultValue) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ContextImpl.java | 1884 final void init(Resources resources, ActivityThread mainThread, UserHandle user) { argument 1887 mResources = resources;
|
/frameworks/base/core/java/android/widget/ |
H A D | RelativeLayout.java | 1564 * @param resources The context's resources to print the ids. 1567 void log(Resources resources, int... rules) { argument 1570 printNode(resources, node); 1574 static void printViewId(Resources resources, View view) { argument 1576 d(LOG_TAG, resources.getResourceEntryName(view.getId())); 1582 private static void appendViewId(Resources resources, Node node, StringBuilder buffer) { argument 1584 buffer.append(resources.getResourceEntryName(node.view.getId())); 1590 private static void printNode(Resources resources, Node node) { argument 1592 printViewId(resources, nod 1602 printdependents(Resources resources, Node node, StringBuilder buffer) argument [all...] |
/frameworks/base/services/java/com/android/server/input/ |
H A D | InputManagerService.java | 738 public void visitKeyboardLayout(Resources resources, 772 public void visitKeyboardLayout(Resources resources, 789 public void visitKeyboardLayout(Resources resources, 843 Resources resources = pm.getResourcesForApplication(receiver.applicationInfo); 844 XmlResourceParser parser = resources.getXml(configResId); 855 TypedArray a = resources.obtainAttributes( 874 visitor.visitKeyboardLayout(resources, descriptor, 1441 public void visitKeyboardLayout(Resources resources, 1446 resources.openRawResource(keyboardLayoutResId))); 1587 void visitKeyboardLayout(Resources resources, argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Resource.cpp | 182 sp<AaptGroup> group = assets->getFiles().valueFor(String8("resources.arsc")); 194 return assets->addFile(String8("resources.arsc"), AaptGroupEntry(), String8(), 378 KeyedVector<String8, sp<ResourceTypeSet> >* resources) 395 ssize_t index = resources->indexOfKey(resType); 402 resources->add(resType, set); 404 sp<ResourceTypeSet> set = resources->valueAt(index); 427 KeyedVector<String8, sp<ResourceTypeSet> >* resources) 436 collect_files(d, resources); 584 // get the overlay resources of the requested type 589 // for each of the resources, chec 377 collect_files(const sp<AaptDir>& dir, KeyedVector<String8, sp<ResourceTypeSet> >* resources) argument 426 collect_files(const sp<AaptAssets>& ass, KeyedVector<String8, sp<ResourceTypeSet> >* resources) argument 926 KeyedVector<String8, sp<ResourceTypeSet> > *resources = local 956 KeyedVector<String8, sp<ResourceTypeSet> > *resources = local 1051 KeyedVector<String8, sp<ResourceTypeSet> > *resources = local [all...] |
/frameworks/base/core/java/android/content/ |
H A D | Intent.java | 1701 * whose resources(were previously unavailable) are currently available. 1703 * packages whose resources(were previously unavailable) 1726 * whose resources are no longer available. 1728 * whose resources are no longer available. 6722 * @param resources The Resources to use when inflating resources. 6730 public static Intent parseIntent(Resources resources, XmlPullParser parser, AttributeSet attrs) argument 6734 TypedArray sa = resources.obtainAttributes(attrs, 6761 sa = resources.obtainAttributes(attrs, 6775 resources [all...] |