Searched defs:resourceId (Results 1 - 25 of 26) 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/base/core/java/android/gesture/
H A DGestureLibraries.java47 public static GestureLibrary fromRawResource(Context context, int resourceId) { argument
48 return new ResourceGestureLibrary(context, resourceId);
112 public ResourceGestureLibrary(Context context, int resourceId) { argument
114 mResourceId = resourceId;
/frameworks/base/core/java/android/text/style/
H A DImageSpan.java113 public ImageSpan(Context context, int resourceId) { argument
114 this(context, resourceId, ALIGN_BOTTOM);
121 public ImageSpan(Context context, int resourceId, int verticalAlignment) { argument
124 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/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/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/core/java/android/net/http/
H A DRequest.java519 void error(int errorId, int resourceId) { argument
523 resourceId).toString());
/frameworks/base/core/java/android/view/
H A DPointerIcon.java131 int resourceId = a.getResourceId(styleIndex, -1);
134 if (resourceId == -1) {
140 if ((resourceId & 0xff000000) == 0x01000000) {
141 icon.mSystemIconResourceId = resourceId;
143 icon.loadResource(context, context.getResources(), resourceId);
188 * @param resourceId The resource id.
195 public static PointerIcon loadCustomIcon(Resources resources, int resourceId) { argument
201 icon.loadResource(null, resources, resourceId);
376 private void loadResource(Context context, Resources resources, int resourceId) { argument
377 final XmlResourceParser parser = resources.getXml(resourceId);
[all...]
/frameworks/base/core/java/android/widget/
H A DCalendarViewMaterialDelegate.java124 public void setWeekDayTextAppearance(int resourceId) { argument
134 public void setDateTextAppearance(int resourceId) { argument
166 public void setSelectedDateVerticalBar(int resourceId) { argument
H A DCalendarView.java252 * @param resourceId The vertical bar drawable resource id.
256 public void setSelectedDateVerticalBar(int resourceId) { argument
257 mDelegate.setSelectedDateVerticalBar(resourceId);
285 * @param resourceId The text appearance resource id.
289 public void setWeekDayTextAppearance(int resourceId) { argument
290 mDelegate.setWeekDayTextAppearance(resourceId);
307 * @param resourceId The text appearance resource id.
311 public void setDateTextAppearance(int resourceId) { argument
312 mDelegate.setDateTextAppearance(resourceId);
538 void setSelectedDateVerticalBar(int resourceId); argument
542 setWeekDayTextAppearance(int resourceId) argument
545 setDateTextAppearance(int resourceId) argument
[all...]
H A DActivityChooserView.java335 * @param resourceId The content description resource id.
337 public void setExpandActivityOverflowButtonContentDescription(int resourceId) { argument
338 CharSequence contentDescription = mContext.getString(resourceId);
515 * @param resourceId The resource id.
517 public void setDefaultActionButtonContentDescription(int resourceId) { argument
518 mDefaultActionButtonContentDescription = resourceId;
H A DCalendarViewLegacyDelegate.java440 public void setSelectedDateVerticalBar(int resourceId) { argument
441 Drawable drawable = mDelegator.getContext().getDrawable(resourceId);
465 public void setWeekDayTextAppearance(int resourceId) { argument
466 if (mWeekDayTextAppearanceResId != resourceId) {
467 mWeekDayTextAppearanceResId = resourceId;
478 public void setDateTextAppearance(int resourceId) { argument
479 if (mDateTextAppearanceResId != resourceId) {
480 mDateTextAppearanceResId = resourceId;
/frameworks/base/core/java/android/util/
H A DTypedValue.java181 public int resourceId; field in class:TypedValue
491 resourceId = other.resourceId;
506 if (resourceId != 0) {
507 sb.append(" r=0x").append(Integer.toHexString(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.java287 public UiSelector resourceId(String id) { method in class:UiSelector
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java192 private String readFile(Context context, int resourceId) { argument
194 InputStream stream = context.getResources().openRawResource(resourceId);
198 Slog.e(TAG, "Unrecognized shader " + Integer.toString(resourceId));
203 private int loadShader(Context context, int resourceId, int type) { argument
204 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
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActivityChooserView.java313 * @param resourceId The content description resource id.
315 public void setExpandActivityOverflowButtonContentDescription(int resourceId) { argument
316 CharSequence contentDescription = getContext().getString(resourceId);
493 * @param resourceId The resource id.
495 public void setDefaultActionButtonContentDescription(int resourceId) { argument
496 mDefaultActionButtonContentDescription = resourceId;
/frameworks/base/core/java/android/content/res/
H A DResources.java1449 value.resourceId = data[d+AssetManager.STYLE_RESOURCE_ID];
1545 value.resourceId = data[d+AssetManager.STYLE_RESOURCE_ID];
2291 int resourceId, String name) {
2300 resName = getResourceName(resourceId);
2307 + Integer.toHexString(resourceId)
2314 resName = getResourceName(resourceId);
2319 + Integer.toHexString(resourceId)
2406 if (verifyPreloadConfig(changingConfigs, 0, value.resourceId, "drawable")) {
2411 changingConfigs, LAYOUT_DIR_CONFIG, value.resourceId, "drawable")) {
2557 if (verifyPreloadConfig(value.changingConfigurations, 0, value.resourceId,
2290 verifyPreloadConfig(int changingConfigurations, int allowVarying, int resourceId, String name) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java882 * @param resourceId
887 public int addSpeech(String text, String packagename, int resourceId) { argument
889 mUtterances.put(text, makeResourceUri(packagename, resourceId));
916 * @param resourceId
921 public int addSpeech(CharSequence text, String packagename, int resourceId) { argument
923 mUtterances.put(text, makeResourceUri(packagename, resourceId));
991 * @param resourceId
996 public int addEarcon(String earcon, String packagename, int resourceId) { argument
998 mEarcons.put(earcon, makeResourceUri(packagename, resourceId));
1050 private Uri makeResourceUri(String packageName, int resourceId) { argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java234 mHandleDrawable = new TargetDrawable(res, handle != null ? handle.resourceId : 0);
254 internalSetTargetResources(outValue.resourceId);
262 final int resourceId = outValue.resourceId;
263 if (resourceId == 0) {
266 setTargetDescriptionsResourceId(resourceId);
271 final int resourceId = outValue.resourceId;
272 if (resourceId == 0) {
275 setDirectionDescriptionsResourceId(resourceId);
577 loadDrawableArray(int resourceId) argument
591 internalSetTargetResources(int resourceId) argument
619 setTargetResources(int resourceId) argument
637 setTargetDescriptionsResourceId(int resourceId) argument
658 setDirectionDescriptionsResourceId(int resourceId) argument
1277 loadDescriptions(int resourceId) argument
1294 setEnableTarget(int resourceId, boolean enabled) argument
1309 getTargetPosition(int resourceId) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp1930 int resourceId = bag->map.name.ident; local
1931 env->SetIntArrayRegion(array, i, 1, &resourceId);
2122 = env->GetFieldID(typedValue, "resourceId", "I");
2123 LOG_FATAL_IF(gTypedValueOffsets.mResourceId == NULL, "Unable to find TypedValue.resourceId");
/frameworks/base/core/java/android/content/
H A DIntent.java765 * @param resourceId The resource idenfitier for the icon.
769 public static ShortcutIconResource fromContext(Context context, int resourceId) { argument
772 icon.resourceName = context.getResources().getResourceName(resourceId);
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java2616 public RescalableImageSpan(Context context, int resourceId, int maxwidth) { argument
2617 super(context, resourceId);

Completed in 7282 milliseconds

12