[go: nahoru, domu]

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

12

/frameworks/base/libs/androidfw/tests/
H A DTestHelpers.cpp25 ::testing::AssertionResult IsStringEqual(const ResTable& table, uint32_t resourceId, const char* expectedStr) { argument
27 ssize_t block = table.getResource(resourceId, &val, MAY_NOT_BE_BAG);
/frameworks/support/v4/api24/android/support/v4/view/
H A DPointerIconCompatApi24.java33 public static Object load(Resources resources, int resourceId) { argument
34 return PointerIcon.load(resources, resourceId);
/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.java47 public XmlConfigSource(Context context, int resourceId) { argument
48 this(context, resourceId, false);
52 public XmlConfigSource(Context context, int resourceId, boolean debugBuild) { argument
53 this(context, resourceId, debugBuild, Build.VERSION_CODES.CUR_DEVELOPMENT);
56 public XmlConfigSource(Context context, int resourceId, boolean debugBuild, argument
58 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/DocumentsUI/tests/src/com/android/documentsui/bots/
H A DBaseBot.java59 protected UiObject findObject(String resourceId) { argument
60 final UiSelector object = new UiSelector().resourceId(resourceId);
66 .resourceId(parentResourceId)
67 .childSelector(new UiSelector().resourceId(childResourceId));
/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/telephony/java/com/android/ims/internal/uce/presence/
H A DPresResInstanceInfo.java78 public void setResId(String resourceId) { argument
79 this.mId = resourceId;
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProviderInfo.java364 private Drawable loadDrawable(Context context, int density, int resourceId, argument
369 if (resourceId > 0) {
373 return resources.getDrawableForDensity(resourceId, density);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DShared.java123 public static final String getQuantityString(Context context, int resourceId, int quantity) { argument
124 return context.getResources().getQuantityString(resourceId, quantity, quantity);
/frameworks/support/v4/java/android/support/v4/view/
H A DPointerIconCompat.java115 Object load(Resources resources, int resourceId); argument
130 public Object load(Resources resources, int resourceId) { argument
147 public Object load(Resources resources, int resourceId) { argument
148 return PointerIconCompatApi24.load(resources, resourceId);
206 * @param resourceId The resource id.
213 public static PointerIconCompat load(Resources resources, int resourceId) { argument
214 return new PointerIconCompat(IMPL.load(resources, resourceId));
/frameworks/base/core/java/android/util/
H A DTypedValue.java185 public int resourceId; field in class:TypedValue
497 resourceId = other.resourceId;
512 if (resourceId != 0) {
513 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.java292 * @param resourceId The vertical bar drawable resource id.
298 public void setSelectedDateVerticalBar(@DrawableRes int resourceId) { argument
299 mDelegate.setSelectedDateVerticalBar(resourceId);
331 * @param resourceId The text appearance resource id.
335 public void setWeekDayTextAppearance(@StyleRes int resourceId) { argument
336 mDelegate.setWeekDayTextAppearance(resourceId);
353 * @param resourceId The text appearance resource id.
357 public void setDateTextAppearance(@StyleRes int resourceId) { argument
358 mDelegate.setDateTextAppearance(resourceId);
583 void setSelectedDateVerticalBar(@DrawableRes int resourceId); argument
587 setWeekDayTextAppearance(@tyleRes int resourceId) argument
590 setDateTextAppearance(@tyleRes int resourceId) argument
[all...]
H A DActivityChooserView.java336 * @param resourceId The content description resource id.
338 public void setExpandActivityOverflowButtonContentDescription(@StringRes int resourceId) { argument
339 CharSequence contentDescription = mContext.getString(resourceId);
516 * @param resourceId The resource id.
518 public void setDefaultActionButtonContentDescription(@StringRes int resourceId) { argument
519 mDefaultActionButtonContentDescription = resourceId;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStreamingTextView.java98 private Bitmap getScaledBitmap(int resourceId, float scaled) { argument
99 Bitmap bitmap = BitmapFactory.decodeResource(getResources(), resourceId);
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiSelector.java290 public UiSelector resourceId(String id) { method in class:UiSelector
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarIconController.java224 public void setIcon(String slot, int resourceId, CharSequence contentDescription) { argument
229 Icon.createWithResource(mContext, resourceId), 0, 0, contentDescription);
232 icon.icon = Icon.createWithResource(mContext, resourceId);
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java191 private String readFile(Context context, int resourceId) { argument
193 InputStream stream = context.getResources().openRawResource(resourceId);
197 Slog.e(TAG, "Unrecognized shader " + Integer.toString(resourceId));
202 private int loadShader(Context context, int resourceId, int type) { argument
203 String source = readFile(context, resourceId);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphReader.java528 * @param resourceId the XML resource ID.
532 public static FilterGraph readXmlGraphResource(MffContext context, int resourceId) argument
534 FilterGraph.Builder builder = getBuilderForXmlResource(context, resourceId);
545 * @param resourceId the XML resource ID.
550 MffContext context, int resourceId, FilterGraph parentGraph)
552 FilterGraph.Builder builder = getBuilderForXmlResource(context, resourceId);
565 private static FilterGraph.Builder getBuilderForXmlResource(MffContext context, int resourceId) argument
568 .openRawResource(resourceId);
549 readXmlSubGraphResource( MffContext context, int resourceId, FilterGraph parentGraph) argument

Completed in 555 milliseconds

12