/frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/ |
D | OverlayBaseTest.java | 17 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/ |
D | InputMethodSettingsActivity.java | 42 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()
|
D | InputMethodSettingsFragment.java | 43 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()
|
D | InputMethodSettingsInterface.java | 30 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
|
D | InputMethodSettingsImpl.java | 113 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/ |
D | ActionBarImplICS.java | 74 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 …]
|
D | ActionBar.java | 188 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
|
D | ActionBarImplBase.java | 192 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/ |
D | ActionBar.java | 191 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/ |
D | ResourceIdCache.cpp | 29 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/ |
D | QuickSettingsBasicTile.java | 71 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/ |
D | CarouselView.java | 112 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()
|
D | CarouselController.java | 154 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/ |
D | PropertyNodesVerifier.java | 46 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/ |
D | MenuItemCompat.java | 70 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/ |
D | PreferenceGroupAdapter.java | 92 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()
|
D | SwitchPreference.java | 149 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/ |
D | ActionBarImpl.java | 311 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/ |
D | TargetDrawable.java | 79 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/ |
D | AttributeCache.java | 97 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/ |
D | StandaloneActionMode.java | 65 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/ |
D | DateUtils.java | 344 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/ |
D | SecurityMessageDisplay.java | 22 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/ |
D | ActionModeWrapper.java | 95 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/ |
D | MenuItemCompatHoneycomb.java | 34 public static MenuItem setActionView(MenuItem item, int resId) { in setActionView() argument 35 return item.setActionView(resId); in setActionView()
|