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

1 23 4 5 6 7 8 91011>>

  /packages/apps/Dialer/java/com/android/incallui/
InCallUIMaterialColorMapUtils.java 19 import android.content.res.Resources;
28 private final Resources mResources;
30 public InCallUIMaterialColorMapUtils(Resources resources) {
31 super(resources);
32 mPrimaryColors = resources.obtainTypedArray(R.array.background_colors);
33 mSecondaryColors = resources.obtainTypedArray(R.array.background_colors_dark);
34 mResources = resources;
38 * {@link Resources#getColor(int) used for compatibility
41 public static MaterialPalette getDefaultPrimaryAndSecondaryColors(Resources resources)
    [all...]
  /device/google/wahoo/power/
power-8998.c 78 int resources = 0; local
82 resource_values = getPowerhint(SUSTAINED_PERF_HINT_ID, &resources);
88 sustained_mode_handle, duration, resources, resource_values);
95 resource_values = getPowerhint(VR_MODE_SUSTAINED_PERF_HINT_ID, &resources);
101 sustained_mode_handle, duration, resources, resource_values);
111 resource_values = getPowerhint(VR_MODE_HINT_ID, &resources);
117 vr_mode_handle, duration, resources, resource_values);
132 int resources = 0; local
136 resource_values = getPowerhint(VR_MODE_HINT_ID, &resources);
142 vr_mode_handle, duration, resources, resource_values)
186 int resources; local
211 int resources = 0; local
    [all...]
  /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...]
  /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/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/
TestDataElements.java 10 package android.icu.dev.data.resources;
TestDataElements_en_Latn_US.java 10 package android.icu.dev.data.resources;
TestDataElements_en_US.java 10 package android.icu.dev.data.resources;
TestDataElements_fr_Latn_FR.java 11 package android.icu.dev.data.resources;
TestDataElements_te.java 10 package android.icu.dev.data.resources;

Completed in 678 milliseconds

1 23 4 5 6 7 8 91011>>