HomeSort by relevance Sort by last modified time
    Searched refs:resources (Results 51 - 75 of 2664) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/apache-harmony/support/src/test/java/tests/resources/subfolder/tests/resources/
hyts_resource_fr_FR.java 18 package tests.resources.subfolder.tests.resources;
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
rbtTemplate.txt 15 package com.ibm.text.resources;
  /packages/apps/Messaging/src/com/android/messaging/ui/
ConversationDrawables.java 19 import android.content.res.Resources;
27 * A singleton cache that holds tinted drawable resources for displaying messages, such as
74 final Resources resources = mContext.getResources(); local
76 mIncomingBubbleDrawable = resources.getDrawable(R.drawable.msg_bubble_incoming);
78 resources.getDrawable(R.drawable.message_bubble_incoming_no_arrow);
79 mIncomingErrorBubbleDrawable = resources.getDrawable(R.drawable.msg_bubble_error);
80 mOutgoingBubbleDrawable = resources.getDrawable(R.drawable.msg_bubble_outgoing);
82 resources.getDrawable(R.drawable.message_bubble_outgoing_no_arrow);
83 mAudioPlayButtonDrawable = resources.getDrawable(R.drawable.ic_audio_play)
    [all...]
  /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/
TryStmt.java 38 private List<VariableDeclarationExpr> resources; field in class:TryStmt
56 public TryStmt(Range range, List<VariableDeclarationExpr> resources,
59 setResources(resources);
89 resources = ensureNotNull(resources);
90 return resources;
111 public TryStmt setResources(List<VariableDeclarationExpr> resources) {
112 this.resources = resources;
113 setAsParentNodeOf(this.resources);
    [all...]
  /frameworks/layoutlib/bridge/src/android/content/res/
Resources_Delegate.java 35 import com.android.resources.ResourceType;
36 import com.android.resources.ResourceUrl;
46 import android.content.res.Resources.NotFoundException;
47 import android.content.res.Resources.Theme;
72 private static WeakHashMap<Resources, LayoutlibCallback> sLayoutlibCallbacks = new
74 private static WeakHashMap<Resources, BridgeContext> sContexts = new
82 public static Resources initSystem(@NonNull BridgeContext context,
87 assert Resources.mSystem == null :
89 Resources resources = new Resources(Resources_Delegate.class.getClassLoader()) local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/res/
ResourcesLocaleTest.java 35 final Resources resources = getContext().getResources(); local
36 try (InputStream is = resources.openRawResource(id)) {
37 File path = new File(getContext().getFilesDir(), resources.getResourceEntryName(id));
43 private Resources createResourcesWithApk(int rawApkId) throws Exception {
49 return new Resources(assets, dm, new Configuration());
52 private static void ensureNoLanguage(Resources resources, String language) {
53 final String[] supportedLocales = resources.getAssets().getNonSystemLocales();
66 final Resources resources = createResourcesWithApk(R.raw.locales) local
83 final Resources resources = createResourcesWithApk(R.raw.locales); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
ResourceManager.java 17 package com.android.ide.eclipse.adt.internal.resources.manager;
20 import com.android.ide.common.resources.FrameworkResources;
21 import com.android.ide.common.resources.ResourceFile;
22 import com.android.ide.common.resources.ResourceFolder;
23 import com.android.ide.common.resources.ResourceRepository;
24 import com.android.ide.common.resources.ScanningContext;
27 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper;
28 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor.IProjectListener;
29 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor.IRawDeltaListener;
35 import com.android.resources.ResourceFolderType
157 ProjectResources resources = mMap.get(project); local
228 ProjectResources resources; local
327 ProjectResources resources; local
461 ProjectResources resources = getProjectResources(project); local
476 ProjectResources resources = getProjectResources(project); local
493 FrameworkResources resources = new FrameworkResources(frameworkRes); local
    [all...]
  /developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/
ConfirmationDialogFragment.java 32 private static final String ARG_RESOURCES = "resources";
37 * @param resources The list of resources requested by PermissionRequest.
40 public static ConfirmationDialogFragment newInstance(String[] resources) {
43 args.putStringArray(ARG_RESOURCES, resources);
51 final String[] resources = getArguments().getStringArray(ARG_RESOURCES); local
53 .setMessage(getString(R.string.confirmation, TextUtils.join("\n", resources)))
57 ((Listener) getParentFragment()).onConfirmation(false, resources);
63 ((Listener) getParentFragment()).onConfirmation(true, resources);
78 * @param resources The resources to be granted
    [all...]
  /developers/samples/android/content/webview/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/
ConfirmationDialogFragment.java 32 private static final String ARG_RESOURCES = "resources";
37 * @param resources The list of resources requested by PermissionRequest.
40 public static ConfirmationDialogFragment newInstance(String[] resources) {
43 args.putStringArray(ARG_RESOURCES, resources);
51 final String[] resources = getArguments().getStringArray(ARG_RESOURCES); local
53 .setMessage(getString(R.string.confirmation, TextUtils.join("\n", resources)))
57 ((Listener) getParentFragment()).onConfirmation(false, resources);
63 ((Listener) getParentFragment()).onConfirmation(true, resources);
78 * @param resources The resources to be granted
    [all...]
  /development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/
ConfirmationDialogFragment.java 32 private static final String ARG_RESOURCES = "resources";
37 * @param resources The list of resources requested by PermissionRequest.
40 public static ConfirmationDialogFragment newInstance(String[] resources) {
43 args.putStringArray(ARG_RESOURCES, resources);
51 final String[] resources = getArguments().getStringArray(ARG_RESOURCES); local
53 .setMessage(getString(R.string.confirmation, TextUtils.join("\n", resources)))
57 ((Listener) getParentFragment()).onConfirmation(false, resources);
63 ((Listener) getParentFragment()).onConfirmation(true, resources);
78 * @param resources The resources to be granted
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/model/
ResourceLoader.java 5 import android.content.res.Resources;
19 private final Resources resources; field in class:ResourceLoader
25 public ResourceLoader(Resources resources, ModelLoader<Uri, T> uriLoader) {
26 this.resources = resources;
33 + resources.getResourcePackageName(model) + '/'
34 + resources.getResourceTypeName(model) + '/'
35 + resources.getResourceEntryName(model))
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
UserInitializeReceiver.java 28 import android.content.res.Resources;
37 final Resources resources = context.getResources(); local
39 // com.android.launcher2; Resources needs the real package name,
40 // com.android.launcher. So we ask Resources for what it thinks the
42 final String packageName = resources.getResourcePackageName(R.array.wallpapers);
44 addWallpapers(resources, packageName, R.array.wallpapers, list);
45 addWallpapers(resources, packageName, R.array.extra_wallpapers, list);
60 private void addWallpapers(Resources resources, String packageName, int resid
    [all...]
  /frameworks/av/services/mediaresourcemanager/test/
ResourceManagerService_test.cpp 119 const Vector<MediaResource> &resources) {
121 EXPECT_TRUE(isEqualResources(resources, info.resources));
254 Vector<MediaResource> resources; local
255 resources.push_back(MediaResource(MediaResource::kSecureCodec, 1));
256 resources.push_back(MediaResource(MediaResource::kGraphicMemory, 150));
265 EXPECT_FALSE(mService->reclaimResource(kLowPriorityPid, resources));
266 EXPECT_FALSE(mService->reclaimResource(kMidPriorityPid, resources));
269 EXPECT_TRUE(mService->reclaimResource(kHighPriorityPid, resources));
273 EXPECT_TRUE(mService->reclaimResource(kHighPriorityPid, resources));
356 Vector<MediaResource> resources; local
374 Vector<MediaResource> resources; local
429 Vector<MediaResource> resources; local
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
PhotoBitmapLoaderInterface.java 3 import android.content.res.Resources;
27 public Drawable getDrawable(Resources resources) {
28 if (resources == null) {
29 throw new IllegalArgumentException("resources can not be null!");
43 return new BitmapDrawable(resources, bitmap);
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowResourcesTest.java 12 import android.content.res.Resources;
44 private Resources resources; field in class:ShadowResourcesTest
48 resources = RuntimeEnvironment.application.getResources();
53 assertThat(resources.getString(R.string.hello)).isEqualTo("Hello");
54 assertThat(resources.getString(R.string.say_it_with_item)).isEqualTo("flowers");
59 assertThat(resources.getString(R.string.greeting)).isEqualTo("Howdy");
64 assertThat(resources.getString(R.string.interpolate, "value")).isEqualTo("Here is a value!");
69 assertThat(resources.getString(R.string.some_html, "value")).isEqualTo("Hello, world");
74 assertThat(resources.getString(R.string.surrounding_quotes, "value")).isEqualTo("This'll work")
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/calllogutils/
CallTypeIconsView.java 46 private static Resources resources; field in class:CallTypeIconsView
47 private static Resources largeResouces;
66 if (resources == null) {
67 resources = new Resources(context, false);
70 largeResouces = new Resources(context, true);
85 width += drawable.getIntrinsicWidth() + resources.iconMargin;
98 width += resources.videoCall.getIntrinsicWidth() + resources.iconMargin
158 Resources resources = useLargeIcons ? largeResouces : CallTypeIconsView.resources; local
187 Resources resources = useLargeIcons ? largeResouces : CallTypeIconsView.resources; local
    [all...]
  /external/mesa3d/src/gallium/drivers/r600/
r600_uvd.c 62 struct r600_texture *resources[VL_NUM_COMPONENTS] = {}; local
72 /* first create the needed resources as "normal" textures */
85 resources[0] = (struct r600_texture *)
87 if (!resources[0])
94 resources[1] = (struct r600_texture *)
96 if (!resources[1])
104 resources[2] = (struct r600_texture *)
106 if (!resources[2])
111 if (!resources[i])
114 pbs[i] = &resources[i]->resource.buf
    [all...]
  /external/mesa3d/src/gallium/drivers/radeonsi/
si_uvd.c 46 struct r600_texture *resources[VL_NUM_COMPONENTS] = {}; local
56 /* first create the needed resources as "normal" textures */
69 resources[0] = (struct r600_texture *)
71 if (!resources[0])
77 resources[1] = (struct r600_texture *)
79 if (!resources[1])
86 resources[2] = (struct r600_texture *)
88 if (!resources[2])
93 if (!resources[i])
96 surfaces[i] = & resources[i]->surface
    [all...]
  /external/apache-harmony/support/src/test/resources/tests/resources/subfolder/tests/norootresources/
hyts_resource_en_US.java 18 package tests.resources.subfolder.tests.norootresources;
hyts_resource_en_US_VAR.java 18 package tests.resources.subfolder.tests.norootresources;
hyts_resource_fr.java 18 package tests.resources.subfolder.tests.norootresources;
hyts_resource_fr_FR.java 18 package tests.resources.subfolder.tests.norootresources;
hyts_resource_fr_FR_VAR.java 17 package tests.resources.subfolder.tests.norootresources;
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/data/resources/
TestMessages.java 10 package android.icu.dev.data.resources;
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/resources/
TestDataElements.java 9 package com.ibm.icu.dev.data.resources;

Completed in 853 milliseconds

1 23 4 5 6 7 8 91011>>