/frameworks/base/core/java/android/inputmethodservice/ |
Keyboard.java | 22 import android.content.res.Resources; 182 public Row(Resources res, Keyboard parent, XmlResourceParser parser) { 318 * @param res resources associated with the caller's context 325 public Key(Resources res, Row parent, int x, int y, XmlResourceParser parser) { 700 protected Row createRowFromXml(Resources res, XmlResourceParser parser) { 704 protected Key createKeyFromXml(Resources res, Row parent, int x, int y, 718 Resources res = context.getResources(); 784 private void parseKeyboardAttributes(Resources res, XmlResourceParser parser) {
|
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 23 import android.content.res.Resources; 324 Resources r = Resources.getSystem(); 335 Resources r = Resources.getSystem(); 364 Resources r = Resources.getSystem(); 398 Resources r = Resources.getSystem(); 451 Resources r = Resources.getSystem() [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
LayerDrawable.java | 22 import android.content.res.Resources; 37 * href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p> 94 LayerDrawable(LayerState state, Resources res) { 102 LayerState createConstantState(LayerState state, Resources res) { 107 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) 567 LayerState(LayerState orig, LayerDrawable owner, Resources res) { 611 public Drawable newDrawable(Resources res) {
|
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
ApplicationsProvider.java | 35 import android.content.res.Resources; 496 Resources resources = context.getPackageManager().getResourcesForApplication(appInfo); local 497 return getResourceUri(resources, appInfo.packageName, res); 500 } catch (Resources.NotFoundException e) { 505 private static Uri getResourceUri(Resources resources, String appPkg, int res) 506 throws Resources.NotFoundException { 507 String resPkg = resources.getResourcePackageName(res); 508 String type = resources.getResourceTypeName(res) [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsActor.java | 27 import android.content.res.Resources; 118 private final Resources mRes; 135 Resources resources = overallContext.getResources(); local 136 Configuration configuration = new Configuration(resources.getConfiguration()); 138 resources.updateConfiguration(configuration, resources.getDisplayMetrics()); 139 mRes = new RestrictionMockResources(resources); 153 public Resources getResources() { 171 private final Resources mRes [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
TableRowTest.java | 20 import android.content.res.Resources; 123 Resources resources = activity.getResources(); local 124 assertEquals(resources.getString(R.string.table_layout_first), 126 assertEquals(resources.getString(R.string.table_layout_second), 128 assertEquals(resources.getString(R.string.table_layout_third), 136 assertEquals(resources.getString(R.string.table_layout_long), 138 assertEquals(resources.getString(R.string.table_layout_second), 140 assertEquals(resources.getString(R.string.table_layout_second), 142 assertEquals(resources.getString(R.string.table_layout_third) 178 Resources resources = mTargetContext.getResources(); local [all...] |
ToggleButtonTest.java | 22 import android.content.res.Resources; 146 Resources resources = mContext.getResources(); local 147 Drawable drawable = resources.getDrawable(R.drawable.scenery);
|
/development/samples/Snake/src/com/example/android/snake/ |
SnakeView.java | 23 import android.content.res.Resources; 141 Resources r = this.getContext().getResources(); 339 Resources res = getContext().getResources();
|
/frameworks/base/core/java/android/app/admin/ |
DeviceAdminInfo.java | 30 import android.content.res.Resources; 33 import android.content.res.Resources.NotFoundException; 186 Resources res = pm.getResourcesForApplication(ai.applicationInfo); 282 * resources. 292 * resources. 312 * resources.
|
/frameworks/base/libs/rs/java/Film/src/com/android/film/ |
FilmRS.java | 22 import android.content.res.Resources; 43 public void init(RenderScriptGL rs, Resources res, int width, int height) { 67 private Resources mRes;
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockContext.java | 31 import android.content.res.Resources; 60 public Resources getResources() { 90 public Resources.Theme getTheme() {
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
DetailMode.java | 27 import android.content.res.Resources; 74 Resources resources = context.getResources(); local 79 strings.add("1 " + resources.getString(Res.string.album_selected)); 81 strings.add(Integer.toString(numOriginalSets) + " " + resources.getString(Res.string.albums_selected)); 87 strings.add("1 " + resources.getString(Res.string.item_selected)); 89 strings.add(Integer.toString(numItems) + " " + resources.getString(Res.string.items_selected)); 102 strings.add(resources.getString(Res.string.start) + ": " + dateTimeFormat.format(new Date(minTimestamp))); 103 strings.add(resources.getString(Res.string.end) + ": " + dateTimeFormat.format(new Date(maxTimestamp))); 111 strings.add(resources.getString(Res.string.start) + ": " + dateTimeFormat.format(new Date(minTimestamp))) 143 Resources resources = context.getResources(); local [all...] |
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
LiveWallpaperListActivity.java | 26 import android.content.res.Resources; 89 Resources res = getResources(); 229 } catch (Resources.NotFoundException e) {
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
AnimationDrawableTest.java | 31 import android.content.res.Resources; 56 private Resources mResources; 367 args = {android.content.res.Resources.class, org.xmlpull.v1.XmlPullParser.class, 418 args = {android.content.res.Resources.class, org.xmlpull.v1.XmlPullParser.class, 422 + "AnimationDrawable#inflate(Resources, XmlPullParser, AttributeSet) "
|
GradientDrawableTest.java | 30 import android.content.res.Resources; 365 args = {android.content.res.Resources.class, org.xmlpull.v1.XmlPullParser.class, 384 Resources resources = mContext.getResources(); local 385 XmlPullParser parser = resources.getXml(R.drawable.gradientdrawable); 397 gradientDrawable.inflate(resources, parser, attrs); 465 Resources resources = mContext.getResources(); local 466 GradientDrawable d1 = (GradientDrawable) resources.getDrawable(R.drawable.gradientdrawable); 467 GradientDrawable d2 = (GradientDrawable) resources.getDrawable(R.drawable.gradientdrawable) [all...] |
InsetDrawableTest.java | 31 import android.content.res.Resources; 72 args = {android.content.res.Resources.class, org.xmlpull.v1.XmlPullParser.class, 81 Resources r = mContext.getResources(); 452 Resources resources = mContext.getResources(); local 453 InsetDrawable d1 = (InsetDrawable) resources.getDrawable(R.drawable.insetdrawable);
|
/frameworks/base/core/java/android/content/pm/ |
PackageManager.java | 26 import android.content.res.Resources; [all...] |
ApplicationInfo.java | 20 import android.content.res.Resources; 63 * A style resource identifier (in the package's resources) of the 70 * A style resource identifier (in the package's resources) of the 577 return Resources.getSystem().getDrawable(
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
WifiConnectionTest.java | 26 import android.content.res.Resources;
|
/frameworks/base/graphics/java/android/renderscript/ |
Sampler.java | 23 import android.content.res.Resources;
|
/frameworks/base/tests/SslLoad/src/com/android/sslload/ |
SslLoad.java | 26 import android.content.res.Resources;
|
/packages/apps/Settings/src/com/android/settings/ |
RadioInfo.java | 26 import android.content.res.Resources; 421 Resources r = getResources(); 443 Resources r = getResources(); 513 Resources r = getResources(); 543 Resources r = getResources(); 564 Resources r = getResources(); 586 Resources r = getResources(); 596 Resources r = getResources(); 628 Resources r = getResources(); [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetManagerTest.java | 28 import android.content.res.Resources; 106 final Resources res = getContext().getResources();
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
CandidateView.java | 20 import android.content.res.Resources; 83 Resources r = context.getResources();
|
/frameworks/base/core/java/android/view/inputmethod/ |
InputMethodInfo.java | 29 import android.content.res.Resources; 97 Resources res = pm.getResourcesForApplication(si.applicationInfo); 204 * resources. 214 * resources.
|