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

/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/ex/chips/src/com/android/ex/chips/
H A DSingleRecipientArrayAdapter.java33 public SingleRecipientArrayAdapter(Context context, int resourceId, RecipientEntry entry) { argument
34 super(context, resourceId, new RecipientEntry[] {
38 mLayoutId = 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/net/http/
H A DRequest.java522 void error(int errorId, int resourceId) { argument
526 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.getResources(), resourceId);
188 * @param resourceId The resource id.
195 public static PointerIcon loadCustomIcon(Resources resources, int resourceId) { argument
201 icon.loadResource(resources, resourceId);
376 private void loadResource(Resources resources, int resourceId) { argument
377 XmlResourceParser parser = resources.getXml(resourceId);
[all...]
/frameworks/base/core/java/android/util/
H A DTypedValue.java170 public int resourceId; field in class:TypedValue
472 resourceId = other.resourceId;
487 if (resourceId != 0) {
488 sb.append(" r=0x").append(Integer.toHexString(resourceId));
/frameworks/base/core/java/android/widget/
H A DActivityChooserView.java318 * @param resourceId The content description resource id.
320 public void setExpandActivityOverflowButtonContentDescription(int resourceId) { argument
321 CharSequence contentDescription = mContext.getString(resourceId);
498 * @param resourceId The resource id.
500 public void setDefaultActionButtonContentDescription(int resourceId) { argument
501 mDefaultActionButtonContentDescription = resourceId;
H A DCalendarView.java594 * @param resourceId The vertical bar drawable resource id.
598 public void setSelectedDateVerticalBar(int resourceId) { argument
599 Drawable drawable = getResources().getDrawable(resourceId);
637 * @param resourceId The text appearance resource id.
641 public void setWeekDayTextAppearance(int resourceId) { argument
642 if (mWeekDayTextAppearanceResId != resourceId) {
643 mWeekDayTextAppearanceResId = resourceId;
662 * @param resourceId The text appearance resource id.
666 public void setDateTextAppearance(int resourceId) { argument
667 if (mDateTextAppearanceResId != resourceId) {
[all...]
/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.java290 * @param resourceId The content description resource id.
292 public void setExpandActivityOverflowButtonContentDescription(int resourceId) { argument
293 CharSequence contentDescription = getContext().getString(resourceId);
470 * @param resourceId The resource id.
472 public void setDefaultActionButtonContentDescription(int resourceId) { argument
473 mDefaultActionButtonContentDescription = resourceId;
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiSelector.java287 public UiSelector resourceId(String id) { method in class:UiSelector
/frameworks/uiautomator/src/com/android/uiautomator/core/
H A DUiSelector.java287 public UiSelector resourceId(String id) { method in class:UiSelector
/frameworks/base/core/java/android/content/res/
H A DResources.java1305 value.resourceId = data[d+AssetManager.STYLE_RESOURCE_ID];
1402 value.resourceId = data[d+AssetManager.STYLE_RESOURCE_ID];
1994 int resourceId, String name) {
2003 resName = getResourceName(resourceId);
2008 + Integer.toHexString(resourceId)
2015 resName = getResourceName(resourceId);
2020 + Integer.toHexString(resourceId)
2134 if (verifyPreloadConfig(changingConfigs, 0, value.resourceId,
2140 LAYOUT_DIR_CONFIG, value.resourceId, "drawable")) {
2217 if (verifyPreloadConfig(value.changingConfigurations, 0, value.resourceId,
1993 verifyPreloadConfig(int changingConfigurations, int allowVarying, int resourceId, String name) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java769 * @param resourceId
774 public int addSpeech(String text, String packagename, int resourceId) { argument
776 mUtterances.put(text, makeResourceUri(packagename, resourceId));
824 * @param resourceId
829 public int addEarcon(String earcon, String packagename, int resourceId) { argument
831 mEarcons.put(earcon, makeResourceUri(packagename, resourceId));
858 private Uri makeResourceUri(String packageName, int resourceId) { argument
862 .appendEncodedPath(String.valueOf(resourceId))
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java228 mHandleDrawable = new TargetDrawable(res, handle != null ? handle.resourceId : 0);
244 internalSetTargetResources(outValue.resourceId);
252 final int resourceId = outValue.resourceId;
253 if (resourceId == 0) {
256 setTargetDescriptionsResourceId(resourceId);
261 final int resourceId = outValue.resourceId;
262 if (resourceId == 0) {
265 setDirectionDescriptionsResourceId(resourceId);
571 loadDrawableArray(int resourceId) argument
585 internalSetTargetResources(int resourceId) argument
613 setTargetResources(int resourceId) argument
631 setTargetDescriptionsResourceId(int resourceId) argument
652 setDirectionDescriptionsResourceId(int resourceId) argument
1271 loadDescriptions(int resourceId) argument
1288 setEnableTarget(int resourceId, boolean enabled) argument
1303 getTargetPosition(int resourceId) argument
[all...]
H A DMultiWaveView.java222 a.peekValue(R.styleable.MultiWaveView_handleDrawable).resourceId);
225 a.peekValue(R.styleable.MultiWaveView_waveDrawable).resourceId);
231 ArrayList<TargetDrawable> chevrons = loadDrawableArray(outValue.resourceId);
242 internalSetTargetResources(outValue.resourceId);
250 final int resourceId = outValue.resourceId;
251 if (resourceId == 0) {
254 setTargetDescriptionsResourceId(resourceId);
259 final int resourceId = outValue.resourceId;
606 loadDrawableArray(int resourceId) argument
620 internalSetTargetResources(int resourceId) argument
646 setTargetResources(int resourceId) argument
664 setTargetDescriptionsResourceId(int resourceId) argument
685 setDirectionDescriptionsResourceId(int resourceId) argument
1170 loadDescriptions(int resourceId) argument
1187 setEnableTarget(int resourceId, boolean enabled) argument
1202 getTargetPosition(int resourceId) argument
[all...]
/frameworks/base/core/java/android/content/
H A DIntent.java742 * @param resourceId The resource idenfitier for the icon.
746 public static ShortcutIconResource fromContext(Context context, int resourceId) { argument
749 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 623 milliseconds