Searched refs:resources (Results 1 - 25 of 111) sorted by relevance

12345

/frameworks/base/libs/androidfw/tests/data/basic/
H A Dbuild21 unzip bundle.apk resources.arsc && \
22 mv resources.arsc basic.arsc && \
25 unzip bundle_de_fr.apk resources.arsc && \
26 mv resources.arsc split_de_fr.arsc && \
29 unzip bundle_hdpi-v4.apk resources.arsc && \
30 mv resources.arsc split_hdpi_v4.arsc && \
33 unzip bundle_xhdpi-v4.apk resources.arsc && \
34 mv resources.arsc split_xhdpi_v4.arsc && \
37 unzip bundle_xxhdpi-v4.apk resources.arsc && \
38 mv resources
[all...]
/frameworks/base/libs/androidfw/tests/data/overlay/
H A Dbuild19 unzip bundle.apk resources.arsc && \
20 mv resources.arsc overlay.arsc && \
/frameworks/base/libs/androidfw/tests/data/system/
H A Dbuild19 unzip bundle.apk resources.arsc && \
20 mv resources.arsc system.arsc && \
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
H A DPhotoBitmapLoaderInterface.java27 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/java/android/webkit/
H A DPermissionRequest.java23 * 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 DDateSorter.java52 Resources resources = context.getResources();
68 Locale locale = resources.getConfiguration().locale;
77 String format = resources.getQuantityString(resId, NUM_DAYS_AGO);
H A DWebViewDelegate.java129 public int getPackageId(Resources resources, String packageName) { argument
131 resources.getAssets().getAssignedPackageIdentifiers();
/frameworks/base/libs/androidfw/tests/data/app/
H A Dbuild19 unzip bundle.apk resources.arsc && \
20 mv resources.arsc app.arsc && \
/frameworks/base/libs/androidfw/tests/data/feature/
H A Dbuild19 unzip bundle.apk resources.arsc && \
20 mv resources.arsc feature.arsc && \
/frameworks/base/libs/androidfw/tests/data/lib/
H A Dbuild19 unzip bundle.apk resources.arsc && \
20 mv resources.arsc lib.arsc && \
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSpeechOrbView.java28 Resources resources = context.getResources();
30 resources.getFraction(R.fraction.lb_search_bar_speech_orb_max_level_zoom, 1, 1);
32 mNotListeningOrbColors = new Colors(resources.getColor(R.color.lb_speech_orb_not_recording),
33 resources.getColor(R.color.lb_speech_orb_not_recording_pulsed),
34 resources.getColor(R.color.lb_speech_orb_not_recording_icon));
35 mListeningOrbColors = new Colors(resources.getColor(R.color.lb_speech_orb_recording),
36 resources.getColor(R.color.lb_speech_orb_recording),
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptC.java54 * @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);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DTintResources.java24 * 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/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DConfigGenerator.java20 import com.android.ide.common.resources.configuration.CountryCodeQualifier;
21 import com.android.ide.common.resources.configuration.DensityQualifier;
22 import com.android.ide.common.resources.configuration.FolderConfiguration;
23 import com.android.ide.common.resources.configuration.KeyboardStateQualifier;
24 import com.android.ide.common.resources.configuration.LanguageQualifier;
25 import com.android.ide.common.resources.configuration.LayoutDirectionQualifier;
26 import com.android.ide.common.resources.configuration.NavigationMethodQualifier;
27 import com.android.ide.common.resources.configuration.NetworkCodeQualifier;
28 import com.android.ide.common.resources.configuration.NightModeQualifier;
29 import com.android.ide.common.resources
[all...]
/frameworks/base/tools/layoutlib/bridge/
H A DAndroid.mk20 LOCAL_JAVA_RESOURCE_DIRS := resources
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
H A DAnimatorInflater_Delegate.java39 /*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/base/rs/java/android/renderscript/
H A DScriptC.java56 * @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);
/frameworks/base/core/java/android/content/pm/
H A DLauncherActivityInfo.java48 * @param context The context for fetching resources.
155 Resources resources = null;
158 resources = mPm.getResourcesForApplication(mActivityInfo.applicationInfo);
161 originalIcon = resources.getDrawableForDensity(iconRes, density);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DThinPatchesActivity.java53 final Resources resources = activity.getResources();
54 mPatch1 = resources.getDrawable(R.drawable.patch);
55 mPatch2 = resources.getDrawable(R.drawable.btn_toggle_on);
56 mPatch3 = resources.getDrawable(R.drawable.patch2);
/frameworks/base/core/java/android/view/animation/
H A DCycleInterpolator.java46 public CycleInterpolator(Resources resources, Theme theme, AttributeSet attrs) { argument
51 a = resources.obtainAttributes(attrs, R.styleable.CycleInterpolator);
/frameworks/support/v7/recyclerview/
H A DAndroid.mk17 # # Build the resources using the current SDK version.
19 # # SDK version than the resources. The resources library and the R class that it
34 # in their makefiles to include the resources in their package.
/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java80 * @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 DPointerIcon.java36 * 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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java63 import com.android.resources.Density;
64 import com.android.resources.ResourceType;
65 import com.android.resources.ScreenOrientation;
197 RenderResources resources = getParams().getResources();
201 mIsAlphaChannelImage = getBooleanThemeValue(resources, "windowIsFloating", true, true);
203 mWindowIsFloating = getBooleanThemeValue(resources, "windowIsFloating", true, true);
205 findBackground(resources);
206 findStatusBar(resources, metrics);
207 findActionBar(resources, metrics);
208 findNavigationBar(resources, metric
1048 findBackground(RenderResources resources) argument
1062 findStatusBar(RenderResources resources, DisplayMetrics metrics) argument
1085 findActionBar(RenderResources resources, DisplayMetrics metrics) argument
1146 findNavigationBar(RenderResources resources, DisplayMetrics metrics) argument
1190 isThemeAppCompat(RenderResources resources) argument
1224 getBooleanThemeValue(RenderResources resources, String name, boolean defaultValue, boolean isFrameworkAttr) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DNavigationBar.java19 import com.android.resources.Density;

Completed in 738 milliseconds

12345