/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | TargetDrawable.java | 49 public TargetDrawable(Resources res, int resId) { argument 50 mResourceId = resId; 51 setDrawable(res, resId); 54 public void setDrawable(Resources res, int resId) { argument 55 // Note we explicitly don't set mResourceId to resId since we allow the drawable to be 57 Drawable drawable = resId == 0 ? null : res.getDrawable(resId);
|
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
H A D | SoundPoolTest.java | 95 private int loadSound(int resId, int priority) { argument 96 int id = mSoundPool.load(getApplicationContext(), resId, priority);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardMessageArea.java | 123 public void setMessage(int resId, boolean important) { argument 124 if (resId != 0 && important) { 125 mMessageArea.mMessage = mMessageArea.getContext().getResources().getText(resId); 130 public void setMessage(int resId, boolean important, Object... formatArgs) { argument 131 if (resId != 0 && important) { 132 mMessageArea.mMessage = mMessageArea.getContext().getString(resId, formatArgs);
|
H A D | KeyguardMultiUserAvatar.java | 74 public static KeyguardMultiUserAvatar fromXml(int resId, Context context, argument 77 LayoutInflater.from(context).inflate(resId, userSelector, false);
|
H A D | KeyguardSelectorView.java | 63 final int resId = mGlowPadView.getResourceIdForTarget(target); 65 switch (resId) { 167 public boolean isTargetPresent(int resId) { argument 168 return mGlowPadView.getTargetPosition(resId) != -1;
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
H A D | VCardImporterTests.java | 770 private void testV21Japanese1Common(int resId, int vcardType, boolean japanese) { argument 771 mVerifier.initForImportTest(vcardType, resId);
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | VCardVerifier.java | 106 public void initForImportTest(int vcardType, int resId) { argument 112 setInputResourceId(resId); 136 private void setInputResourceId(int resId) { argument 138 mAndroidTestCase.getContext().getResources().openRawResource(resId); 140 AndroidTestCase.fail("Wrong resId: " + resId);
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTabStrip.java | 137 * @param resId Resource ID of a color resource to load 139 public void setTabIndicatorColorResource(int resId) { argument 140 setTabIndicatorColor(getContext().getResources().getColor(resId)); 183 public void setBackgroundResource(int resId) { argument 184 super.setBackgroundResource(resId); 186 mDrawFullUnderline = resId == 0;
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | ActionBarActivityDelegate.java | 136 abstract void setContentView(int resId); argument
|
H A D | ActionBarActivity.java | 215 void superSetContentView(int resId) { argument 216 super.setContentView(resId);
|
H A D | ActionBarActivityDelegateICS.java | 110 public void setContentView(int resId) { argument 111 mActivity.superSetContentView(resId);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
H A D | ActionModeWrapper.java | 95 public void setTitle(int resId) { argument 96 mWrappedObject.setTitle(resId); 105 public void setSubtitle(int resId) { argument 106 mWrappedObject.setSubtitle(resId);
|
/frameworks/base/core/java/android/view/ |
H A D | MenuItem.java | 509 * @param resId Layout resource to use for presenting this item to the user. 514 public MenuItem setActionView(int resId); argument
|
/frameworks/base/core/java/android/widget/ |
H A D | TabWidget.java | 241 * @param resId the resource identifier of the drawable to use as a 244 public void setDividerDrawable(int resId) { argument 245 setDividerDrawable(getResources().getDrawable(resId)); 262 * @param resId the resource identifier of the drawable to use as the 265 public void setLeftStripDrawable(int resId) { argument 266 setLeftStripDrawable(getResources().getDrawable(resId)); 283 * @param resId the resource identifier of the drawable to use as the 286 public void setRightStripDrawable(int resId) { argument 287 setRightStripDrawable(getResources().getDrawable(resId));
|
H A D | Switch.java | 387 * @param resId Resource ID of a track drawable 391 public void setTrackResource(int resId) { argument 392 setTrackDrawable(getContext().getResources().getDrawable(resId)); 423 * @param resId Resource ID of a thumb drawable 427 public void setThumbResource(int resId) { argument 428 setThumbDrawable(getContext().getResources().getDrawable(resId));
|
/frameworks/base/media/java/android/media/ |
H A D | SoundPool.java | 153 * @param resId the resource ID 158 public int load(Context context, int resId, int priority) { argument 159 return mImpl.load(context, resId, priority); 413 public int load(Context context, int resId, int priority); argument 490 public int load(Context context, int resId, int priority) { argument 491 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resId); 631 public int load(Context context, int resId, int priority) { argument
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 325 public ResourceBitmapSource(Resources res, int resId, int previewSize) { argument 328 mResId = resId;
|
/frameworks/base/core/java/android/app/ |
H A D | AlertDialog.java | 307 * Set resId to 0 if you don't want an icon. 308 * @param resId the resourceId of the drawable to use as the icon or 0 311 public void setIcon(int resId) { argument 312 mAlert.setIcon(resId);
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceManager.java | 259 * @param resId The resource ID of the XML to inflate. 266 public PreferenceScreen inflateFromResource(Context context, int resId, argument 272 rootPreferences = (PreferenceScreen) inflater.inflate(resId, rootPreferences, true); 427 * @param resId The resource ID of the preference XML file. 441 public static void setDefaultValues(Context context, int resId, boolean readAgain) { argument 445 getDefaultSharedPreferencesMode(), resId, readAgain); 458 * @param resId The resource ID of the preference XML file. 477 int sharedPreferencesMode, int resId, boolean readAgain) { 485 pm.inflateFromResource(context, resId, null); 476 setDefaultValues(Context context, String sharedPreferencesName, int sharedPreferencesMode, int resId, boolean readAgain) argument
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ResolverActivity.java | 193 Drawable getIcon(Resources res, int resId) { argument 196 result = res.getDrawableForDensity(resId, mIconDpi);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ActionMenuItem.java | 237 public MenuItem setActionView(int resId) { argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RotarySelector.java | 207 private Bitmap getBitmapFor(int resId) { argument 208 return BitmapFactory.decodeResource(getContext().getResources(), resId); 244 * @param resId the resource ID. 246 public void setLeftHandleResource(int resId) { argument 247 if (resId != 0) { 248 mLeftHandleIcon = getBitmapFor(resId); 259 * @param resId the resource ID. 261 public void setRightHandleResource(int resId) { argument 262 if (resId != 0) { 263 mRightHandleIcon = getBitmapFor(resId); [all...] |
H A D | WaveView.java | 397 BitmapDrawable createDrawable(int resId) { argument 399 Bitmap bitmap = BitmapFactory.decodeResource(res, resId);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | WallpaperCropActivity.java | 243 public static int getRotationFromExif(Resources res, int resId) { argument 244 return getRotationFromExifHelper(null, res, resId, null, null); 248 String path, Resources res, int resId, Context context, Uri uri) { 260 is = res.openRawResource(resId); 297 Resources res, int resId, final boolean finishActivityWhenDone) { 300 int rotation = getRotationFromExif(res, resId); 317 BitmapCropTask cropTask = new BitmapCropTask(this, res, resId, 247 getRotationFromExifHelper( String path, Resources res, int resId, Context context, Uri uri) argument 296 cropImageAndSetWallpaper( Resources res, int resId, final boolean finishActivityWhenDone) argument
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | AppTransition.java | 251 + " resId=0x" + (lp != null ? Integer.toHexString(lp.windowAnimations) : null)); 257 int resId = lp.windowAnimations; 258 if ((resId&0xFF000000) == 0x01000000) { 263 return AttributeCache.instance().get(packageName, resId, 269 private AttributeCache.Entry getCachedAnimations(String packageName, int resId) { argument 271 + packageName + " resId=0x" + Integer.toHexString(resId)); 273 if ((resId&0xFF000000) == 0x01000000) { 278 return AttributeCache.instance().get(packageName, resId, 300 private Animation loadAnimation(String packageName, int resId) { argument [all...] |