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

12345

/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/v4/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/v4/java/android/support/v4/view/
H A DPointerIconCompat.java115 Object load(Resources resources, int resourceId); argument
130 public Object load(Resources resources, int resourceId) { argument
147 public Object load(Resources resources, int resourceId) { argument
148 return PointerIconCompatApi24.load(resources, resourceId);
206 * @param resourceId The resource id.
213 public static PointerIconCompat load(Resources resources, int resourceId) { argument
214 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.java65 final int resourceId = mWrapped.getResourceId(index, 0);
66 if (resourceId != 0) {
67 return AppCompatDrawableManager.get().getDrawable(mContext, resourceId);
75 final int resourceId = mWrapped.getResourceId(index, 0);
76 if (resourceId != 0) {
77 return AppCompatDrawableManager.get().getDrawable(mContext, resourceId, true);
129 final int resourceId = mWrapped.getResourceId(index, 0);
130 if (resourceId != 0) {
132 AppCompatResources.getColorStateList(mContext, resourceId);
H A DAppCompatCompoundButtonHelper.java60 final int resourceId = a.getResourceId(
62 if (resourceId != 0) {
64 mDrawableManager.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/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/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/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouterThemeHelper.java77 return context.getTheme().resolveAttribute(attr, value, true) ? value.resourceId : 0;
159 if (value.resourceId != 0) {
160 return context.getResources().getColor(value.resourceId);
/frameworks/base/core/java/android/security/net/config/
H A DResourceCertificateSource.java45 public ResourceCertificateSource(int resourceId, Context context) { argument
46 mResourceId = resourceId;
H A DXmlConfigSource.java47 public XmlConfigSource(Context context, int resourceId) { argument
48 this(context, resourceId, false);
52 public XmlConfigSource(Context context, int resourceId, boolean debugBuild) { argument
53 this(context, resourceId, debugBuild, Build.VERSION_CODES.CUR_DEVELOPMENT);
56 public XmlConfigSource(Context context, int resourceId, boolean debugBuild, argument
58 mResourceId = resourceId;
/frameworks/base/media/mca/filterfw/java/android/filterfw/
H A DGraphEnvironment.java128 * @param resourceId The ID of the graph resource to load.
131 public int loadGraph(Context context, int resourceId) { argument
135 graph = getGraphReader().readGraphResource(context, resourceId);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DRestrictedPreferenceHelper.java57 if (userRestriction.resourceId != 0) {
58 data = context.getText(userRestriction.resourceId);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphReader.java528 * @param resourceId the XML resource ID.
532 public static FilterGraph readXmlGraphResource(MffContext context, int resourceId) argument
534 FilterGraph.Builder builder = getBuilderForXmlResource(context, resourceId);
545 * @param resourceId the XML resource ID.
550 MffContext context, int resourceId, FilterGraph parentGraph)
552 FilterGraph.Builder builder = getBuilderForXmlResource(context, resourceId);
565 private static FilterGraph.Builder getBuilderForXmlResource(MffContext context, int resourceId) argument
568 .openRawResource(resourceId);
549 readXmlSubGraphResource( MffContext context, int resourceId, FilterGraph parentGraph) argument
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DBridgeInflater.java279 Integer resourceId = null;
285 resourceId = Bridge.getResourceId(resValue.getResourceType(),
288 resourceId = mLayoutlibCallback.getResourceId(resValue.getResourceType(),
292 if (resourceId == null) {
293 resourceId = 0;
295 RecyclerViewUtil.setAdapter(view, bc, mLayoutlibCallback, resourceId);

Completed in 598 milliseconds

12345