HomeSort by relevance Sort by last modified time
    Searched full:resid (Results 26 - 50 of 577) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/apps/Messaging/src/com/android/messaging/ui/
ListEmptyView.java 47 public void setImageHint(final int resId) {
48 mEmptyImageHint.setImageResource(resId);
51 public void setTextHint(final int resId) {
52 mEmptyTextHint.setText(getResources().getText(resId));
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
AccountSelectionUtil.java 62 int resId, int subscriptionId) {
68 mResId = resId;
73 int resId) {
76 this(context, accountList, resId, /* subscriptionId = */ -1);
85 public static Dialog getSelectAccountDialog(Context context, int resId) {
86 return getSelectAccountDialog(context, resId, null, null);
89 public static Dialog getSelectAccountDialog(Context context, int resId,
91 return getSelectAccountDialog(context, resId, onClickListener, null);
98 public static Dialog getSelectAccountDialog(Context context, int resId,
145 new AccountSelectedListener(context, writableAccountList, resId);
    [all...]
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
FileCopyHelper.java 56 * @param resId the res id
62 public String copy(int resId, String fileName) throws IOException {
63 InputStream source = mContext.getResources().openRawResource(resId);
70 public void copyToExternalStorage(int resId, File path) throws IOException {
71 InputStream source = mContext.getResources().openRawResource(resId);
  /cts/libs/deviceutil/src/android/cts/util/
FileCopyHelper.java 56 * @param resId the res id
62 public String copy(int resId, String fileName) throws IOException {
63 InputStream source = mContext.getResources().openRawResource(resId);
70 public void copyToExternalStorage(int resId, File path) throws IOException {
71 InputStream source = mContext.getResources().openRawResource(resId);
  /device/sample/apps/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/
ClockWidgetProvider.java 70 int resId = 0;
74 resId = R.drawable.ic_widget_wifi_not_connected;
76 resId = R.drawable.ic_widget_wifi_no_internet;
79 resId = android.R.color.transparent;
82 return resId;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
AnimatedImageView.java 33 // the same as the previous one. If this is a resid, we track that. If it's a drawable, we
75 public void setImageResource(int resid) {
76 if (mDrawableId == resid) return;
78 mDrawableId = resid;
79 super.setImageResource(resid);
  /frameworks/base/tools/aapt/
ResourceIdCache.cpp 27 CacheEntry(const android::String16& name, uint32_t resId) : hashedName(name), id(resId) { }
88 uint32_t resId) {
92 mIdMap[hashcode] = CacheEntry(hashedName, resId);
94 return resId;
  /packages/apps/Launcher2/src/com/android/launcher2/
UserInitializeReceiver.java 49 int resid = list.get(i); local
50 if (!wpm.hasResourceWallpaper(resid)) {
52 wpm.setResource(resid);
60 private void addWallpapers(Resources resources, String packageName, int resid,
62 final String[] extras = resources.getStringArray(resid);
  /frameworks/base/services/core/java/com/android/server/am/
AppNotRespondingDialog.java 50 int resid; local
58 resid = com.android.internal.R.string.anr_activity_application;
62 resid = com.android.internal.R.string.anr_application_process;
67 resid = com.android.internal.R.string.anr_activity_process;
70 resid = com.android.internal.R.string.anr_process;
75 ? res.getString(resid, name1.toString(), name2.toString())
76 : res.getString(resid, name1.toString()));
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
SelectAccountActivity.java 59 final int resId = R.string.import_from_vcf_file;
82 this, accountList, resId) {
95 showDialog(resId);
100 protected Dialog onCreateDialog(int resId, Bundle bundle) {
101 switch (resId) {
107 return AccountSelectionUtil.getSelectAccountDialog(this, resId,
112 return super.onCreateDialog(resId, bundle);
  /packages/apps/Settings/src/com/android/settings/
RegulatoryInfoDisplayActivity.java 63 int resId = getResourceId();
64 if (resId != 0) {
66 Drawable d = getDrawable(resId);
81 image.setImageResource(resId);
98 int resId = getResources().getIdentifier(
108 resId = id;
111 return resId;
  /frameworks/base/tools/aapt2/
ResourceTable.cpp 154 bool ResourceTable::addResource(const ResourceNameRef& name, const ResourceId resId,
157 return addResourceImpl(name, resId, config, source, std::move(value), kValidNameChars);
168 bool ResourceTable::addResourceImpl(const ResourceNameRef& name, const ResourceId resId,
197 if (resId.isValid() && type->typeId != ResourceTableType::kUnsetTypeId &&
198 type->typeId != resId.typeId()) {
203 << resId
214 if (resId.isValid() && entry->entryId != ResourceEntry::kUnsetEntryId &&
215 entry->entryId != resId.entryId()) {
220 << resId
251 if (resId.isValid())
    [all...]
  /frameworks/base/core/java/android/view/
ContextThemeWrapper.java 91 public void setTheme(int resid) {
92 if (mThemeResource != resid) {
93 mThemeResource = resid;
133 * @param resid The theme style resource being applied to <var>theme</var>.
137 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) {
138 theme.applyStyle(resid, true);
  /frameworks/base/core/java/com/android/internal/view/
StandaloneActionMode.java 66 public void setTitle(int resId) {
67 setTitle(resId != 0 ? mContext.getString(resId) : null);
71 public void setSubtitle(int resId) {
72 setSubtitle(resId != 0 ? mContext.getString(resId) : null);
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardMessageArea.java 94 public void setMessage(int resId, boolean important) {
95 if (resId != 0 && important) {
96 CharSequence message = getContext().getResources().getText(resId);
104 public void setMessage(int resId, boolean important, Object... formatArgs) {
105 if (resId != 0 && important) {
106 String message = getContext().getString(resId, formatArgs);
  /frameworks/base/core/java/com/google/android/util/
SmileyParser.java 71 int resid = mRes.getSmileyRes(token.getRawText()); local
72 if (resid != -1) {
73 builder.setSpan(new ImageSpan(context, resid),
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
AppCompatCheckedTextView.java 62 public void setCheckMarkDrawable(@DrawableRes int resId) {
64 setCheckMarkDrawable(mTintManager.getDrawable(resId));
66 super.setCheckMarkDrawable(resId);
AppCompatTextView.java 55 public void setTextAppearance(Context context, int resId) {
56 super.setTextAppearance(context, resId);
58 mTextHelper.onSetTextAppearance(context, resId);
  /packages/apps/Settings/src/com/android/settings/fingerprint/
SetupFingerprintEnrollEnrolling.java 39 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) {
40 resid = SetupWizardUtils.getTheme(getIntent());
41 super.onApplyThemeResource(theme, resid, first);
SetupFingerprintEnrollFindSensor.java 41 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) {
42 resid = SetupWizardUtils.getTheme(getIntent());
43 super.onApplyThemeResource(theme, resid, first);
SetupFingerprintEnrollIntroduction.java 46 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) {
47 resid = SetupWizardUtils.getTheme(getIntent());
48 super.onApplyThemeResource(theme, resid, first);
SetupFingerprintEnrollOnboard.java 47 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) {
48 resid = SetupWizardUtils.getTheme(getIntent());
49 super.onApplyThemeResource(theme, resid, first);
  /cts/tests/tests/media/src/android/media/cts/
MediaExtractorTest.java 47 protected TestMediaDataSource getDataSourceFor(int resid) throws Exception {
48 AssetFileDescriptor afd = mResources.openRawResourceFd(resid);
52 protected TestMediaDataSource setDataSource(int resid) throws Exception {
53 TestMediaDataSource ds = getDataSourceFor(resid);
  /development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
CompatTabHoneycomb.java 44 public CompatTab setText(int resId) {
45 mTab.setText(resId);
50 public CompatTab setIcon(int resId) {
51 mTab.setIcon(resId);
  /frameworks/base/core/java/android/widget/
CalendarViewMaterialDelegate.java 42 public void setWeekDayTextAppearance(@StyleRes int resId) {
43 mDayPickerView.setDayOfWeekTextAppearance(resId);
53 public void setDateTextAppearance(@StyleRes int resId) {
54 mDayPickerView.setDayTextAppearance(resId);

Completed in 1390 milliseconds

12 3 4 5 6 7 8 91011>>