Searched refs:resourceId (Results 1 - 25 of 65) sorted by relevance

123

/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/matcher/
H A DPreferenceMatchers.java35 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);
/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/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/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/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/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/java/android/util/
H A DTypedValue.java170 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/v7/appcompat/src/android/support/v7/internal/widget/
H A DTintTypedArray.java60 final int resourceId = mWrapped.getResourceId(index, 0);
61 if (resourceId != 0) {
62 return getTintManager().getDrawable(resourceId);
H A DAbsActionBarView.java69 && tv.resourceId != 0) {
70 mPopupContext = new ContextThemeWrapper(context, tv.resourceId);
/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/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouterThemeHelper.java41 return context.getTheme().resolveAttribute(attr, value, true) ? value.resourceId : 0;
/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/base/core/java/android/widget/
H A DCalendarView.java255 * @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/am/
H A DLaunchWarningWindow.java43 getWindow().setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, out.resourceId);
/frameworks/webview/chromium/tests/java/src/com/android/uiautomator/platform/
H A DWebViewFlingTest.java76 new UiScrollable(new UiSelector().resourceId(AW_CONTAINER).instance(0));
/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/com/android/internal/widget/
H A DAbsActionBarView.java74 && tv.resourceId != 0) {
75 mPopupContext = new ContextThemeWrapper(context, tv.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/core/java/android/content/res/
H A DTypedArray.java396 value, value.resourceId);
427 return mResources.loadColorStateList(value, value.resourceId);
749 return mResources.loadDrawable(value, value.resourceId, mTheme);
771 return mResources.getTextArray(value.resourceId);
955 outValue.resourceId = data[index+AssetManager.STYLE_RESOURCE_ID];
/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/ex/common/java/com/android/common/contacts/
H A DBaseEmailAddressAdapter.java387 int resourceId = directoryCursor.getInt(DirectoryListQuery.TYPE_RESOURCE_ID);
388 if (packageName != null && resourceId != 0) {
392 partition.directoryType = resources.getString(resourceId);
395 + resourceId + "@" + packageName);
399 + resourceId + "@" + packageName, e);
/frameworks/base/core/java/android/app/
H A DAlertDialog.java156 return outValue.resourceId;
327 * @param resId the resourceId of the drawable to use as the icon or 0
346 mAlert.setIcon(out.resourceId);
495 P.mIconId = out.resourceId;
H A DDatePickerDialog.java89 return outValue.resourceId;
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBarActivityDelegateBase.java266 if (outValue.resourceId != 0) {
267 themedContext = new ContextThemeWrapper(mActivity, outValue.resourceId);
966 if (outValue.resourceId != 0) {
969 widgetTheme.applyStyle(outValue.resourceId, true);
977 if (outValue.resourceId != 0) {
982 widgetTheme.applyStyle(outValue.resourceId, true);
1347 outValue.resourceId != 0
1348 ? outValue.resourceId
1531 if (outValue.resourceId != 0) {
1532 widgetTheme.applyStyle(outValue.resourceId, tru
[all...]

Completed in 7402 milliseconds

123