/frameworks/base/core/java/android/widget/ |
AnalogClock.java | 23 import android.content.res.Resources; 68 Resources r = mContext.getResources();
|
Toast.java | 22 import android.content.res.Resources; 254 * @throws Resources.NotFoundException if the resource can't be found. 257 throws Resources.NotFoundException {
|
/frameworks/base/core/java/com/android/internal/widget/ |
PasswordEntryKeyboardHelper.java | 20 import android.content.res.Resources; 164 } catch (Resources.NotFoundException e) {
|
/frameworks/base/core/tests/coretests/src/android/app/ |
SearchablesTest.java | 30 import android.content.res.Resources; 244 * Resources. Pass through for now. 247 public Resources getResources() {
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
GraphicsPerformanceTests.java | 21 import android.content.res.Resources; 125 private Resources mResources; 131 // For bitmap resources
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
IconUtilities.java | 41 import android.content.res.Resources; 68 final Resources resources = context.getResources(); local 69 DisplayMetrics metrics = mDisplayMetrics = resources.getDisplayMetrics(); 73 mIconWidth = mIconHeight = (int) resources.getDimension(android.R.dimen.app_icon_size);
|
/packages/apps/Browser/src/com/android/browser/ |
AddBookmarkPage.java | 22 import android.content.res.Resources; 180 Resources r = getResources();
|
/packages/apps/Calendar/src/com/android/calendar/ |
TimezoneAdapter.java | 23 import android.content.res.Resources; 171 * lazily-loaded on the first call to {@link #loadFromResources(Resources)}. 173 * class and is based off the resources available to the calling context. 346 private void loadFromResources(Resources resources) { 348 String[] ids = resources.getStringArray(R.array.timezone_values); 349 String[] labels = resources.getStringArray(R.array.timezone_labels);
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
FormatDateRangeTest.java | 19 import android.content.res.Resources; 75 private Resources mResources;
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
RecentCallsListActivityTests.java | 19 import android.content.res.Resources; 195 Resources r = mActivity.getResources();
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmKlaxon.java | 23 import android.content.res.Resources; 243 private void setDataSourceFromResource(Resources resources, 245 AssetFileDescriptor afd = resources.openRawResourceFd(res);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LiveFolderAdapter.java | 24 import android.content.res.Resources; 160 Resources resources = packageManager.getResourcesForApplication( local 162 final int id = resources.getIdentifier(resource, 165 Utilities.createIconBitmap(resources.getDrawable(id), mContext));
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
InstallAppProgress.java | 33 import android.content.res.Resources; 105 centerTextDrawable = Resources.getSystem().getDrawable(
|
/packages/apps/Settings/src/com/android/settings/ |
DeviceAdminSettings.java | 34 import android.content.res.Resources; 185 } catch (Resources.NotFoundException e) {
|
VoiceInputOutputSettings.java | 28 import android.content.res.Resources; 169 Resources res = getPackageManager().getResourcesForApplication(
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
SoundRecorder.java | 16 import android.content.res.Resources; 539 private int getPlaylistId(Resources res) { 562 private Uri createPlaylist(Resources res, ContentResolver resolver) { 581 Resources res = getResources(); 634 Resources res = getResources(); 683 Resources res = getResources(); 698 Resources res = getResources(); 828 Resources res = getResources();
|
/packages/apps/Tag/canon/src/com/android/apps/tagcanon/ |
TagCanon.java | 25 import android.content.res.Resources; 85 Resources res = getResources();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
InputLanguageSelection.java | 27 import android.content.res.Resources; 96 Resources res = getResources();
|
LatinKeyboard.java | 20 import android.content.res.Resources; 75 private final Resources mRes; 124 final Resources res = context.getResources(); 154 final Resources res = context.getResources(); 168 protected Key createKeyFromXml(Resources res, Row parent, int x, int y, 206 void setImeOptions(Resources res, int mode, int options) { [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
ComposingView.java | 20 import android.content.res.Resources; 112 Resources r = context.getResources();
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
DownloadAdapter.java | 24 import android.content.res.Resources; 53 private Resources mResources;
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
SMSDispatcher.java | 30 import android.content.res.Resources; 814 Resources r = Resources.getSystem(); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
BridgeContext.java | 37 import android.content.res.Resources; 39 import android.content.res.Resources.Theme; 65 * Custom implementation of Context to handle non compiled resources. 69 private final Resources mResources; 95 * @param projectResources the resources of the project. The map contains (String, map) pairs 99 * @param frameworkResources the framework resources. The map contains (String, map) pairs 160 public Resources getResources() { 197 throws Resources.NotFoundException { 202 throw new Resources.NotFoundException(); 369 throws Resources.NotFoundException [all...] |
/frameworks/base/core/java/android/content/res/ |
Resources.java | 45 * Class for accessing an application's resources. This sits on top of the 49 public class Resources { 50 static final String TAG = "Resources"; 60 private static Resources mSystem = null; 62 // Information about preloaded resources. Note that they are not 124 * Create a new Resources object on top of an existing set of assets in an 133 public Resources(AssetManager assets, DisplayMetrics metrics, 139 * Creates a new Resources object with CompatibilityInfo. 150 public Resources(AssetManager assets, DisplayMetrics metrics, 164 * Return a global shared Resources object that provides access to onl [all...] |
/frameworks/base/core/java/android/content/ |
ContextWrapper.java | 22 import android.content.res.Resources; 78 public Resources getResources() 109 public Resources.Theme getTheme() {
|