/frameworks/base/core/java/android/gesture/ |
H A D | GestureLibraries.java | 47 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 D | ImageSpan.java | 113 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 D | GraphReader.java | 41 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 D | InflateTest.java | 58 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 D | GraphEnvironment.java | 128 * @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/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/matcher/ |
H A D | PreferenceMatchers.java | 35 public static Matcher<Preference> withSummary(final int resourceId) { argument 43 description.appendValue(resourceId); 59 expectedText = preference.getContext().getResources().getString(resourceId); 60 resourceName = preference.getContext().getResources().getResourceEntryName(resourceId); 94 public static Matcher<Preference> withTitle(final int resourceId) { argument 102 description.appendValue(resourceId); 118 expectedText = preference.getContext().getResources().getString(resourceId); 119 resourceName = preference.getContext().getResources().getResourceEntryName(resourceId);
|
H A D | ViewMatchers.java | 402 * @param resourceId the string resource the text view is expected to hold. 404 public static Matcher<View> withText(final int resourceId) { argument 413 description.appendValue(resourceId); 429 expectedText = textView.getResources().getString(resourceId); 430 resourceName = textView.getResources().getResourceEntryName(resourceId);
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetProviderInfo.java | 364 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 D | Request.java | 519 void error(int errorId, int resourceId) { argument 523 resourceId).toString());
|
/frameworks/base/core/java/android/view/ |
H A D | PointerIcon.java | 131 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/util/ |
H A D | TypedValue.java | 170 public int resourceId; field in class:TypedValue 468 resourceId = other.resourceId; 483 if (resourceId != 0) { 484 sb.append(" r=0x").append(Integer.toHexString(resourceId));
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | StreamingTextView.java | 98 private Bitmap getScaledBitmap(int resourceId, float scaled) { argument 99 Bitmap bitmap = BitmapFactory.decodeResource(getResources(), resourceId);
|
/frameworks/base/core/java/android/widget/ |
H A D | ActivityChooserView.java | 335 * @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 D | CalendarView.java | 255 * @param resourceId The vertical bar drawable resource id. 259 public void setSelectedDateVerticalBar(int resourceId) { argument 260 mDelegate.setSelectedDateVerticalBar(resourceId); 288 * @param resourceId The text appearance resource id. 292 public void setWeekDayTextAppearance(int resourceId) { argument 293 mDelegate.setWeekDayTextAppearance(resourceId); 310 * @param resourceId The text appearance resource id. 314 public void setDateTextAppearance(int resourceId) { argument 315 mDelegate.setDateTextAppearance(resourceId); 553 void setSelectedDateVerticalBar(int resourceId); argument 557 setWeekDayTextAppearance(int resourceId) argument 560 setDateTextAppearance(int resourceId) argument 1031 setSelectedDateVerticalBar(int resourceId) argument 1056 setWeekDayTextAppearance(int resourceId) argument 1069 setDateTextAppearance(int resourceId) argument [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 192 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 D | GraphReader.java | 528 * @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 D | ActivityChooserView.java | 292 * @param resourceId The content description resource id. 294 public void setExpandActivityOverflowButtonContentDescription(int resourceId) { argument 295 CharSequence contentDescription = getContext().getString(resourceId); 472 * @param resourceId The resource id. 474 public void setDefaultActionButtonContentDescription(int resourceId) { argument 475 mDefaultActionButtonContentDescription = resourceId;
|
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiSelector.java | 287 public UiSelector resourceId(String id) { method in class:UiSelector
|
/frameworks/base/core/java/android/content/res/ |
H A D | Resources.java | 1416 value.resourceId = data[d+AssetManager.STYLE_RESOURCE_ID]; 1512 value.resourceId = data[d+AssetManager.STYLE_RESOURCE_ID]; 2247 int resourceId, String name) { 2256 resName = getResourceName(resourceId); 2263 + Integer.toHexString(resourceId) 2270 resName = getResourceName(resourceId); 2275 + Integer.toHexString(resourceId) 2355 if (verifyPreloadConfig(changingConfigs, 0, value.resourceId, "drawable")) { 2360 changingConfigs, LAYOUT_DIR_CONFIG, value.resourceId, "drawable")) { 2506 if (verifyPreloadConfig(value.changingConfigurations, 0, value.resourceId, 2246 verifyPreloadConfig(int changingConfigurations, int allowVarying, int resourceId, String name) argument [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeech.java | 882 * @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 D | GlowPadView.java | 234 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 D | android_util_AssetManager.cpp | 1915 int resourceId = bag->map.name.ident; local 1916 env->SetIntArrayRegion(array, i, 1, &resourceId); 2107 = env->GetFieldID(typedValue, "resourceId", "I"); 2108 LOG_FATAL_IF(gTypedValueOffsets.mResourceId == NULL, "Unable to find TypedValue.resourceId");
|
/frameworks/base/core/java/android/content/ |
H A D | Intent.java | 764 * @param resourceId The resource idenfitier for the icon. 768 public static ShortcutIconResource fromContext(Context context, int resourceId) { argument 771 icon.resourceName = context.getResources().getResourceName(resourceId);
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 2616 public RescalableImageSpan(Context context, int resourceId, int maxwidth) { argument 2617 super(context, resourceId);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 7532 * @param resourceId Id of the resource you want to remove. It is suggested to use R.id.* to 7535 public void remove(int resourceId) { argument 7539 mData.remove(resourceId); 7546 * @param resourceId Id of the resource you want to remove. It is suggested to use R.id.* 7550 public <T> T get(int resourceId) { argument 7554 return (T) mData.get(resourceId); 7561 * @param resourceId Id of the resource you want to add. It is suggested to use R.id.* to 7563 * @param data The data you want to associate with the resourceId. 7565 public void put(int resourceId, Object data) { argument 7569 mData.put(resourceId, dat [all...] |