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

123456

/frameworks/base/core/java/android/net/
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 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 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();
H A DIIpSecService.aidl36 void releaseSecurityParameterIndex(int resourceId);
40 void closeUdpEncapsulationSocket(int resourceId);
/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/services/core/java/com/android/server/
H A DIpSecService.java102 * clean up in the event that the Binder dies and a user-provided resourceId that should
114 ManagedResource(int resourceId, IBinder binder) { argument
117 mResourceId = resourceId;
233 int resourceId,
238 super(resourceId, binder);
304 int resourceId,
310 super(resourceId, binder);
361 UdpSocketRecord(int resourceId, IBinder binder, FileDescriptor socket, int port) { argument
362 super(resourceId, binder);
444 int resourceId
232 TransformRecord( int resourceId, IBinder binder, IpSecConfig config, SpiRecord[] spis, UdpSocketRecord socket) argument
303 SpiRecord( int resourceId, IBinder binder, int direction, String localAddress, String remoteAddress, int spi) argument
474 releaseManagedResource( ManagedResourceArray<T> resArray, int resourceId, String typeName) argument
492 releaseSecurityParameterIndex(int resourceId) argument
575 closeUdpEncapsulationSocket(int resourceId) argument
651 deleteTransportModeTransform(int resourceId) argument
660 applyTransportModeTransform( ParcelFileDescriptor socket, int resourceId) argument
704 removeTransportModeTransform(ParcelFileDescriptor socket, int resourceId) argument
[all...]
/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/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/support/v7/appcompat/src/android/support/v7/widget/
H A DTintTypedArray.java75 final int resourceId = mWrapped.getResourceId(index, 0);
76 if (resourceId != 0) {
77 return AppCompatResources.getDrawable(mContext, resourceId);
85 final int resourceId = mWrapped.getResourceId(index, 0);
86 if (resourceId != 0) {
87 return AppCompatDrawableManager.get().getDrawable(mContext, resourceId, true);
112 final int resourceId = mWrapped.getResourceId(index, 0);
113 if (resourceId == 0) {
119 return ResourcesCompat.getFont(mContext, resourceId, mTypedValue, style, targetView);
168 final int resourceId
[all...]
H A DAppCompatCompoundButtonHelper.java59 final int resourceId = a.getResourceId(
61 if (resourceId != 0) {
63 AppCompatResources.getDrawable(mView.getContext(), 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/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/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/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.java294 * @param resourceId The vertical bar drawable resource id.
300 public void setSelectedDateVerticalBar(@DrawableRes int resourceId) { argument
301 mDelegate.setSelectedDateVerticalBar(resourceId);
333 * @param resourceId The text appearance resource id.
337 public void setWeekDayTextAppearance(@StyleRes int resourceId) { argument
338 mDelegate.setWeekDayTextAppearance(resourceId);
355 * @param resourceId The text appearance resource id.
359 public void setDateTextAppearance(@StyleRes int resourceId) { argument
360 mDelegate.setDateTextAppearance(resourceId);
598 void setSelectedDateVerticalBar(@DrawableRes int resourceId); argument
602 setWeekDayTextAppearance(@tyleRes int resourceId) argument
605 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/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
H A DFakeStatusBarIconController.java46 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/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...]

Completed in 1067 milliseconds

123456