Home
last modified time | relevance | path

Searched refs:resId (Results 1 – 25 of 99) sorted by relevance

1234

/frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/
DOverlayBaseTest.java17 private int calculateRawResourceChecksum(int resId) throws Throwable { in calculateRawResourceChecksum() argument
20 input = mResources.openRawResource(resId); in calculateRawResourceChecksum()
39 private void assertResource(int resId, boolean ewo, boolean ew) throws Throwable { in assertResource() argument
41 boolean actual = mResources.getBoolean(resId); in assertResource()
45 private void assertResource(int resId, String ewo, String ew) throws Throwable { in assertResource() argument
47 String actual = mResources.getString(resId); in assertResource()
51 private void assertResource(int resId, int[] ewo, int[] ew) throws Throwable { in assertResource() argument
53 int[] actual = mResources.getIntArray(resId); in assertResource()
62 final int resId = com.android.internal.R.bool.config_automatic_brightness_available; in testBooleanOverlay() local
63 assertResource(resId, false, true); in testBooleanOverlay()
[all …]
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
DInputMethodSettingsActivity.java42 public void setInputMethodSettingsCategoryTitle(int resId) { in setInputMethodSettingsCategoryTitle() argument
43 mSettings.setInputMethodSettingsCategoryTitle(resId); in setInputMethodSettingsCategoryTitle()
58 public void setSubtypeEnablerTitle(int resId) { in setSubtypeEnablerTitle() argument
59 mSettings.setSubtypeEnablerTitle(resId); in setSubtypeEnablerTitle()
74 public void setSubtypeEnablerIcon(int resId) { in setSubtypeEnablerIcon() argument
75 mSettings.setSubtypeEnablerIcon(resId); in setSubtypeEnablerIcon()
DInputMethodSettingsFragment.java43 public void setInputMethodSettingsCategoryTitle(int resId) { in setInputMethodSettingsCategoryTitle() argument
44 mSettings.setInputMethodSettingsCategoryTitle(resId); in setInputMethodSettingsCategoryTitle()
59 public void setSubtypeEnablerTitle(int resId) { in setSubtypeEnablerTitle() argument
60 mSettings.setSubtypeEnablerTitle(resId); in setSubtypeEnablerTitle()
75 public void setSubtypeEnablerIcon(int resId) { in setSubtypeEnablerIcon() argument
76 mSettings.setSubtypeEnablerIcon(resId); in setSubtypeEnablerIcon()
DInputMethodSettingsInterface.java30 public void setInputMethodSettingsCategoryTitle(int resId); in setInputMethodSettingsCategoryTitle() argument
43 public void setSubtypeEnablerTitle(int resId); in setSubtypeEnablerTitle() argument
56 public void setSubtypeEnablerIcon(int resId); in setSubtypeEnablerIcon() argument
DInputMethodSettingsImpl.java113 public void setInputMethodSettingsCategoryTitle(int resId) { in setInputMethodSettingsCategoryTitle() argument
114 mInputMethodSettingsCategoryTitleRes = resId; in setInputMethodSettingsCategoryTitle()
132 public void setSubtypeEnablerTitle(int resId) { in setSubtypeEnablerTitle() argument
133 mSubtypeEnablerTitleRes = resId; in setSubtypeEnablerTitle()
151 public void setSubtypeEnablerIcon(int resId) { in setSubtypeEnablerIcon() argument
152 mSubtypeEnablerIconRes = resId; in setSubtypeEnablerIcon()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarImplICS.java74 public void setCustomView(int resId) { in setCustomView() argument
75 mActionBar.setCustomView(resId); in setCustomView()
79 public void setIcon(int resId) { in setIcon() argument
80 mActionBar.setIcon(resId); in setIcon()
89 public void setLogo(int resId) { in setLogo() argument
90 mActionBar.setLogo(resId); in setLogo()
125 public void setTitle(int resId) { in setTitle() argument
126 mActionBar.setTitle(resId); in setTitle()
135 public void setSubtitle(int resId) { in setSubtitle() argument
136 mActionBar.setSubtitle(resId); in setSubtitle()
[all …]
DActionBar.java188 public abstract void setCustomView(int resId); in setCustomView() argument
201 public abstract void setIcon(int resId); in setIcon() argument
227 public abstract void setLogo(int resId); in setLogo() argument
298 public abstract void setTitle(int resId); in setTitle() argument
318 public abstract void setSubtitle(int resId); in setSubtitle() argument
745 public abstract Tab setIcon(int resId); in setIcon() argument
763 public abstract Tab setText(int resId); in setText() argument
826 public abstract Tab setContentDescription(int resId); in setContentDescription() argument
DActionBarImplBase.java192 public void setCustomView(int resId) { in setCustomView() argument
194 .inflate(resId, mActionView, false)); in setCustomView()
198 public void setIcon(int resId) { in setIcon() argument
199 mActionView.setIcon(resId); in setIcon()
208 public void setLogo(int resId) { in setLogo() argument
209 mActionView.setLogo(resId); in setLogo()
269 public void setTitle(int resId) { in setTitle() argument
270 setTitle(mContext.getString(resId)); in setTitle()
279 public void setSubtitle(int resId) { in setSubtitle() argument
280 setSubtitle(mContext.getString(resId)); in setSubtitle()
[all …]
/frameworks/base/core/java/android/app/
DActionBar.java191 public abstract void setCustomView(int resId); in setCustomView() argument
206 public abstract void setIcon(int resId); in setIcon() argument
236 public abstract void setLogo(int resId); in setLogo() argument
312 public abstract void setTitle(int resId); in setTitle() argument
335 public abstract void setSubtitle(int resId); in setSubtitle() argument
736 public void setHomeAsUpIndicator(int resId) { } in setHomeAsUpIndicator() argument
775 public void setHomeActionContentDescription(int resId) { } in setHomeActionContentDescription() argument
856 public abstract Tab setIcon(int resId); in setIcon() argument
874 public abstract Tab setText(int resId); in setText() argument
937 public abstract Tab setContentDescription(int resId); in setContentDescription() argument
/frameworks/base/tools/aapt/
DResourceIdCache.cpp29 CacheEntry(const android::String16& name, uint32_t resId) : hashedName(name), id(resId) { } in CacheEntry()
90 uint32_t resId) { in store() argument
94 mIdMap[hashcode] = CacheEntry(hashedName, resId); in store()
96 return resId; in store()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DQuickSettingsBasicTile.java71 public void setImageResource(int resId) { in setImageResource() argument
72 mImageView.setImageResource(resId); in setImageResource()
79 public void setTextResource(int resId) { in setTextResource() argument
80 mTextView.setText(resId); in setTextResource()
/frameworks/ex/carousel/java/com/android/ex/carousel/
DCarouselView.java112 public Info(int _resId) { resId = _resId; } in Info()
113 public int resId; // resource for renderscript resource (e.g. R.raw.carousel) field in CarouselView.Info
163 getRenderScriptInfo().resId); in ensureRenderScript()
202 public Mesh loadGeometry(int resId) { in loadGeometry() argument
203 return mController.loadGeometry(resId); in loadGeometry()
448 public void setDefaultGeometry(int resId) { in setDefaultGeometry() argument
449 mController.setDefaultGeometry(resId); in setDefaultGeometry()
472 public void setLoadingGeometry(int resId) { in setLoadingGeometry() argument
473 mController.setLoadingGeometry(resId); in setLoadingGeometry()
DCarouselController.java154 public Mesh loadGeometry(int resId) { in loadGeometry() argument
156 return mRenderScript.loadGeometry(resId); in loadGeometry()
179 public void setGeometryForItem(int n, int resId) { in setGeometryForItem() argument
181 Mesh mesh = mRenderScript.loadGeometry(resId); in setGeometryForItem()
531 public void setDefaultGeometry(int resId) { in setDefaultGeometry() argument
532 mDefaultGeometry = resId; in setDefaultGeometry()
534 Mesh mesh = mRenderScript.loadGeometry(resId); in setDefaultGeometry()
562 public void setLoadingGeometry(int resId) { in setLoadingGeometry() argument
563 mLoadingGeometry = resId; in setLoadingGeometry()
565 Mesh mesh = mRenderScript.loadGeometry(resId); in setLoadingGeometry()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DPropertyNodesVerifier.java46 public void verify(int resId, int vcardType) throws IOException, VCardException { in verify() argument
47 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), vcardType); in verify()
50 public void verify(int resId, int vcardType, final VCardParser parser) in verify() argument
52 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), in verify()
/frameworks/support/v4/java/android/support/v4/view/
DMenuItemCompat.java70 MenuItem setActionView(MenuItem item, int resId); in setActionView() argument
122 public MenuItem setActionView(MenuItem item, int resId) { in setActionView() argument
167 public MenuItem setActionView(MenuItem item, int resId) { in setActionView() argument
168 return MenuItemCompatHoneycomb.setActionView(item, resId); in setActionView()
303 public static MenuItem setActionView(MenuItem item, int resId) {
305 return ((SupportMenuItem) item).setActionView(resId);
307 return IMPL.setActionView(item, resId);
/frameworks/base/core/java/android/preference/
DPreferenceGroupAdapter.java92 private int resId; field in PreferenceGroupAdapter.PreferenceLayout
99 if (resId == other.resId) { in compareTo()
106 return resId - other.resId; in compareTo()
179 pl.resId = preference.getLayoutResource(); in createPreferenceLayout()
DSwitchPreference.java149 public void setSwitchTextOn(int resId) { in setSwitchTextOn() argument
150 setSwitchTextOn(getContext().getString(resId)); in setSwitchTextOn()
159 public void setSwitchTextOff(int resId) { in setSwitchTextOff() argument
160 setSwitchTextOff(getContext().getString(resId)); in setSwitchTextOff()
/frameworks/base/core/java/com/android/internal/app/
DActionBarImpl.java311 public void setCustomView(int resId) { in setCustomView() argument
312 setCustomView(LayoutInflater.from(getThemedContext()).inflate(resId, mActionView, false)); in setCustomView()
346 public void setTitle(int resId) { in setTitle() argument
347 setTitle(mContext.getString(resId)); in setTitle()
351 public void setSubtitle(int resId) { in setSubtitle() argument
352 setSubtitle(mContext.getString(resId)); in setSubtitle()
821 public void setHomeAsUpIndicator(int resId) { in setHomeAsUpIndicator() argument
822 mActionView.setHomeAsUpIndicator(resId); in setHomeAsUpIndicator()
831 public void setHomeActionContentDescription(int resId) { in setHomeActionContentDescription() argument
832 mActionView.setHomeActionContentDescription(resId); in setHomeActionContentDescription()
[all …]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DTargetDrawable.java79 public TargetDrawable(Resources res, int resId) { in TargetDrawable() argument
80 mResourceId = resId; in TargetDrawable()
81 setDrawable(res, resId); in TargetDrawable()
84 public void setDrawable(Resources res, int resId) { in setDrawable() argument
87 Drawable drawable = resId == 0 ? null : res.getDrawable(resId); in setDrawable()
/frameworks/base/services/java/com/android/server/
DAttributeCache.java97 public Entry get(String packageName, int resId, int[] styleable) { in get() argument
103 map = pkg.mMap.get(resId); in get()
126 pkg.mMap.put(resId, map); in get()
131 pkg.context.obtainStyledAttributes(resId, styleable)); in get()
/frameworks/base/core/java/com/android/internal/view/
DStandaloneActionMode.java65 public void setTitle(int resId) { in setTitle() argument
66 setTitle(mContext.getString(resId)); in setTitle()
70 public void setSubtitle(int resId) { in setSubtitle() argument
71 setSubtitle(mContext.getString(resId)); in setSubtitle()
/frameworks/base/core/java/android/text/format/
DDateUtils.java344 int resId; in getRelativeTimeSpanString() local
350 resId = com.android.internal.R.plurals.abbrev_num_seconds_ago; in getRelativeTimeSpanString()
352 resId = com.android.internal.R.plurals.num_seconds_ago; in getRelativeTimeSpanString()
356 resId = com.android.internal.R.plurals.abbrev_in_num_seconds; in getRelativeTimeSpanString()
358 resId = com.android.internal.R.plurals.in_num_seconds; in getRelativeTimeSpanString()
365 resId = com.android.internal.R.plurals.abbrev_num_minutes_ago; in getRelativeTimeSpanString()
367 resId = com.android.internal.R.plurals.num_minutes_ago; in getRelativeTimeSpanString()
371 resId = com.android.internal.R.plurals.abbrev_in_num_minutes; in getRelativeTimeSpanString()
373 resId = com.android.internal.R.plurals.in_num_minutes; in getRelativeTimeSpanString()
380 resId = com.android.internal.R.plurals.abbrev_num_hours_ago; in getRelativeTimeSpanString()
[all …]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DSecurityMessageDisplay.java22 public void setMessage(int resId, boolean important); in setMessage() argument
24 public void setMessage(int resId, boolean important, Object... formatArgs); in setMessage() argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
DActionModeWrapper.java95 public void setTitle(int resId) { in setTitle() argument
96 mWrappedObject.setTitle(resId); in setTitle()
105 public void setSubtitle(int resId) { in setSubtitle() argument
106 mWrappedObject.setSubtitle(resId); in setSubtitle()
/frameworks/support/v4/honeycomb/android/support/v4/view/
DMenuItemCompatHoneycomb.java34 public static MenuItem setActionView(MenuItem item, int resId) { in setActionView() argument
35 return item.setActionView(resId); in setActionView()

1234