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

12

/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/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.java129 public void setIcon(String slot, int resourceId, CharSequence contentDescription) { argument
134 Icon.createWithResource(mContext, resourceId), 0, 0, contentDescription);
137 icon.icon = Icon.createWithResource(mContext, resourceId);
H A DStatusBarIconController.java39 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/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/support/compat/java/android/support/v4/content/res/
H A DFontResourcesParserCompat.java106 public FontFileResourceEntry(int weight, boolean italic, int resourceId) { argument
109 mResourceId = resourceId;
249 int resourceId = array.getResourceId(R.styleable.FontFamilyFont_font, 0);
254 return new FontFileResourceEntry(weight, isItalic, 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/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...]
/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/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStreamingTextView.java97 private Bitmap getScaledBitmap(int resourceId, float scaled) { argument
98 Bitmap bitmap = BitmapFactory.decodeResource(getResources(), resourceId);

Completed in 6017 milliseconds

12