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

123456

/frameworks/base/tools/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.java127 TransformRecord(IpSecConfig config, int resourceId, IBinder binder) { argument
130 mResourceId = resourceId;
176 int resourceId,
183 mResourceId = resourceId;
280 int resourceId = mNextResourceId.getAndIncrement();
289 resourceId,
296 retBundle.putInt(KEY_RESOURCE_ID, resourceId);
300 resourceId,
302 resourceId, direction, localAddress, remoteAddress, spi, binder));
307 retBundle.putInt(KEY_RESOURCE_ID, resourceId);
175 SpiRecord( int resourceId, int direction, String localAddress, String remoteAddress, int spi, IBinder binder) argument
317 releaseSecurityParameterIndex(int resourceId) argument
403 deleteTransportModeTransform(int resourceId) argument
432 applyTransportModeTransform(ParcelFileDescriptor socket, int resourceId) argument
477 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.java76 final int resourceId = mWrapped.getResourceId(index, 0);
77 if (resourceId != 0) {
78 return AppCompatResources.getDrawable(mContext, resourceId);
86 final int resourceId = mWrapped.getResourceId(index, 0);
87 if (resourceId != 0) {
88 return AppCompatDrawableManager.get().getDrawable(mContext, resourceId, true);
116 final int resourceId = mWrapped.getResourceId(index, 0);
117 if (resourceId == 0) {
123 return ResourcesCompat.getFont(mContext, resourceId, mTypedValue, style, targetView);
172 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/core/java/android/net/
H A DIIpSecService.aidl33 void releaseSecurityParameterIndex(int 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...]
/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/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;

Completed in 1749 milliseconds

123456