Searched refs:resourceId (Results 51 - 75 of 129) sorted by relevance

123456

/frameworks/base/core/java/android/widget/
H A DCalendarViewLegacyDelegate.java439 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 DActivityChooserView.java336 * @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 DSuggestionsAdapter.java381 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 DDirectoryListBot.java150 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 DStreamingTextView.java98 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 DAbsActionBarView.java65 && tv.resourceId != 0) {
66 mPopupContext = new ContextThemeWrapper(context, tv.resourceId);
H A DActivityChooserView.java317 * @param resourceId The content description resource id.
319 public void setExpandActivityOverflowButtonContentDescription(int resourceId) { argument
320 CharSequence contentDescription = getContext().getString(resourceId);
498 * @param resourceId The resource id.
500 public void setDefaultActionButtonContentDescription(int resourceId) { argument
501 mDefaultActionButtonContentDescription = resourceId;
H A DSuggestionsAdapter.java339 mUrlColor = mContext.getResources().getColorStateList(colorValue.resourceId);
488 int resourceId = Integer.parseInt(drawableId);
491 + "://" + mProviderContext.getPackageName() + "/" + resourceId;
498 drawable = ContextCompat.getDrawable(mProviderContext, resourceId);
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java191 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 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.java223 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 DPresentation.java303 theme = outValue.resourceId;
H A DTimePickerDialog.java87 return outValue.resourceId;
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAlertDialog.java115 return outValue.resourceId;
228 * @param resId the resourceId of the drawable to use as the icon or 0
252 mAlert.setIcon(out.resourceId);
440 P.mIconId = out.resourceId;
H A DAppCompatDelegateImplV9.java395 if (outValue.resourceId != 0) {
396 themedContext = new ContextThemeWrapper(mContext, outValue.resourceId);
750 if (outValue.resourceId != 0) {
753 actionBarTheme.applyStyle(outValue.resourceId, true);
1253 if (outValue.resourceId != 0) {
1256 widgetTheme.applyStyle(outValue.resourceId, true);
1264 if (outValue.resourceId != 0) {
1269 widgetTheme.applyStyle(outValue.resourceId, true);
1972 if (outValue.resourceId != 0) {
1973 widgetTheme.applyStyle(outValue.resourceId, tru
[all...]
H A DToolbarActionBar.java538 if (outValue.resourceId != 0) {
539 widgetTheme.applyStyle(outValue.resourceId, true);
544 if (outValue.resourceId != 0) {
545 widgetTheme.applyStyle(outValue.resourceId, true);
/frameworks/base/core/java/com/android/internal/app/
H A DHeavyWeightSwitcherActivity.java90 out.resourceId);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DLayoutInflater_Delegate.java120 layout = tempValue.resourceId;
/frameworks/support/design/src/android/support/design/widget/
H A DBottomSheetDialog.java154 themeId = outValue.resourceId;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBrandedFragment.java67 return inflater.inflate(found ? typedValue.resourceId : R.layout.lb_browse_title,
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java847 if (tv.resourceId != 0) {
848 header.titleRes = tv.resourceId;
856 if (tv.resourceId != 0) {
857 header.summaryRes = tv.resourceId;
865 if (tv.resourceId != 0) {
866 header.breadCrumbTitleRes = tv.resourceId;
874 if (tv.resourceId != 0) {
875 header.breadCrumbShortTitleRes = tv.resourceId;
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java892 * @param resourceId
897 public int addSpeech(String text, String packagename, @RawRes int resourceId) { argument
899 mUtterances.put(text, makeResourceUri(packagename, resourceId));
926 * @param resourceId
931 public int addSpeech(CharSequence text, String packagename, @RawRes int resourceId) { argument
933 mUtterances.put(text, makeResourceUri(packagename, resourceId));
1001 * @param resourceId
1006 public int addEarcon(String earcon, String packagename, @RawRes int resourceId) { argument
1008 mEarcons.put(earcon, makeResourceUri(packagename, resourceId));
1060 private Uri makeResourceUri(String packageName, int resourceId) { argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DAbsActionBarView.java78 && tv.resourceId != 0) {
79 mPopupContext = new ContextThemeWrapper(context, tv.resourceId);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DUsageGraph.java94 mDivider = context.getDrawable(v.resourceId);
95 mTintedDivider = context.getDrawable(v.resourceId);
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java452 value, value.resourceId, mTheme);
496 return mResources.loadComplexColor(value, value.resourceId, mTheme);
531 return mResources.loadColorStateList(value, value.resourceId, mTheme);
928 return mResources.loadDrawable(value, value.resourceId, mTheme);
955 return mResources.getTextArray(value.resourceId);
1199 outValue.resourceId = data[index+AssetManager.STYLE_RESOURCE_ID];

Completed in 7188 milliseconds

123456