Searched defs:resourceId (Results 1 - 25 of 51) 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 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/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.java48 public XmlConfigSource(Context context, int resourceId) { argument
49 this(context, resourceId, false);
53 public XmlConfigSource(Context context, int resourceId, boolean debugBuild) { argument
54 this(context, resourceId, debugBuild, Build.VERSION_CODES.CUR_DEVELOPMENT);
58 public XmlConfigSource(Context context, int resourceId, boolean debugBuild, argument
60 this(context, resourceId, debugBuild, targetSdkVersion, 1 /*targetSandboxVersion*/);
63 public XmlConfigSource(Context context, int resourceId, boolean debugBuild, argument
65 mResourceId = resourceId;
/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/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/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
H A DFakeStatusBarIconController.java46 public void setIcon(String slot, int resourceId, CharSequence contentDescription) { argument
/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/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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarIconControllerImpl.java128 public void setIcon(String slot, int resourceId, CharSequence contentDescription) { argument
133 Icon.createWithResource(mContext, resourceId), 0, 0, contentDescription);
136 icon.icon = Icon.createWithResource(mContext, resourceId);
H A DStatusBarIconController.java43 public void setIcon(String slot, int resourceId, CharSequence contentDescription); argument
/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/com/android/internal/net/
H A DNetworkStatsFactoryTest.java224 private NetworkStats parseDetailedStats(int resourceId) throws Exception { argument
225 stageFile(resourceId, file("net/xt_qtaguid/stats"));
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProviderInfo.java367 private Drawable loadDrawable(Context context, int density, int resourceId, argument
372 if (ResourceId.isValid(resourceId)) {
376 return resources.getDrawableForDensity(resourceId, density, null);
/frameworks/support/compat/java/android/support/v4/content/res/
H A DFontResourcesParserCompat.java108 int resourceId) {
112 mResourceId = resourceId;
257 int resourceId = array.getResourceId(R.styleable.FontFamilyFont_font, 0);
263 return new FontFileResourceEntry(filename, weight, isItalic, resourceId);
107 FontFileResourceEntry(@onNull String fileName, int weight, boolean italic, int resourceId) argument
/frameworks/support/compat/java/android/support/v4/view/
H A DPointerIconCompat.java170 * @param resourceId The resource id.
177 public static PointerIconCompat load(Resources resources, int resourceId) { argument
179 return new PointerIconCompat(PointerIcon.load(resources, resourceId));
/frameworks/support/fragment/tests/java/android/support/v4/app/
H A DFragmentAnimationTest.java486 assertEquals(animatorResourceId, fragment.resourceId);
504 public int resourceId; field in class:FragmentAnimationTest.AnimatorFragment
514 this.resourceId = nextAnim;
H A DFragmentAnimatorTest.java540 assertEquals(animatorResourceId, fragment.resourceId);
558 public int resourceId; field in class:FragmentAnimatorTest.AnimatorFragment
582 this.resourceId = nextAnim;
/frameworks/base/core/java/android/util/
H A DTypedValue.java185 public int resourceId; field in class:TypedValue
518 resourceId = other.resourceId;
533 if (resourceId != 0) {
534 sb.append(" r=0x").append(Integer.toHexString(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...]

Completed in 7699 milliseconds

123