/frameworks/base/core/java/android/text/format/ |
Time.java | 19 import android.content.res.Resources; 295 Resources r = Resources.getSystem();
|
/frameworks/base/core/java/android/view/ |
VolumePanel.java | 22 import android.content.res.Resources; 246 String messageString = Resources.getSystem().getString(message); 255 mAdditionalMessage.setText(Resources.getSystem().getString(additionalMessage));
|
/frameworks/base/core/java/com/android/internal/os/ |
ZygoteInit.java | 20 import android.content.res.Resources; 75 * Used to pre-load resources. We hold a global reference on it so it 78 private static Resources mResources; 97 /** Controls whether we should preload resources during zygote init. */ 379 * Load in commonly used resources, so they can be shared across 392 mResources = Resources.getSystem(); 395 Log.i(TAG, "Preloading resources..."); 401 Log.i(TAG, "...preloaded " + N + " resources in " 408 Log.i(TAG, "...preloaded " + N + " resources in " 413 Log.w(TAG, "Failure preloading resources", e) [all...] |
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
StorageManagerBaseTest.java | 20 import android.content.res.Resources; 21 import android.content.res.Resources.NotFoundException; 229 Resources res = mContext.getResources();
|
/frameworks/base/graphics/java/android/renderscript/ |
Allocation.java | 22 import android.content.res.Resources; 331 static public Allocation createFromBitmapResource(RenderScript rs, Resources res, int id, Element dstFmt, boolean genMips) 363 static public Allocation createFromBitmapResourceBoxed(RenderScript rs, Resources res, int id, Element dstFmt, boolean genMips)
|
/packages/apps/Contacts/src/com/android/contacts/ |
ExportVCardActivity.java | 24 import android.content.res.Resources; 228 Resources resources = getResources(); local 230 return resources.getString(R.string.composer_failed_to_get_database_infomation); 232 return resources.getString(R.string.composer_has_no_exportable_contact); 234 return resources.getString(R.string.composer_not_initialized); 264 final Resources resources = getResources(); local 265 mFileIndexMinimum = resources.getInteger(R.integer.config_export_file_min_index); 266 mFileIndexMaximum = resources.getInteger(R.integer.config_export_file_max_index) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
Utilities.java | 40 import android.content.res.Resources; 237 final Resources resources = context.getResources(); local 238 final DisplayMetrics metrics = resources.getDisplayMetrics(); 241 sIconWidth = sIconHeight = (int) resources.getDimension(android.R.dimen.app_icon_size); 273 final Resources resources = context.getResources(); local 275 final DisplayMetrics metrics = resources.getDisplayMetrics(); 281 final float cellWidth = resources.getDimension(R.dimen.title_texture_width);
|
/packages/apps/Phone/src/com/android/phone/ |
EmergencyDialer.java | 26 import android.content.res.Resources; 161 // Load up the resources for the text field and delete button 162 Resources r = getResources(); 229 } catch (Resources.NotFoundException nfe) {
|
EmergencyCallbackModeService.java | 27 import android.content.res.Resources;
|
/packages/apps/Settings/src/com/android/settings/ |
ActivityPicker.java | 32 import android.content.res.Resources; 159 Resources res = packageManager.getResourcesForApplication( 209 final Resources resources = context.getResources(); local 210 int size = (int) resources.getDimension(android.R.dimen.app_icon_size); 211 sResizer = new IconResizer(size, size, resources.getDisplayMetrics());
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
Status.java | 24 import android.content.res.Resources; 75 private Resources mRes; 354 Resources r = getResources();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
KeyboardSwitcher.java | 21 import android.content.res.Resources; 291 Resources orig = mInputMethodService.getResources(); 525 Resources resources = mInputMethodService.getResources(); local 527 resources.getString(DEFAULT_SETTINGS_KEY_MODE)); 530 if (settingsKeyMode.equals(resources.getString(SETTINGS_KEY_MODE_ALWAYS_SHOW)) 531 || (settingsKeyMode.equals(resources.getString(SETTINGS_KEY_MODE_AUTO))
|
/cts/tests/tests/content/src/android/content/cts/ |
ContextTest.java | 26 import android.content.res.Resources.NotFoundException;
|
/development/apps/Development/src/com/android/development/ |
ShowActivity.java | 25 import android.content.res.Resources;
|
/development/samples/LunarLander/src/com/example/android/lunarlander/ |
LunarView.java | 20 import android.content.res.Resources; 221 Resources res = context.getResources(); 475 Resources res = mContext.getResources(); 748 Resources res = mContext.getResources(); [all...] |
/frameworks/base/core/java/android/app/ |
ContextImpl.java | 58 import android.content.res.Resources; 178 private Resources mResources; 184 private Resources.Theme mTheme = null; 237 public Resources getResources() { 278 public Resources.Theme getTheme() { [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
DigitalClock.java | 25 import android.content.res.Resources;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
Clock.java | 23 import android.content.res.Resources;
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
WeekNumberTest.java | 19 import android.content.res.Resources;
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
DigitalClock.java | 23 import android.content.res.Resources;
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
XmlKeyboardLoader.java | 22 import android.content.res.Resources; 258 private Resources mResources; 331 Resources r = mResources; 431 Resources r = mResources; [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
NinePatchTest.java | 26 import android.content.res.Resources; 45 private Resources mRes;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
TransitionDrawableTest.java | 27 import android.content.res.Resources; 69 Resources resources = getInstrumentation().getTargetContext().getResources(); local 71 resources.getDrawable(R.drawable.testimage), 72 resources.getDrawable(R.drawable.levellistdrawable)
|
/cts/tests/tests/widget/src/android/widget/cts/ |
AbsSeekBarTest.java | 28 import android.content.res.Resources; 49 private Resources mResources;
|
/development/samples/NotePad/src/com/example/android/notepad/ |
NoteEditor.java | 24 import android.content.res.Resources; 177 Resources res = getResources();
|