/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
TintResources.java | 19 import android.content.res.Resources; 24 * This class allows us to intercept calls so that we can tint resources (if applicable). 28 class TintResources extends Resources { 32 public TintResources(Resources resources, TintManager tintManager) { 33 super(resources.getAssets(), resources.getDisplayMetrics(), resources.getConfiguration());
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
ContactStatusUtil.java | 20 import android.content.res.Resources; 31 Resources resources = context.getResources(); local 34 return resources.getString(R.string.status_available); 37 return resources.getString(R.string.status_away); 39 return resources.getString(R.string.status_busy);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
ConversationViewUtils.java | 20 import android.content.res.Resources; 26 public static void setTextZoom(Resources resources, WebSettings settings) { 27 final float fontScale = resources.getConfiguration().fontScale; 28 final int desiredFontSizePx = resources.getInteger( 30 final int unstyledFontSizePx = resources.getInteger(
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/manager/ |
IdeScanningContextTest.java | 16 package com.android.ide.eclipse.adt.internal.resources.manager;
|
/libcore/luni/src/main/java/java/util/ |
PropertyResourceBundle.java | 25 * {@code PropertyResourceBundle} loads resources from an {@code InputStream}. All resources are 26 * Strings. The resources must be of the form {@code key=value}, one 35 Properties resources; field in class:PropertyResourceBundle 51 resources = new Properties(); 52 resources.load(stream); 63 resources = new Properties(); 64 resources.load(reader); 68 return resources.stringPropertyNames(); 73 return (Enumeration<String>) resources.propertyNames() [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
ActionType.java | 24 import android.content.res.Resources; 54 String getTitle(Resources resources) { 55 return resources.getString(mTitleResource); 58 String getDesc(Resources resources) { 60 return resources.getString(mDescResource); 65 Action toAction(Resources resources) { 66 return toAction(resources, getDesc(resources)) [all...] |
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/apache/maven/plugins/maven-resources-plugin/2.4.3/ |
maven-resources-plugin-2.4.3.jar | |
/libcore/luni/src/test/java/libcore/java/util/jar/ |
OldJarFileTest.java | 33 private File resources = Support_Resources.createTempFolder(); field in class:OldJarFileTest 42 Support_Resources.copyFile(resources, null, jarName); 43 new JarFile(new File(resources, jarName)); 53 Support_Resources.copyFile(resources, null, jarName); 54 String fileName = (new File(resources, jarName)).getCanonicalPath(); 65 Support_Resources.copyFile(resources, null, jarName); 66 String fileName = (new File(resources, jarName)).getCanonicalPath(); 77 Support_Resources.copyFile(resources, null, jarName); 78 new JarFile(new File(resources, jarName), false); 89 Support_Resources.copyFile(resources, null, jarName) [all...] |
/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/chromium_org/android_webview/native/permission/ |
simple_permission_request.cc | 14 int64 resources, 17 resources_(resources),
|
permission_request_handler.h | 35 // Cancel the ongoing request initiated by |origin| for accessing |resources|. 36 void CancelRequest(const GURL& origin, int64 resources); 38 // Allow |origin| to access the |resources|. 39 void PreauthorizePermission(const GURL& origin, int64 resources); 51 // Return the request initiated by |origin| for accessing |resources|. 52 RequestIterator FindRequest(const GURL& origin, int64 resources); 62 // Return true if |origin| were preauthorized to access |resources|. 63 bool Preauthorized(const GURL& origin, int64 resources);
|
/frameworks/base/libs/androidfw/tests/data/basic/ |
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 && \
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/ |
BitmapDrawableTranscoder.java | 3 import android.content.res.Resources; 11 private Resources resources; field in class:BitmapDrawableTranscoder 14 public BitmapDrawableTranscoder(Resources resources, BitmapPool bitmapPool) { 15 this.resources = resources; 21 BitmapDrawable drawable = new BitmapDrawable(resources, toTranscode.get());
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallTypeHelper.java | 19 import android.content.res.Resources; 47 public CallTypeHelper(Resources resources) { 49 mIncomingName = resources.getString(R.string.type_incoming); 50 mOutgoingName = resources.getString(R.string.type_outgoing); 51 mMissedName = resources.getString(R.string.type_missed); 52 mIncomingVideoName = resources.getString(R.string.type_incoming_video); 53 mOutgoingVideoName = resources.getString(R.string.type_outgoing_video); 54 mMissedVideoName = resources.getString(R.string.type_missed_video); 55 mVoicemailName = resources.getString(R.string.type_voicemail) [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...] |
/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/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/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/chromium_org/cc/output/ |
compositor_frame_ack.h | 11 #include "cc/resources/returned_resource.h" 20 ReturnedResourceArray resources; member in class:cc::CompositorFrameAck
|
/frameworks/base/core/java/android/webkit/ |
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 [all...] |
/frameworks/base/libs/androidfw/tests/data/app/ |
build | 4 unzip bundle.apk resources.arsc && \ 5 mv resources.arsc app.arsc && \
|