/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
GlowPadView.java | 223 mHandleDrawable = new TargetDrawable(res, handle != null ? handle.resourceId : 0, 2); 238 internalSetTargetResources(outValue.resourceId); 246 final int resourceId = outValue.resourceId; 247 if (resourceId == 0) { 250 setTargetDescriptionsResourceId(resourceId); 255 final int resourceId = outValue.resourceId; 256 if (resourceId == 0) { 259 setDirectionDescriptionsResourceId(resourceId); [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
ResourceLoader.java | 418 public boolean isDrawableXml( int resourceId ) { 420 return drawableResourceLoader.isXml( resourceId ); 423 public boolean isAnimatableXml( int resourceId ) { 425 return drawableResourceLoader.isAnimationDrawable( resourceId ); 428 public int[] getDrawableIds( int resourceId ) { 430 return drawableResourceLoader.getDrawableIds( resourceId ); 433 public Drawable getXmlDrawable( int resourceId ) { 434 return drawableResourceLoader.getXmlDrawable( resourceId ); 437 public Drawable getAnimDrawable( int resourceId ) { 438 return getInnerRClassDrawable( resourceId, "$anim", AnimationDrawable.class ) [all...] |
PluralResourceLoader.java | 24 public String getValue(int resourceId, int quantity) { 25 String name = resourceExtractor.getResourceName(resourceId);
|
ResourceExtractor.java | 86 public String getResourceName(int resourceId) { 87 return resourceIdToString.get(resourceId);
|
/frameworks/base/core/java/android/util/ |
TypedValue.java | 170 public int resourceId; 472 resourceId = other.resourceId; 487 if (resourceId != 0) { 488 sb.append(" r=0x").append(Integer.toHexString(resourceId));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
DictionaryInfoUtils.java | 260 int resourceId = getMainDictionaryResourceIdIfAvailableForLocale(res, locale); 261 if (0 != resourceId) return resourceId; 346 final int resourceId = 349 if (0 == resourceId) continue; 351 BinaryDictionaryGetter.loadFallbackResource(context, resourceId);
|
/cts/tests/tests/holo/src/android/holo/cts/ |
BitmapAssets.java | 98 int resourceId = resources.getIdentifier(bitmapName, "drawable", context.getPackageName()); 99 return ((BitmapDrawable) resources.getDrawable(resourceId)).getBitmap();
|
/cts/tests/tests/widget/src/android/widget/cts/ |
DigitalClockTest.java | 113 private AttributeSet getAttributeSet(int resourceId) { 114 XmlResourceParser parser = mActivity.getResources().getXml(resourceId);
|
DatePickerTest.java | 139 private AttributeSet getAttributeSet(int resourceId) { 140 final XmlResourceParser parser = mContext.getResources().getXml(resourceId);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowRemoteViews.java | 82 public void setImageViewResource(int viewId, final int resourceId) { 86 ((ImageView) view).setImageResource(resourceId);
|
ShadowDrawable.java | 67 public static Drawable createFromResourceId(int resourceId) { 69 shadowOf(bitmap).setLoadedFromResourceId(resourceId); 197 public void setLoadedFromResourceId(int resourceId) { 198 loadedFromResourceId = resourceId;
|
ShadowTypedValue.java | 196 typedValue.resourceId = other.resourceId; 212 if (typedValue.resourceId != 0) { 213 sb.append(" r=0x").append(Integer.toHexString(typedValue.resourceId));
|
ShadowBitmapFactory.java | 96 public static void provideWidthAndHeightHints(int resourceId, int width, int height) { 97 widthAndHeightMap.put("resource:" + getResourceName(resourceId), new Point(width, height));
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/ |
GraphEnvironment.java | 128 * @param resourceId The ID of the graph resource to load. 131 public int loadGraph(Context context, int resourceId) { 135 graph = getGraphReader().readGraphResource(context, resourceId);
|
/packages/apps/Email/src/com/android/email/mail/ |
Sender.java | 71 private static Sender findSender(Context context, int resourceId, Account account) 75 XmlResourceParser xml = context.getResources().getXml(resourceId);
|
/cts/tests/tests/util/src/android/util/cts/ |
TypedValueTest.java | 57 tv1.resourceId = 4; 66 assertEquals(4, tv2.resourceId); 119 tv.resourceId = 4; 155 tv.resourceId = 4;
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouterThemeHelper.java | 41 return context.getTheme().resolveAttribute(attr, value, true) ? value.resourceId : 0;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
ScrollBarView.java | 47 context, outValue.resourceId);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
PackageIconLoader.java | 103 int resourceId = Integer.parseInt(drawableId); 105 Drawable icon = mPackageContext.getResources().getDrawable(resourceId); 130 int resourceId = Integer.parseInt(drawableId); 131 return Util.getResourceUri(mPackageContext, resourceId);
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
ClockBackService.java | 248 int resourceId = message.arg1; 249 playEarcon(resourceId); 380 int resourceId = (feedbackIndex == INDEX_SCREEN_ON) ? R.string.template_screen_on 382 String template = mContext.getString(resourceId); 565 Integer resourceId = sSoundsResourceIds.get(earconId); 566 if (resourceId != null) { 568 mTts.addEarcon(earconName, getPackageName(), resourceId);
|
/cts/tests/tests/content/src/android/content/cts/ |
ContextTest.java | 158 private AttributeSet getAttributeSet(int resourceId) { 160 resourceId);
|
/frameworks/base/core/java/android/webkit/ |
SelectActionModeCallback.java | 143 private void setMenuVisibility(Menu menu, boolean visible, int resourceId) { 144 final MenuItem item = menu.findItem(resourceId);
|
/frameworks/base/services/java/com/android/server/am/ |
LaunchWarningWindow.java | 43 getWindow().setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, out.resourceId);
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageManagerTest.java | 452 int resourceId = R.xml.pm_test; 455 assertNotNull(mPackageManager.getXml(PACKAGE_NAME, resourceId, appInfo)); 457 .getResourceName(resourceId)); 459 resourceId)); 461 .getResourceName(resourceId));
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
XmlKeyboardLoader.java | 327 public SkbTemplate loadSkbTemplate(int resourceId) { 328 if (null == mContext || 0 == resourceId) { 332 XmlResourceParser xrp = r.getXml(resourceId); 337 mSkbTemplate = new SkbTemplate(resourceId); 429 public SoftKeyboard loadKeyboard(int resourceId, int skbWidth, int skbHeight) { 433 XmlResourceParser xrp = mContext.getResources().getXml(resourceId); 486 softKeyboard = new SoftKeyboard(resourceId, [all...] |