/cts/tests/tests/content/src/android/content/cts/ |
Intent_ShortcutIconResourceTest.java | 32 final int resourceId = com.android.cts.stub.R.string.notify; 43 resourceId); 45 resourceId); 53 resourceId); 55 resourceId);
|
ContextTest.java | 158 private AttributeSet getAttributeSet(int resourceId) { 160 resourceId);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
InflateTest.java | 58 public void inflateTest(int resourceId) { 59 mView = mInflater.inflate(resourceId, null); 63 public void inflateCachedTest(int resourceId) { 65 mInflater.inflate(resourceId, null); 67 mInflater.inflate(resourceId, null);
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
SingleRecipientArrayAdapter.java | 33 public SingleRecipientArrayAdapter(Context context, int resourceId, RecipientEntry entry) { 34 super(context, resourceId, new RecipientEntry[] { 38 mLayoutId = resourceId;
|
/frameworks/base/core/java/android/gesture/ |
GestureLibraries.java | 47 public static GestureLibrary fromRawResource(Context context, int resourceId) { 48 return new ResourceGestureLibrary(context, resourceId); 112 public ResourceGestureLibrary(Context context, int resourceId) { 114 mResourceId = resourceId;
|
/frameworks/base/core/java/android/text/style/ |
ImageSpan.java | 113 public ImageSpan(Context context, int resourceId) { 114 this(context, resourceId, ALIGN_BOTTOM); 121 public ImageSpan(Context context, int resourceId, int verticalAlignment) { 124 mResourceId = resourceId;
|
/frameworks/base/core/java/android/view/ |
PointerIcon.java | 131 int resourceId = a.getResourceId(styleIndex, -1); 134 if (resourceId == -1) { 140 if ((resourceId & 0xff000000) == 0x01000000) { 141 icon.mSystemIconResourceId = resourceId; 143 icon.loadResource(context.getResources(), resourceId); 188 * @param resourceId The resource id. 195 public static PointerIcon loadCustomIcon(Resources resources, int resourceId) { 201 icon.loadResource(resources, resourceId); 376 private void loadResource(Resources resources, int resourceId) { 377 XmlResourceParser parser = resources.getXml(resourceId); [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
ThemeUtils.java | 32 return outValue.resourceId;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
PhotoLoadingTestCase.java | 89 protected byte[] loadPhotoFromResource(int resourceId, PhotoSize size) { 90 PhotoEntry entry = photoResourceCache.get(resourceId); 93 InputStream is = resources.openRawResource(resourceId); 96 photoResourceCache.put(resourceId, entry);
|
PhotoStoreTest.java | 127 * @param resourceId The resource ID of the photo file to test. 129 public void runStorageTestForResource(int resourceId, int expectedWidth, 131 byte[] photo = loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL); 139 byte[] expectedStoredVersion = loadPhotoFromResource(resourceId, PhotoSize.DISPLAY_PHOTO); 159 public void runStorageTestForResourceWithCrop(int resourceId, int expectedWidth, 161 byte[] photo = loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL); 205 for (int resourceId : resourceIds) { 207 new PhotoProcessor(loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL), 209 resourceIdToPhotoMap.put(resourceId, photoFileId);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
GraphReader.java | 41 public FilterGraph readGraphResource(Context context, int resourceId) throws GraphIOException { 42 InputStream inputStream = context.getResources().openRawResource(resourceId);
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
MultiWaveView.java | 221 a.peekValue(R.styleable.MultiWaveView_handleDrawable).resourceId); 224 a.peekValue(R.styleable.MultiWaveView_waveDrawable).resourceId); 230 ArrayList<TargetDrawable> chevrons = loadDrawableArray(outValue.resourceId); 241 internalSetTargetResources(outValue.resourceId); 249 final int resourceId = outValue.resourceId; 250 if (resourceId == 0) { 253 setTargetDescriptionsResourceId(resourceId); 258 final int resourceId = outValue.resourceId; [all...] |
GlowPadView.java | 218 a.peekValue(R.styleable.GlowPadView_handleDrawable).resourceId); 233 internalSetTargetResources(outValue.resourceId); 241 final int resourceId = outValue.resourceId; 242 if (resourceId == 0) { 245 setTargetDescriptionsResourceId(resourceId); 250 final int resourceId = outValue.resourceId; 251 if (resourceId == 0) { 254 setDirectionDescriptionsResourceId(resourceId); [all...] |
/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/ |
DictionaryFactory.java | 197 int resourceId = getMainDictionaryResourceIdIfAvailableForLocale(res, locale); 198 if (0 != resourceId) return 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);
|
/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;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
ScrollBarView.java | 44 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);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
LockScreen.java | 126 // Enable or disable a target. ResourceId is the id of the *drawable* associated with the 128 public void setEnabled(int resourceId, boolean enabled); 131 public int getTargetPosition(int resourceId); 196 public void setEnabled(int resourceId, boolean enabled) { 200 public int getTargetPosition(int resourceId) { 244 public void setEnabled(int resourceId, boolean enabled) { 247 public int getTargetPosition(int resourceId) { 380 public void setEnabled(int resourceId, boolean enabled) { 381 mGlowPadView.setEnableTarget(resourceId, enabled); 384 public int getTargetPosition(int resourceId) { [all...] |