Searched refs:resourceId (Results 1 - 25 of 129) sorted by relevance

123456

/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/
H A DBaseBot.java59 protected UiObject findObject(String resourceId) { argument
60 final UiSelector object = new UiSelector().resourceId(resourceId);
66 .resourceId(parentResourceId)
67 .childSelector(new UiSelector().resourceId(childResourceId));
H A DRootsListBot.java46 final UiSelector rootsList = new UiSelector().resourceId(
48 new UiSelector().resourceId(ROOTS_LIST_ID));
53 final UiSelector hamburger = new UiSelector().resourceId(
/frameworks/support/compat/api24/android/support/v4/view/
H A DPointerIconCompatApi24.java33 public static Object load(Resources resources, int resourceId) { argument
34 return PointerIcon.load(resources, resourceId);
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DObservableListAdapter.java38 public ObservableListAdapter(Context context, List<T> list, int resourceId, argument
41 mResourceId = resourceId;
44 mLayoutInflater = (resourceId == 0) ? null :
120 public View getViewForResource(int resourceId, int position, View convertView, argument
123 if (resourceId == 0) {
126 convertView = mLayoutInflater.inflate(resourceId, parent, false);
/frameworks/support/compat/java/android/support/v4/view/
H A DPointerIconCompat.java119 Object load(Resources resources, int resourceId); argument
134 public Object load(Resources resources, int resourceId) { argument
151 public Object load(Resources resources, int resourceId) { argument
152 return PointerIconCompatApi24.load(resources, resourceId);
210 * @param resourceId The resource id.
217 public static PointerIconCompat load(Resources resources, int resourceId) { argument
218 return new PointerIconCompat(IMPL.load(resources, resourceId));
/frameworks/base/libs/androidfw/tests/
H A DTestHelpers.cpp25 ::testing::AssertionResult IsStringEqual(const ResTable& table, uint32_t resourceId, const char* expectedStr) { argument
27 ssize_t block = table.getResource(resourceId, &val, MAY_NOT_BE_BAG);
H A DTestHelpers.h31 ::testing::AssertionResult IsStringEqual(const ResTable& table, uint32_t resourceId, const char* expectedStr);
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/
H A DSamplesList.java36 static Map<String,?> makeSample(String name, Class<?> activity, int resourceId) { argument
40 ret.put(KEY_RESOURCE, resourceId);
61 int resourceId = ((Integer) SAMPLES.get(position).get(KEY_RESOURCE)).intValue();
64 intent.putExtra("resourceId", resourceId);
/frameworks/base/core/tests/coretests/src/android/view/
H A DInflateTest.java58 public void inflateTest(int resourceId) { argument
59 mView = mInflater.inflate(resourceId, null);
63 public void inflateCachedTest(int resourceId) { argument
65 mInflater.inflate(resourceId, null);
67 mInflater.inflate(resourceId, null);
/frameworks/base/core/java/android/gesture/
H A DGestureLibraries.java48 public static GestureLibrary fromRawResource(Context context, @RawRes int resourceId) { argument
49 return new ResourceGestureLibrary(context, resourceId);
113 public ResourceGestureLibrary(Context context, int resourceId) { argument
115 mResourceId = resourceId;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DTintTypedArray.java69 final int resourceId = mWrapped.getResourceId(index, 0);
70 if (resourceId != 0) {
71 return AppCompatResources.getDrawable(mContext, resourceId);
79 final int resourceId = mWrapped.getResourceId(index, 0);
80 if (resourceId != 0) {
81 return AppCompatDrawableManager.get().getDrawable(mContext, resourceId, true);
133 final int resourceId = mWrapped.getResourceId(index, 0);
134 if (resourceId != 0) {
136 AppCompatResources.getColorStateList(mContext, resourceId);
H A DAppCompatCompoundButtonHelper.java59 final int resourceId = a.getResourceId(
61 if (resourceId != 0) {
63 AppCompatResources.getDrawable(mView.getContext(), resourceId));
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
H A DGraphReader.java41 public FilterGraph readGraphResource(Context context, int resourceId) throws GraphIOException { argument
42 InputStream inputStream = context.getResources().openRawResource(resourceId);
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/
H A DImageCardViewPresenter.java60 int resourceId = getContext().getResources()
63 Picasso.with(getContext()).load(resourceId).into(cardView.getMainImageView());
H A DSideInfoCardPresenter.java57 int resourceId = getContext().getResources()
60 Picasso.with(getContext()).load(resourceId).resize(width, height).centerCrop()
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/
H A DImageCardViewPresenter.java60 int resourceId = getContext().getResources()
63 Picasso.with(getContext()).load(resourceId).into(cardView.getMainImageView());
H A DSideInfoCardPresenter.java57 int resourceId = getContext().getResources()
60 Picasso.with(getContext()).load(resourceId).resize(width, height).centerCrop()
/frameworks/base/core/java/android/widget/
H A DCalendarView.java292 * @param resourceId The vertical bar drawable resource id.
298 public void setSelectedDateVerticalBar(@DrawableRes int resourceId) { argument
299 mDelegate.setSelectedDateVerticalBar(resourceId);
331 * @param resourceId The text appearance resource id.
335 public void setWeekDayTextAppearance(@StyleRes int resourceId) { argument
336 mDelegate.setWeekDayTextAppearance(resourceId);
353 * @param resourceId The text appearance resource id.
357 public void setDateTextAppearance(@StyleRes int resourceId) { argument
358 mDelegate.setDateTextAppearance(resourceId);
583 void setSelectedDateVerticalBar(@DrawableRes int resourceId); argument
587 setWeekDayTextAppearance(@tyleRes int resourceId) argument
590 setDateTextAppearance(@tyleRes int resourceId) argument
[all...]
/frameworks/base/core/java/android/text/style/
H A DImageSpan.java114 public ImageSpan(Context context, @DrawableRes int resourceId) { argument
115 this(context, resourceId, ALIGN_BOTTOM);
122 public ImageSpan(Context context, @DrawableRes int resourceId, int verticalAlignment) { argument
125 mResourceId = resourceId;
/frameworks/base/telephony/java/com/android/ims/internal/uce/presence/
H A DPresResInstanceInfo.java78 public void setResId(String resourceId) { argument
79 this.mId = resourceId;
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/
H A DTextCardView.java46 int resourceId = card.getLocalImageResourceId(getContext());
48 .decodeResource(getContext().getResources(), resourceId);
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/
H A DTextCardView.java46 int resourceId = card.getLocalImageResourceId(getContext());
48 .decodeResource(getContext().getResources(), resourceId);
/frameworks/base/core/java/android/view/
H A DPointerIcon.java217 int resourceId = a.getResourceId(typeIndex, -1);
220 if (resourceId == -1) {
226 if ((resourceId & 0xff000000) == 0x01000000) {
227 icon.mSystemIconResourceId = resourceId;
229 icon.loadResource(context, context.getResources(), resourceId);
284 * @param resourceId The resource id.
291 public static PointerIcon load(@NonNull Resources resources, @XmlRes int resourceId) { argument
297 icon.loadResource(null, resources, resourceId);
399 private void loadResource(Context context, Resources resources, @XmlRes int resourceId) { argument
400 final XmlResourceParser parser = resources.getXml(resourceId);
[all...]
/frameworks/base/core/java/android/util/
H A DTypedValue.java185 public int resourceId; field in class:TypedValue
497 resourceId = other.resourceId;
512 if (resourceId != 0) {
513 sb.append(" r=0x").append(Integer.toHexString(resourceId));
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DBackgroundHelper.java102 final int resourceId = (Integer) imageToken;
103 if (DEBUG) Log.v(TAG, "load resourceId " + resourceId);
104 Drawable drawable = ContextCompat.getDrawable(activity, resourceId);

Completed in 1631 milliseconds

123456