Searched defs:resourceId (Results 1 - 25 of 54) sorted by relevance

123

/frameworks/layoutlib/bridge/src/android/view/
H A DPointerIcon_Delegate.java28 int resourceId) {
29 // HACK: This bypasses the problem of having an enum resolved as a resourceId.
27 loadResource(PointerIcon icon, Context context, Resources resources, int resourceId) argument
/frameworks/base/core/java/android/net/
H A DIpSecSpiResponse.java30 public final int resourceId; field in class:IpSecSpiResponse
43 out.writeInt(resourceId);
49 resourceId = inResourceId;
58 resourceId = IpSecManager.INVALID_RESOURCE_ID;
64 resourceId = in.readInt();
H A DIpSecTransformResponse.java30 public final int resourceId; field in class:IpSecTransformResponse
42 out.writeInt(resourceId);
50 resourceId = IpSecManager.INVALID_RESOURCE_ID;
55 resourceId = inResourceId;
60 resourceId = in.readInt();
H A DIpSecTunnelInterfaceResponse.java30 public final int resourceId; field in class:IpSecTunnelInterfaceResponse
43 out.writeInt(resourceId);
52 resourceId = IpSecManager.INVALID_RESOURCE_ID;
58 resourceId = inResourceId;
64 resourceId = in.readInt();
H A DIpSecUdpEncapResponse.java33 public final int resourceId; field in class:IpSecUdpEncapResponse
53 out.writeInt(resourceId);
63 resourceId = IpSecManager.INVALID_RESOURCE_ID;
74 resourceId = inResourceId;
81 resourceId = in.readInt();
/frameworks/support/media-widget/src/androidTest/java/androidx/media/widget/
H A DMediaUtils2.java35 static boolean hasCodecsForResource(Context context, int resourceId) { argument
40 afd = context.getResources().openRawResourceFd(resourceId);
/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/base/core/java/android/security/net/config/
H A DResourceCertificateSource.java45 public ResourceCertificateSource(int resourceId, Context context) { argument
46 mResourceId = resourceId;
H A DXmlConfigSource.java46 public XmlConfigSource(Context context, int resourceId, ApplicationInfo info) { argument
48 mResourceId = resourceId;
/frameworks/base/core/java/android/text/style/
H A DImageSpan.java202 * @param resourceId drawable resource id based on which the drawable is retrieved
204 public ImageSpan(@NonNull Context context, @DrawableRes int resourceId) { argument
205 this(context, resourceId, ALIGN_BOTTOM);
213 * @param resourceId drawable resource id based on which the drawable is retrieved.
217 public ImageSpan(@NonNull Context context, @DrawableRes int resourceId, argument
221 mResourceId = 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/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/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/SystemUI/tests/src/com/android/systemui/utils/leaks/
H A DFakeStatusBarIconController.java49 public void setIcon(String slot, int resourceId, CharSequence contentDescription) { argument
/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/car/src/main/java/androidx/car/drawer/
H A DCarDrawerActivity.java147 * @param resourceId Layout to display as main content.
149 public void setMainContent(@LayoutRes int resourceId) { argument
152 inflater.inflate(resourceId, parent, true);
/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/tests/net/java/android/net/
H A DIpSecManagerTest.java259 private IpSecManager.IpSecTunnelInterface createAndValidateVti(int resourceId, String intfName) argument
262 new IpSecTunnelInterfaceResponse(IpSecManager.Status.OK, resourceId, intfName);
/frameworks/base/tests/net/java/com/android/internal/net/
H A DNetworkStatsFactoryTest.java237 private NetworkStats parseDetailedStats(int resourceId) throws Exception { argument
238 stageFile(resourceId, file("net/xt_qtaguid/stats"));
/frameworks/support/compat/src/main/java/androidx/core/view/
H A DPointerIconCompat.java172 * @param resourceId The resource id.
179 public static PointerIconCompat load(Resources resources, int resourceId) { argument
181 return new PointerIconCompat(PointerIcon.load(resources, resourceId));
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProviderInfo.java416 private Drawable loadDrawable(Context context, int density, int resourceId, argument
421 if (ResourceId.isValid(resourceId)) {
425 return resources.getDrawableForDensity(resourceId, density, null);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarIconControllerImpl.java152 public void setIcon(String slot, int resourceId, CharSequence contentDescription) { argument
158 mContext, resourceId), 0, 0, contentDescription);
162 holder.getIcon().icon = Icon.createWithResource(mContext, resourceId);
/frameworks/support/compat/src/main/java/androidx/core/content/res/
H A DFontResourcesParserCompat.java111 @Nullable String variationSettings, int ttcIndex, int resourceId) {
117 mResourceId = resourceId;
288 int resourceId = array.getResourceId(resourceAttr, 0);
295 resourceId);
110 FontFileResourceEntry(@onNull String fileName, int weight, boolean italic, @Nullable String variationSettings, int ttcIndex, int resourceId) argument
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DFragmentAnimationTest.java542 assertEquals(animatorResourceId, fragment.resourceId);
560 public int resourceId; field in class:FragmentAnimationTest.AnimatorFragment
570 this.resourceId = nextAnim;

Completed in 543 milliseconds

123