/frameworks/base/libs/androidfw/tests/data/overlay/ |
H A D | build | 4 unzip bundle.apk resources.arsc && \ 5 mv resources.arsc overlay.arsc && \
|
/frameworks/base/libs/androidfw/tests/data/system/ |
H A D | build | 4 unzip bundle.apk resources.arsc && \ 5 mv resources.arsc system.arsc && \
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | TintResources.java | 24 * 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.getAssets(), resources.getDisplayMetrics(), resources.getConfiguration());
|
/frameworks/base/libs/androidfw/tests/data/basic/ |
H A D | build | 6 unzip bundle.apk resources.arsc && \ 7 mv resources.arsc basic.arsc && \ 9 unzip bundle_de_fr.apk resources.arsc && \ 10 mv resources.arsc split_de_fr.arsc && \
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/ |
H A D | PhotoBitmapLoaderInterface.java | 27 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 D | PermissionRequest.java | 23 * 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 D | DateSorter.java | 52 Resources resources = context.getResources(); 68 Locale locale = resources.getConfiguration().locale; 77 String format = resources.getQuantityString(resId, NUM_DAYS_AGO);
|
/frameworks/base/libs/androidfw/tests/data/app/ |
H A D | build | 4 unzip bundle.apk resources.arsc && \ 5 mv resources.arsc app.arsc && \
|
/frameworks/base/libs/androidfw/tests/data/feature/ |
H A D | build | 4 unzip bundle.apk resources.arsc && \ 5 mv resources.arsc feature.arsc && \
|
/frameworks/base/libs/androidfw/tests/data/lib/ |
H A D | build | 4 unzip bundle.apk resources.arsc && \ 5 mv resources.arsc lib.arsc && \
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SpeechOrbView.java | 28 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 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);
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
H A D | ConfigGenerator.java | 20 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 D | Android.mk | 20 LOCAL_JAVA_RESOURCE_DIRS := resources
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | ScriptC.java | 56 * @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/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/base/ |
H A D | IdlingResourceRegistry.java | 65 // resources and idleState should only be accessed on main thread 66 private final List<IdlingResource> resources = Lists.newArrayList(); field in class:IdlingResourceRegistry 67 // idleState.get(i) == true indicates resources.get(i) is idle, false indicates it's busy 94 for (IdlingResource oldResource : resources) { 105 resources.add(resource); 106 final int position = resources.size() - 1; 131 for (int i = idleState.nextSetBit(0); i >= 0 && i < resources.size(); 133 idleState.set(i, resources.get(i).isIdleNow()); 135 return idleState.cardinality() == resources.size(); 178 for (int i = 0; i < resources [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | LauncherActivityInfo.java | 48 * @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 D | ThinPatchesActivity.java | 53 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/app/ |
H A D | SharedElementCallback.java | 175 Resources resources = context.getResources(); 176 view.setBackground(new BitmapDrawable(resources, bitmap));
|
/frameworks/base/core/java/android/view/animation/ |
H A D | CycleInterpolator.java | 46 public CycleInterpolator(Resources resources, Theme theme, AttributeSet attrs) { argument 51 a = resources.obtainAttributes(attrs, R.styleable.CycleInterpolator);
|
/frameworks/support/v7/recyclerview/ |
H A D | Android.mk | 17 # # 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/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(null, resources, resourceId); 376 private void loadResource(Context context, Resources resources, in argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | NavigationBar.java | 19 import com.android.resources.Density;
|
H A D | IconLoader.java | 19 import com.android.resources.Density; 20 import com.android.resources.LayoutDirection; 103 // Currently we don't have any LTR only resources and hence the check is skipped. If they
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | VertexShader.java | 42 public Builder setShader(Resources resources, int resourceID) { argument 43 mBuilder.setShader(resources, resourceID);
|