/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | Shared.java | 123 public static final String getQuantityString(Context context, int resourceId, int quantity) { argument 124 return context.getResources().getQuantityString(resourceId, quantity, quantity);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | RestrictedSwitchPreference.java | 63 if (restrictedSwitchSummary.resourceId != 0) { 64 data = context.getString(restrictedSwitchSummary.resourceId);
|
H A D | HelpUtils.java | 168 intent.putExtra(EXTRA_PRIMARY_COLOR, context.getColor(typedValue.resourceId));
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
H A D | UiBot.java | 109 UiObject uiObject = mDevice.findObject(new UiSelector().resourceId(id)); 179 .findObject(new UiSelector().resourceId("android:id/button_once"));
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | LaunchWarningWindow.java | 43 getWindow().setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, out.resourceId);
|
/frameworks/support/v4/java/android/support/v4/content/res/ |
H A D | TypedArrayUtils.java | 79 if (value.resourceId != 0) {
|
/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/content/res/ |
H A D | ResourcesImpl.java | 622 if (verifyPreloadConfig(changingConfigs, 0, value.resourceId, "drawable")) { 627 changingConfigs, LAYOUT_DIR_CONFIG, value.resourceId, "drawable")) { 647 @Config int allowVarying, @AnyRes int resourceId, @Nullable String name) { 656 resName = getResourceName(resourceId); 663 + Integer.toHexString(resourceId) 670 resName = getResourceName(resourceId); 675 + Integer.toHexString(resourceId) 764 0, value.resourceId, "color")) { 857 if (verifyPreloadConfig(value.changingConfigurations, 0, value.resourceId, 646 verifyPreloadConfig(@onfig int changingConfigurations, @Config int allowVarying, @AnyRes int resourceId, @Nullable String name) argument
|
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
H A D | ViewDataBinding.java | 573 protected int getColorFromResource(int resourceId) { argument 575 return getRoot().getContext().getColor(resourceId); 577 return getRoot().getResources().getColor(resourceId); 582 protected ColorStateList getColorStateListFromResource(int resourceId) { argument 584 return getRoot().getContext().getColorStateList(resourceId); 586 return getRoot().getResources().getColorStateList(resourceId); 591 protected Drawable getDrawableFromResource(int resourceId) { argument 593 return getRoot().getContext().getDrawable(resourceId); 595 return getRoot().getResources().getDrawable(resourceId);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatDialog.java | 162 themeId = outValue.resourceId;
|
H A D | AlertDialog.java | 112 return outValue.resourceId; 227 * @param resId the resourceId of the drawable to use as the icon or 0 251 mAlert.setIcon(out.resourceId); 439 P.mIconId = out.resourceId;
|
H A D | AppCompatDelegateImplV7.java | 387 if (outValue.resourceId != 0) { 388 themedContext = new ContextThemeWrapper(mContext, outValue.resourceId); 742 if (outValue.resourceId != 0) { 745 actionBarTheme.applyStyle(outValue.resourceId, true); 1244 if (outValue.resourceId != 0) { 1247 widgetTheme.applyStyle(outValue.resourceId, true); 1255 if (outValue.resourceId != 0) { 1260 widgetTheme.applyStyle(outValue.resourceId, true); 1953 if (outValue.resourceId != 0) { 1954 widgetTheme.applyStyle(outValue.resourceId, tru [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | CalendarViewLegacyDelegate.java | 439 public void setSelectedDateVerticalBar(int resourceId) { argument 440 Drawable drawable = mDelegator.getContext().getDrawable(resourceId); 464 public void setWeekDayTextAppearance(int resourceId) { argument 465 if (mWeekDayTextAppearanceResId != resourceId) { 466 mWeekDayTextAppearanceResId = resourceId; 477 public void setDateTextAppearance(int resourceId) { argument 478 if (mDateTextAppearanceResId != resourceId) { 479 mDateTextAppearanceResId = resourceId;
|
H A D | ActivityChooserView.java | 336 * @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;
|
H A D | SuggestionsAdapter.java | 381 mUrlColor = context.getColorStateList(colorValue.resourceId); 554 int resourceId = Integer.parseInt(drawableId); 557 + "://" + mProviderContext.getPackageName() + "/" + resourceId; 564 drawable = mProviderContext.getDrawable(resourceId);
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/ |
H A D | DirectoryListBot.java | 150 final UiSelector docList = new UiSelector().resourceId( 152 new UiSelector().resourceId(DIR_LIST_ID));
|
/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/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | AbsActionBarView.java | 65 && tv.resourceId != 0) { 66 mPopupContext = new ContextThemeWrapper(context, tv.resourceId);
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 191 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/ex/common/java/com/android/common/contacts/ |
H A D | BaseEmailAddressAdapter.java | 387 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 D | AlertDialog.java | 223 return outValue.resourceId; 394 * @param resId the resourceId of the drawable to use as the icon or 0 413 mAlert.setIcon(out.resourceId); 598 P.mIconId = out.resourceId;
|
H A D | Presentation.java | 303 theme = outValue.resourceId;
|
H A D | TimePickerDialog.java | 86 return outValue.resourceId;
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | HeavyWeightSwitcherActivity.java | 90 out.resourceId);
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | LayoutInflater_Delegate.java | 120 layout = tempValue.resourceId;
|