/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
SecondLevelIndicatorControlBar.java | 148 int resId, String[] keys) { 150 super.addOtherSettingIndicator(context, resId, keys);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationListFooterView.java | 208 private Drawable getBackground(int resId) { 209 return getContext().getResources().getDrawable(resId);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyboardTextsSet.java | 63 final int resId = res.getIdentifier(resName, "string", resourcePackageName); 64 mResourceNameToTextsMap.put(resName, res.getString(resId));
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
comsvcs.h | [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarView.java | 687 public void setIcon(int resId) { 688 setIcon(resId != 0 ? mContext.getDrawable(resId) : null); 702 public void setLogo(int resId) { 703 setLogo(resId != 0 ? mContext.getDrawable(resId) : null); [all...] |
/frameworks/base/core/java/android/app/ |
ActionBar.java | 255 * @param resId Resource ID of a layout to inflate into the ActionBar. 259 public abstract void setCustomView(int resId); 269 * @param resId Resource ID of a drawable to show as an icon. 274 public abstract void setIcon(int resId); 299 * @param resId Resource ID of a drawable to show as a logo. 304 public abstract void setLogo(int resId); 395 * @param resId Resource ID of title string to set 400 public abstract void setTitle(int resId); 418 * @param resId Resource ID of subtitle string to set 423 public abstract void setSubtitle(int resId); [all...] |
ApplicationPackageManager.java | 727 @Override public Drawable getDrawable(String packageName, int resid, 729 ResourceName name = new ResourceName(packageName, resid); 743 dr = r.getDrawable(resid); 747 Log.w(TAG, "Getting drawable 0x" + Integer.toHexString(resid) 754 + Integer.toHexString(resid) + " from " + r 768 + Integer.toHexString(resid) + " in package " [all...] |
AlertDialog.java | 139 static int resolveDialogTheme(Context context, int resid) { 140 if (resid == THEME_TRADITIONAL) { 142 } else if (resid == THEME_HOLO_DARK) { 144 } else if (resid == THEME_HOLO_LIGHT) { 146 } else if (resid == THEME_DEVICE_DEFAULT_DARK) { 148 } else if (resid == THEME_DEVICE_DEFAULT_LIGHT) { 150 } else if (resid >= 0x01000000) { // start of real resource IDs. 151 return resid; 326 * Set resId to 0 if you don't want an icon. 327 * @param resId the resourceId of the drawable to use as the icon or [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
ActionBar.java | 252 * @param resId Resource ID of a layout to inflate into the ActionBar. 256 public abstract void setCustomView(int resId); 266 * @param resId Resource ID of a drawable to show as an icon. 271 public abstract void setIcon(@DrawableRes int resId); 296 * @param resId Resource ID of a drawable to show as a logo. 301 public abstract void setLogo(@DrawableRes int resId); 392 * @param resId Resource ID of title string to set 397 public abstract void setTitle(@StringRes int resId); 415 * @param resId Resource ID of subtitle string to set 420 public abstract void setSubtitle(int resId); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
DictionaryInfoUtils.java | 237 int resId; 242 if ((resId = res.getIdentifier( 244 return resId; 250 if ((resId = res.getIdentifier(dictLanguage, "raw", RESOURCE_PACKAGE_NAME)) != 0) { 251 return resId;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
plistlib.py | 114 def readPlistFromResource(path, restype='plst', resid=0): 125 plistData = Res.Get1Resource(restype, resid).data 130 def writePlistToResource(rootObject, path, restype='plst', resid=0): 142 Res.Get1Resource(restype, resid).RemoveResource() 146 res.AddResource(restype, resid, '')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
plistlib.py | 114 def readPlistFromResource(path, restype='plst', resid=0): 125 plistData = Res.Get1Resource(restype, resid).data 130 def writePlistToResource(rootObject, path, restype='plst', resid=0): 142 Res.Get1Resource(restype, resid).RemoveResource() 146 res.AddResource(restype, resid, '')
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
Mailbox.java | 418 final int resId; 421 resId = R.string.mailbox_name_server_inbox; 424 resId = R.string.mailbox_name_server_outbox; 427 resId = R.string.mailbox_name_server_drafts; 430 resId = R.string.mailbox_name_server_trash; 433 resId = R.string.mailbox_name_server_sent; 436 resId = R.string.mailbox_name_server_junk; 439 resId = R.string.mailbox_name_server_starred; 442 resId = R.string.mailbox_name_server_all_unread; 447 return context.getString(resId); [all...] |
/frameworks/base/include/androidfw/ |
ResourceTypes.h | 227 #define Res_VALIDID(resid) (resid != 0) 228 #define Res_CHECKID(resid) ((resid&0xFFFF0000) != 0) 235 #define Res_INTERNALID(resid) ((resid&0xFFFF0000) != 0 && (resid&0xFF0000) == 0) [all...] |
/frameworks/base/libs/androidfw/ |
ResourceTypes.cpp | [all...] |
/frameworks/base/media/java/android/media/ |
SoundPool.java | 223 * @param resId the resource ID 228 public int load(Context context, int resId, int priority) { 229 return mImpl.load(context, resId, priority); 483 public int load(Context context, int resId, int priority); 565 public int load(Context context, int resId, int priority) { 566 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resId); 732 public int load(Context context, int resId, int priority) {
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
WallpaperCropActivity.java | 274 public static int getRotationFromExif(Resources res, int resId) { 275 return getRotationFromExifHelper(null, res, resId, null, null); 279 String path, Resources res, int resId, Context context, Uri uri) { 291 is = res.openRawResource(resId); 330 Resources res, int resId, final boolean finishActivityWhenDone) { 333 int rotation = getRotationFromExif(res, resId); 347 BitmapCropTask cropTask = new BitmapCropTask(this, res, resId, [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
WallpaperCropActivity.java | 274 public static int getRotationFromExif(Resources res, int resId) { 275 return getRotationFromExifHelper(null, res, resId, null, null); 279 String path, Resources res, int resId, Context context, Uri uri) { 291 is = res.openRawResource(resId); 331 Resources res, int resId, final boolean finishActivityWhenDone) { 334 int rotation = getRotationFromExif(res, resId); 351 BitmapCropTask cropTask = new BitmapCropTask(this, res, resId, [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeContext.java | 258 public boolean resolveThemeAttribute(int resid, TypedValue outValue, boolean resolveRefs) { 259 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(resid); 262 resourceInfo = mProjectCallback.resolveResourceId(resid); 478 public final TypedArray obtainStyledAttributes(int resid, int[] attrs) 480 // get the StyleResourceValue based on the resId; 481 StyleResourceValue style = getStyleByDynamicId(resid); 494 map.put(resid, ta); 507 TypedArray ta = map.get(resid); 511 map.put(resid, ta); [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
SimpleAdapterTest.java | 282 // String represents resId 307 // resId 316 // illegal resid
|
/developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
BluetoothChatFragment.java | 244 * @param resId a string resource ID 246 private void setStatus(int resId) { 255 actionBar.setSubtitle(resId);
|
/developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
BluetoothChatFragment.java | 244 * @param resId a string resource ID 246 private void setStatus(int resId) { 255 actionBar.setSubtitle(resId);
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/base/ |
WindowAndroid.java | 157 * @param resId The error message string's resource id. 159 public void showError(int resId) { 160 showError(mApplicationContext.getString(resId));
|
/frameworks/base/core/java/android/content/pm/ |
PackageItemInfo.java | 260 int resid = metaData.getInt(name); local 261 if (resid != 0) { 262 return pm.getXml(packageName, resid, getApplicationInfo());
|
/frameworks/base/telecomm/java/android/telecom/ |
PhoneAccount.java | 382 private Drawable getIcon(Context context, int resId) { 392 return packageContext.getDrawable(resId); 395 resId, mAccountHandle.getComponentName().getPackageName());
|