Home
last modified time | relevance | path

Searched refs:resourceId (Results 1 – 25 of 134) sorted by relevance

123456

/frameworks/base/services/core/java/com/android/server/
DIpSecService.java114 ManagedResource(int resourceId, IBinder binder) { in ManagedResource() argument
117 mResourceId = resourceId; in ManagedResource()
233 int resourceId, in TransformRecord() argument
238 super(resourceId, binder); in TransformRecord()
304 int resourceId, in SpiRecord() argument
310 super(resourceId, binder); in SpiRecord()
361 UdpSocketRecord(int resourceId, IBinder binder, FileDescriptor socket, int port) { in UdpSocketRecord() argument
362 super(resourceId, binder); in UdpSocketRecord()
444 int resourceId = mNextResourceId.getAndIncrement(); in reserveSecurityParameterIndex() local
452 resourceId, in reserveSecurityParameterIndex()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DTintTypedArray.java75 final int resourceId = mWrapped.getResourceId(index, 0); in getDrawable() local
76 if (resourceId != 0) { in getDrawable()
77 return AppCompatResources.getDrawable(mContext, resourceId); in getDrawable()
85 final int resourceId = mWrapped.getResourceId(index, 0); in getDrawableIfKnown() local
86 if (resourceId != 0) { in getDrawableIfKnown()
87 return AppCompatDrawableManager.get().getDrawable(mContext, resourceId, true); in getDrawableIfKnown()
112 final int resourceId = mWrapped.getResourceId(index, 0); in getFont() local
113 if (resourceId == 0) { in getFont()
119 return ResourcesCompat.getFont(mContext, resourceId, mTypedValue, style, targetView); in getFont()
168 final int resourceId = mWrapped.getResourceId(index, 0); in getColorStateList() local
[all …]
DAppCompatCompoundButtonHelper.java59 final int resourceId = a.getResourceId( in loadFromAttributes() local
61 if (resourceId != 0) { in loadFromAttributes()
63 AppCompatResources.getDrawable(mView.getContext(), resourceId)); in loadFromAttributes() local
/frameworks/base/core/java/android/net/
DIpSecTransformResponse.java30 public final int resourceId; field in IpSecTransformResponse
42 out.writeInt(resourceId); in writeToParcel()
50 resourceId = IpSecManager.INVALID_RESOURCE_ID; in IpSecTransformResponse()
55 resourceId = inResourceId; in IpSecTransformResponse()
60 resourceId = in.readInt(); in IpSecTransformResponse()
DIpSecSpiResponse.java30 public final int resourceId; field in IpSecSpiResponse
43 out.writeInt(resourceId); in writeToParcel()
49 resourceId = inResourceId; in IpSecSpiResponse()
58 resourceId = IpSecManager.INVALID_RESOURCE_ID; in IpSecSpiResponse()
64 resourceId = in.readInt(); in IpSecSpiResponse()
DIpSecUdpEncapResponse.java33 public final int resourceId; field in IpSecUdpEncapResponse
53 out.writeInt(resourceId); in writeToParcel()
63 resourceId = IpSecManager.INVALID_RESOURCE_ID; in IpSecUdpEncapResponse()
74 resourceId = inResourceId; in IpSecUdpEncapResponse()
81 resourceId = in.readInt(); in IpSecUdpEncapResponse()
DIIpSecService.aidl36 void releaseSecurityParameterIndex(int resourceId); in releaseSecurityParameterIndex() argument
40 void closeUdpEncapsulationSocket(int resourceId); in closeUdpEncapsulationSocket() argument
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DObservableListAdapter.java38 public ObservableListAdapter(Context context, List<T> list, int resourceId, in ObservableListAdapter() argument
41 mResourceId = resourceId; in ObservableListAdapter()
44 mLayoutInflater = (resourceId == 0) ? null : in ObservableListAdapter()
120 public View getViewForResource(int resourceId, int position, View convertView, in getViewForResource() argument
123 if (resourceId == 0) { in getViewForResource()
126 convertView = mLayoutInflater.inflate(resourceId, parent, false); in getViewForResource()
/frameworks/base/core/tests/coretests/src/android/view/
DInflateTest.java58 public void inflateTest(int resourceId) { in inflateTest() argument
59 mView = mInflater.inflate(resourceId, null); in inflateTest()
63 public void inflateCachedTest(int resourceId) { in inflateCachedTest() argument
65 mInflater.inflate(resourceId, null); in inflateCachedTest()
67 mInflater.inflate(resourceId, null); in inflateCachedTest()
/frameworks/base/core/java/android/widget/
DCalendarView.java300 public void setSelectedDateVerticalBar(@DrawableRes int resourceId) { in setSelectedDateVerticalBar() argument
301 mDelegate.setSelectedDateVerticalBar(resourceId); in setSelectedDateVerticalBar()
337 public void setWeekDayTextAppearance(@StyleRes int resourceId) { in setWeekDayTextAppearance() argument
338 mDelegate.setWeekDayTextAppearance(resourceId); in setWeekDayTextAppearance()
359 public void setDateTextAppearance(@StyleRes int resourceId) { in setDateTextAppearance() argument
360 mDelegate.setDateTextAppearance(resourceId); in setDateTextAppearance()
598 void setSelectedDateVerticalBar(@DrawableRes int resourceId); in setSelectedDateVerticalBar() argument
602 void setWeekDayTextAppearance(@StyleRes int resourceId); in setWeekDayTextAppearance() argument
605 void setDateTextAppearance(@StyleRes int resourceId); in setDateTextAppearance() argument
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/
DSamplesList.java36 static Map<String,?> makeSample(String name, Class<?> activity, int resourceId) { in makeSample() argument
40 ret.put(KEY_RESOURCE, resourceId); in makeSample()
61 int resourceId = ((Integer) SAMPLES.get(position).get(KEY_RESOURCE)).intValue(); in onListItemClick() local
64 intent.putExtra("resourceId", resourceId); in onListItemClick()
/frameworks/base/core/java/android/gesture/
DGestureLibraries.java48 public static GestureLibrary fromRawResource(Context context, @RawRes int resourceId) { in fromRawResource() argument
49 return new ResourceGestureLibrary(context, resourceId); in fromRawResource()
113 public ResourceGestureLibrary(Context context, int resourceId) { in ResourceGestureLibrary() argument
115 mResourceId = resourceId; in ResourceGestureLibrary()
/frameworks/base/core/java/android/view/
DPointerIcon.java217 int resourceId = a.getResourceId(typeIndex, -1); in getSystemIcon() local
220 if (resourceId == -1) { in getSystemIcon()
226 if ((resourceId & 0xff000000) == 0x01000000) { in getSystemIcon()
227 icon.mSystemIconResourceId = resourceId; in getSystemIcon()
229 icon.loadResource(context, context.getResources(), resourceId); in getSystemIcon()
291 public static PointerIcon load(@NonNull Resources resources, @XmlRes int resourceId) { in load() argument
297 icon.loadResource(null, resources, resourceId); in load()
399 private void loadResource(Context context, Resources resources, @XmlRes int resourceId) { in loadResource() argument
400 final XmlResourceParser parser = resources.getXml(resourceId); in loadResource()
/frameworks/base/core/java/android/util/
DTypedValue.java185 public int resourceId; field in TypedValue
518 resourceId = other.resourceId; in setTo()
533 if (resourceId != 0) { in toString()
534 sb.append(" r=0x").append(Integer.toHexString(resourceId)); in toString()
/frameworks/base/core/java/android/text/style/
DImageSpan.java114 public ImageSpan(Context context, @DrawableRes int resourceId) { in ImageSpan() argument
115 this(context, resourceId, ALIGN_BOTTOM); in ImageSpan()
122 public ImageSpan(Context context, @DrawableRes int resourceId, int verticalAlignment) { in ImageSpan() argument
125 mResourceId = resourceId; in ImageSpan()
/frameworks/base/core/java/android/security/net/config/
DXmlConfigSource.java48 public XmlConfigSource(Context context, int resourceId) { in XmlConfigSource() argument
49 this(context, resourceId, false); in XmlConfigSource()
53 public XmlConfigSource(Context context, int resourceId, boolean debugBuild) { in XmlConfigSource() argument
54 this(context, resourceId, debugBuild, Build.VERSION_CODES.CUR_DEVELOPMENT); in XmlConfigSource()
58 public XmlConfigSource(Context context, int resourceId, boolean debugBuild, in XmlConfigSource() argument
60 this(context, resourceId, debugBuild, targetSdkVersion, 1 /*targetSandboxVersion*/); in XmlConfigSource()
63 public XmlConfigSource(Context context, int resourceId, boolean debugBuild, in XmlConfigSource() argument
65 mResourceId = resourceId; in XmlConfigSource()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouterThemeHelper.java76 return context.getTheme().resolveAttribute(attr, value, true) ? value.resourceId : 0; in getThemeResource()
147 return outValue.resourceId; in getAlertDialogResolvedTheme()
170 if (value.resourceId != 0) { in getThemeColor()
171 return context.getResources().getColor(value.resourceId); in getThemeColor()
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
DGraphReader.java41 public FilterGraph readGraphResource(Context context, int resourceId) throws GraphIOException { in readGraphResource() argument
42 InputStream inputStream = context.getResources().openRawResource(resourceId); in readGraphResource()
/frameworks/support/compat/java/android/support/v4/view/
DPointerIconCompat.java177 public static PointerIconCompat load(Resources resources, int resourceId) { in load() argument
179 return new PointerIconCompat(PointerIcon.load(resources, resourceId)); in load()
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/
DImageCardViewPresenter.java60 int resourceId = getContext().getResources() in onBindViewHolder() local
63 Picasso.with(getContext()).load(resourceId).into(cardView.getMainImageView()); in onBindViewHolder()
DSideInfoCardPresenter.java57 int resourceId = getContext().getResources() in onBindViewHolder() local
60 Picasso.with(getContext()).load(resourceId).resize(width, height).centerCrop() in onBindViewHolder()
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/
DTextCardView.java46 int resourceId = card.getLocalImageResourceId(getContext()); in updateUi() local
48 .decodeResource(getContext().getResources(), resourceId); in updateUi()
/frameworks/base/telephony/java/com/android/ims/internal/uce/presence/
DPresResInstanceInfo.java78 public void setResId(String resourceId) { in setResId() argument
79 this.mId = resourceId; in setResId()
/frameworks/support/compat/java/android/support/v4/content/res/
DFontResourcesParserCompat.java108 int resourceId) { in FontFileResourceEntry() argument
112 mResourceId = resourceId; in FontFileResourceEntry()
257 int resourceId = array.getResourceId(R.styleable.FontFamilyFont_font, 0); in readFont() local
263 return new FontFileResourceEntry(filename, weight, isItalic, resourceId); in readFont()
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java372 Integer resourceId = null; in setupViewInContext() local
380 resourceId = Bridge.getResourceId(resValue.getResourceType(), in setupViewInContext()
383 resourceId = mLayoutlibCallback.getResourceId(resValue.getResourceType(), in setupViewInContext()
387 if (resourceId == null) { in setupViewInContext()
388 resourceId = 0; in setupViewInContext()
390 … RecyclerViewUtil.setAdapter(view, bc, mLayoutlibCallback, resourceId, attrItemCountValue); in setupViewInContext()

123456