HomeSort by relevance Sort by last modified time
    Searched refs:resourceId (Results 26 - 50 of 245) sorted by null

12 3 4 5 6 7 8 910

  /development/samples/browseable/AdapterTransition/src/com.example.android.adaptertransition/
MeatAdapter.java 43 * @param resourceId The resource ID for the layout to be used. The layout should contain an
46 public MeatAdapter(LayoutInflater inflater, int resourceId) {
48 mResourceId = resourceId;
63 return Meat.MEATS[position].resourceId;
82 holder.image.setImageResource(meat.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, context.getResources(), resourceId);
188 * @param resourceId The resource id.
195 public static PointerIcon loadCustomIcon(Resources resources, int resourceId) {
201 icon.loadResource(null, resources, resourceId);
376 private void loadResource(Context context, Resources resources, int resourceId) {
377 final XmlResourceParser parser = resources.getXml(resourceId);
    [all...]
  /frameworks/base/core/java/android/widget/
CalendarView.java 252 * @param resourceId The vertical bar drawable resource id.
256 public void setSelectedDateVerticalBar(int resourceId) {
257 mDelegate.setSelectedDateVerticalBar(resourceId);
285 * @param resourceId The text appearance resource id.
289 public void setWeekDayTextAppearance(int resourceId) {
290 mDelegate.setWeekDayTextAppearance(resourceId);
307 * @param resourceId The text appearance resource id.
311 public void setDateTextAppearance(int resourceId) {
312 mDelegate.setDateTextAppearance(resourceId);
538 void setSelectedDateVerticalBar(int 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 125 * @param resourceId The resource ID of the photo file to test.
127 public void runStorageTestForResource(int resourceId, int expectedWidth,
129 byte[] photo = loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL);
137 byte[] expectedStoredVersion = loadPhotoFromResource(resourceId, PhotoSize.DISPLAY_PHOTO);
157 public void runStorageTestForResourceWithCrop(int resourceId, int expectedWidth,
159 byte[] photo = loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL);
203 for (int resourceId : resourceIds) {
205 new PhotoProcessor(loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL),
207 resourceIdToPhotoMap.put(resourceId, photoFileId);
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
Utils.java 88 * @param resourceId
90 public static void showToast(Context context, int resourceId) {
91 Toast.makeText(context, context.getString(resourceId), Toast.LENGTH_LONG).show();
  /developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/
ContentItem.java 42 * @param resourceId - Resource ID to use for this item's content
44 public ContentItem(int type, int resourceId) {
46 contentResourceId = resourceId;
  /developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/
ContentItem.java 42 * @param resourceId - Resource ID to use for this item's content
44 public ContentItem(int type, int resourceId) {
46 contentResourceId = resourceId;
  /development/samples/browseable/ActionBarCompat-ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/content/
ContentItem.java 42 * @param resourceId - Resource ID to use for this item's content
44 public ContentItem(int type, int resourceId) {
46 contentResourceId = resourceId;
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
RawResourceLoader.java 18 public InputStream getValue(int resourceId) {
19 String resourceFileName = resourceExtractor.getResourceName(resourceId);
StringArrayResourceLoader.java 24 public String[] getArrayValue(int resourceId) {
25 String resourceName = resourceExtractor.getResourceName(resourceId);
DrawableResourceLoader.java 58 * @param resourceId Resource id
61 public boolean isXml(int resourceId) {
62 return documents.containsKey(resourceExtractor.getResourceName(resourceId));
130 * @param resourceId Resource id
133 protected int[] getDrawableIds(int resourceId) {
134 String resourceName = resourceExtractor.getResourceName(resourceId);
155 public boolean isAnimationDrawable(int resourceId) {
156 Document document = documents.get(resourceExtractor.getResourceName(resourceId));
ResourceLoader.java 425 public boolean isDrawableXml( int resourceId ) {
427 return drawableResourceLoader.isXml( resourceId );
430 public boolean isAnimatableXml( int resourceId ) {
432 return drawableResourceLoader.isAnimationDrawable( resourceId );
435 public int[] getDrawableIds( int resourceId ) {
437 return drawableResourceLoader.getDrawableIds( resourceId );
440 public Drawable getXmlDrawable( int resourceId ) {
441 return drawableResourceLoader.getXmlDrawable( resourceId );
444 public Drawable getAnimDrawable( int resourceId ) {
445 return getInnerRClassDrawable( resourceId, "$anim", AnimationDrawable.class )
    [all...]
  /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);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/util/
TestAttributeSet.java 127 public boolean getAttributeBooleanValue(int resourceId, boolean defaultValue) {
134 Integer resourceId = defaultValue;
136 resourceId = resourceExtractor.getResourceId(value);
138 return resourceId == null ? defaultValue : resourceId;
142 public int getAttributeResourceValue(int resourceId, int defaultValue) {
143 String attrName = resourceExtractor.getResourceName(resourceId);
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/
CanvasReplayStateView.js 60 /** @type {?CanvasAgent.ResourceId} */
88 * @param {string} resourceId
90 selectResource: function(resourceId)
92 if (resourceId === this._resourceSelector.selectedOption().value)
96 if (resourceId === option.value) {
221 var resourceId = argument.resourceId;
222 if (!resourceId || this._resourceIdToDescription[resourceId])
224 this._resourceIdToDescription[resourceId] = argument.description
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
TypedValueTest.java 66 expectedValue.resourceId = 5;
76 assertThat(expectedValue.resourceId, equalTo(actualValue.resourceId));
  /frameworks/base/libs/androidfw/tests/
TestHelpers.h 31 ::testing::AssertionResult IsStringEqual(const ResTable& table, uint32_t resourceId, const char* expectedStr);
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
ActionImage.java 36 public ActionImage(Path path, GalleryApp application, int resourceId) {
39 mResourceId = resourceId;
  /packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
GlowPadView.java 226 setHandleDrawable(handle != null ? handle.resourceId : R.drawable.ic_incall_audio_handle);
240 internalSetTargetResources(outValue.resourceId);
248 final int resourceId = outValue.resourceId;
249 if (resourceId == 0) {
252 setTargetDescriptionsResourceId(resourceId);
257 final int resourceId = outValue.resourceId;
258 if (resourceId == 0) {
261 setDirectionDescriptionsResourceId(resourceId);
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/multiwaveview/
GlowPadView.java 234 mHandleDrawable = new TargetDrawable(res, handle != null ? handle.resourceId : 0);
254 internalSetTargetResources(outValue.resourceId);
262 final int resourceId = outValue.resourceId;
263 if (resourceId == 0) {
266 setTargetDescriptionsResourceId(resourceId);
271 final int resourceId = outValue.resourceId;
272 if (resourceId == 0) {
275 setDirectionDescriptionsResourceId(resourceId);
    [all...]
  /frameworks/base/core/java/android/util/
TypedValue.java 181 public int resourceId;
491 resourceId = other.resourceId;
506 if (resourceId != 0) {
507 sb.append(" r=0x").append(Integer.toHexString(resourceId));

Completed in 4378 milliseconds

12 3 4 5 6 7 8 910