/frameworks/base/core/java/android/view/ |
D | PointerIcon.java | 131 int resourceId = a.getResourceId(styleIndex, -1); in getSystemIcon() local 134 if (resourceId == -1) { in getSystemIcon() 140 if ((resourceId & 0xff000000) == 0x01000000) { in getSystemIcon() 141 icon.mSystemIconResourceId = resourceId; in getSystemIcon() 143 icon.loadResource(context.getResources(), resourceId); in getSystemIcon() local 195 public static PointerIcon loadCustomIcon(Resources resources, int resourceId) { in loadCustomIcon() argument 201 icon.loadResource(resources, resourceId); in loadCustomIcon() 376 private void loadResource(Resources resources, int resourceId) { in loadResource() argument 377 XmlResourceParser parser = resources.getXml(resourceId); in loadResource()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | InflateTest.java | 58 public void inflateTest(int resourceId) { in inflateTest() argument 59 mView = mInflater.inflate(resourceId, null); in inflateTest() 63 public void inflateCachedTest(int resourceId) { in inflateCachedTest() argument 65 mInflater.inflate(resourceId, null); in inflateCachedTest() 67 mInflater.inflate(resourceId, null); in inflateCachedTest()
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
D | MultiWaveView.java | 188 internalSetTargetResources(outValue.resourceId); in MultiWaveView() 196 final int resourceId = outValue.resourceId; in MultiWaveView() local 197 if (resourceId == 0) { in MultiWaveView() 200 setTargetDescriptionsResourceId(resourceId); in MultiWaveView() 205 final int resourceId = outValue.resourceId; in MultiWaveView() local 206 if (resourceId == 0) { in MultiWaveView() 209 setDirectionDescriptionsResourceId(resourceId); in MultiWaveView() 516 private void internalSetTargetResources(int resourceId) { in internalSetTargetResources() argument 518 TypedArray array = res.obtainTypedArray(resourceId); in internalSetTargetResources() 526 mTargetResourceId = resourceId; in internalSetTargetResources() [all …]
|
/frameworks/base/core/java/android/gesture/ |
D | GestureLibraries.java | 47 public static GestureLibrary fromRawResource(Context context, int resourceId) { in fromRawResource() argument 48 return new ResourceGestureLibrary(context, resourceId); in fromRawResource() 112 public ResourceGestureLibrary(Context context, int resourceId) { in ResourceGestureLibrary() argument 114 mResourceId = resourceId; in ResourceGestureLibrary()
|
/frameworks/base/core/java/android/util/ |
D | TypedValue.java | 170 public int resourceId; field in TypedValue 472 resourceId = other.resourceId; in setTo() 487 if (resourceId != 0) { in toString() 488 sb.append(" r=0x").append(Integer.toHexString(resourceId)); in toString()
|
/frameworks/base/core/java/android/text/style/ |
D | ImageSpan.java | 113 public ImageSpan(Context context, int resourceId) { in ImageSpan() argument 114 this(context, resourceId, ALIGN_BOTTOM); in ImageSpan() 121 public ImageSpan(Context context, int resourceId, int verticalAlignment) { in ImageSpan() argument 124 mResourceId = resourceId; in ImageSpan()
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
D | SingleRecipientArrayAdapter.java | 33 public SingleRecipientArrayAdapter(Context context, int resourceId, RecipientEntry entry) { in SingleRecipientArrayAdapter() argument 34 super(context, resourceId, new RecipientEntry[] { in SingleRecipientArrayAdapter() 38 mLayoutId = resourceId; in SingleRecipientArrayAdapter()
|
D | BaseRecipientAdapter.java | 545 final int resourceId = directoryCursor.getInt(DirectoryListQuery.TYPE_RESOURCE_ID); in setupOtherDirectories() local 550 if (packageName != null && resourceId != 0) { in setupOtherDirectories() 554 params.directoryType = resources.getString(resourceId); in setupOtherDirectories() 557 + resourceId + "@" + packageName); in setupOtherDirectories() 561 + resourceId + "@" + packageName, e); in setupOtherDirectories()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeech.java | 628 public int addSpeech(String text, String packagename, int resourceId) { in addSpeech() argument 630 mUtterances.put(text, makeResourceUri(packagename, resourceId)); in addSpeech() 683 public int addEarcon(String earcon, String packagename, int resourceId) { in addEarcon() argument 685 mEarcons.put(earcon, makeResourceUri(packagename, resourceId)); in addEarcon() 712 private Uri makeResourceUri(String packageName, int resourceId) { in makeResourceUri() argument 716 .appendEncodedPath(String.valueOf(resourceId)) in makeResourceUri()
|
/frameworks/base/core/java/android/content/res/ |
D | TypedArray.java | 320 value, value.resourceId); in getColor() 342 return mResources.loadColorStateList(value, value.resourceId); in getColorStateList() 601 return mResources.loadDrawable(value, value.resourceId); in getDrawable() 628 return mResources.getTextArray(value.resourceId); in getTextArray() 708 outValue.resourceId = data[index+AssetManager.STYLE_RESOURCE_ID]; in getValueAt()
|
D | Resources.java | 1202 value.resourceId = data[d+AssetManager.STYLE_RESOURCE_ID]; in obtainStyledAttributes() 1299 value.resourceId = data[d+AssetManager.STYLE_RESOURCE_ID]; in obtainStyledAttributes()
|
/frameworks/ex/common/java/com/android/common/contacts/ |
D | BaseEmailAddressAdapter.java | 387 int resourceId = directoryCursor.getInt(DirectoryListQuery.TYPE_RESOURCE_ID); in onDirectoryLoadFinished() local 388 if (packageName != null && resourceId != 0) { in onDirectoryLoadFinished() 392 partition.directoryType = resources.getString(resourceId); in onDirectoryLoadFinished() 395 + resourceId + "@" + packageName); in onDirectoryLoadFinished() 399 + resourceId + "@" + packageName, e); in onDirectoryLoadFinished()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceActivity.java | 778 if (tv.resourceId != 0) { in loadHeadersFromResource() 779 header.titleRes = tv.resourceId; in loadHeadersFromResource() 787 if (tv.resourceId != 0) { in loadHeadersFromResource() 788 header.summaryRes = tv.resourceId; in loadHeadersFromResource() 796 if (tv.resourceId != 0) { in loadHeadersFromResource() 797 header.breadCrumbTitleRes = tv.resourceId; in loadHeadersFromResource() 805 if (tv.resourceId != 0) { in loadHeadersFromResource() 806 header.breadCrumbShortTitleRes = tv.resourceId; in loadHeadersFromResource()
|
/frameworks/base/core/java/android/widget/ |
D | ActivityChooserView.java | 288 public void setExpandActivityOverflowButtonContentDescription(int resourceId) { in setExpandActivityOverflowButtonContentDescription() argument 289 CharSequence contentDescription = mContext.getString(resourceId); in setExpandActivityOverflowButtonContentDescription() 467 public void setDefaultActionButtonContentDescription(int resourceId) { in setDefaultActionButtonContentDescription() argument 468 mDefaultActionButtonContentDescription = resourceId; in setDefaultActionButtonContentDescription()
|
D | SuggestionsAdapter.java | 373 mUrlColor = mContext.getResources().getColorStateList(colorValue.resourceId); in formatUrl() 522 int resourceId = Integer.parseInt(drawableId); in getDrawableFromResourceValue() local 525 + "://" + mProviderContext.getPackageName() + "/" + resourceId; in getDrawableFromResourceValue() 532 drawable = mProviderContext.getResources().getDrawable(resourceId); in getDrawableFromResourceValue()
|
D | ShareActionProvider.java | 170 Drawable drawable = mContext.getResources().getDrawable(outTypedValue.resourceId); in onCreateActionView()
|
/frameworks/base/services/java/com/android/server/am/ |
D | LaunchWarningWindow.java | 43 getWindow().setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, out.resourceId); in LaunchWarningWindow()
|
/frameworks/base/core/java/android/app/ |
D | AlertDialog.java | 144 return outValue.resourceId; in resolveDialogTheme() 326 mAlert.setIcon(out.resourceId); in setIconAttribute() 475 P.mIconId = out.resourceId; in setIconAttribute()
|
D | Dialog.java | 151 theme = outValue.resourceId; in Dialog()
|
D | SearchDialog.java | 116 return outValue.resourceId; in resolveDialogTheme()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ShutdownThread.java | 103 final int resourceId = longPressBehavior == 2 in shutdown() local 113 .setMessage(resourceId) in shutdown()
|
D | HeavyWeightSwitcherActivity.java | 91 out.resourceId); in onCreate()
|
/frameworks/base/core/java/android/net/http/ |
D | Request.java | 522 void error(int errorId, int resourceId) { in error() argument 526 resourceId).toString()); in error()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 265 outValue.resourceId = getDynamicIdByStyle((StyleResourceValue)value); in resolveThemeAttribute() 283 outValue.resourceId = a; in resolveThemeAttribute()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 1597 if (v != null && (ai.labelRes=v.resourceId) == 0) { in parseApplication() 1883 if (v != null && (outInfo.labelRes=v.resourceId) == 0) { in parsePackageItemInfo() 2689 if (v != null && v.resourceId != 0) { in parseMetaData() 2691 data.putInt(name, v.resourceId); in parseMetaData() 2804 if (v != null && (outInfo.labelRes=v.resourceId) == 0) { in parseIntent() 3102 if (v != null && (outInfo.labelRes=v.resourceId) == 0) { in Component()
|