/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/ |
H A D | BaseBot.java | 59 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 D | RootsListBot.java | 46 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 D | PointerIconCompatApi24.java | 33 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 D | ObservableListAdapter.java | 38 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 D | PointerIconCompat.java | 115 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 D | TestHelpers.cpp | 25 ::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 D | TestHelpers.h | 31 ::testing::AssertionResult IsStringEqual(const ResTable& table, uint32_t resourceId, const char* expectedStr);
|
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/ |
H A D | SamplesList.java | 36 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 D | InflateTest.java | 58 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 D | GestureLibraries.java | 48 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 D | TintTypedArray.java | 65 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 D | AppCompatCompoundButtonHelper.java | 60 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 D | GraphReader.java | 41 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 D | CalendarView.java | 292 * @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 D | ImageSpan.java | 114 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 D | PresResInstanceInfo.java | 78 public void setResId(String resourceId) { argument 79 this.mId = resourceId;
|
/frameworks/base/core/java/android/view/ |
H A D | PointerIcon.java | 217 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 D | TypedValue.java | 185 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 D | MediaRouterThemeHelper.java | 77 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 D | ResourceCertificateSource.java | 45 public ResourceCertificateSource(int resourceId, Context context) { argument 46 mResourceId = resourceId;
|
H A D | XmlConfigSource.java | 47 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 D | GraphEnvironment.java | 128 * @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 D | RestrictedPreferenceHelper.java | 57 if (userRestriction.resourceId != 0) { 58 data = context.getText(userRestriction.resourceId);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GraphReader.java | 528 * @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 D | BridgeInflater.java | 279 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);
|