/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | SingleRecipientArrayAdapter.java | 33 public SingleRecipientArrayAdapter(Context context, int resourceId, RecipientEntry entry) { argument 34 super(context, resourceId, new RecipientEntry[] { 38 mLayoutId = resourceId;
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | InflateTest.java | 58 public void inflateTest(int resourceId) { argument 59 mView = mInflater.inflate(resourceId, null); 63 public void inflateCachedTest(int resourceId) { argument 65 mInflater.inflate(resourceId, null); 67 mInflater.inflate(resourceId, null);
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureLibraries.java | 47 public static GestureLibrary fromRawResource(Context context, int resourceId) { argument 48 return new ResourceGestureLibrary(context, resourceId); 112 public ResourceGestureLibrary(Context context, int resourceId) { argument 114 mResourceId = resourceId;
|
/frameworks/base/core/java/android/text/style/ |
H A D | ImageSpan.java | 113 public ImageSpan(Context context, int resourceId) { argument 114 this(context, resourceId, ALIGN_BOTTOM); 121 public ImageSpan(Context context, int resourceId, int verticalAlignment) { argument 124 mResourceId = resourceId;
|
/frameworks/base/core/java/android/view/ |
H A D | PointerIcon.java | 131 int resourceId = a.getResourceId(styleIndex, -1); 134 if (resourceId == -1) { 140 if ((resourceId & 0xff000000) == 0x01000000) { 141 icon.mSystemIconResourceId = resourceId; 143 icon.loadResource(context.getResources(), resourceId); 188 * @param resourceId The resource id. 195 public static PointerIcon loadCustomIcon(Resources resources, int resourceId) { argument 201 icon.loadResource(resources, resourceId); 376 private void loadResource(Resources resources, int resourceId) { argument 377 XmlResourceParser parser = resources.getXml(resourceId); [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
H A D | GraphReader.java | 41 public FilterGraph readGraphResource(Context context, int resourceId) throws GraphIOException { argument 42 InputStream inputStream = context.getResources().openRawResource(resourceId);
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | MultiWaveView.java | 222 a.peekValue(R.styleable.MultiWaveView_handleDrawable).resourceId); 225 a.peekValue(R.styleable.MultiWaveView_waveDrawable).resourceId); 231 ArrayList<TargetDrawable> chevrons = loadDrawableArray(outValue.resourceId); 242 internalSetTargetResources(outValue.resourceId); 250 final int resourceId = outValue.resourceId; 251 if (resourceId == 0) { 254 setTargetDescriptionsResourceId(resourceId); 259 final int resourceId = outValue.resourceId; 606 loadDrawableArray(int resourceId) argument 620 internalSetTargetResources(int resourceId) argument 646 setTargetResources(int resourceId) argument 664 setTargetDescriptionsResourceId(int resourceId) argument 685 setDirectionDescriptionsResourceId(int resourceId) argument 1170 loadDescriptions(int resourceId) argument 1187 setEnableTarget(int resourceId, boolean enabled) argument 1202 getTargetPosition(int resourceId) argument [all...] |
H A D | GlowPadView.java | 228 mHandleDrawable = new TargetDrawable(res, handle != null ? handle.resourceId : 0); 244 internalSetTargetResources(outValue.resourceId); 252 final int resourceId = outValue.resourceId; 253 if (resourceId == 0) { 256 setTargetDescriptionsResourceId(resourceId); 261 final int resourceId = outValue.resourceId; 262 if (resourceId == 0) { 265 setDirectionDescriptionsResourceId(resourceId); 571 loadDrawableArray(int resourceId) argument 585 internalSetTargetResources(int resourceId) argument 613 setTargetResources(int resourceId) argument 631 setTargetDescriptionsResourceId(int resourceId) argument 652 setDirectionDescriptionsResourceId(int resourceId) argument 1271 loadDescriptions(int resourceId) argument 1288 setEnableTarget(int resourceId, boolean enabled) argument 1303 getTargetPosition(int resourceId) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | TypedValue.java | 170 public int resourceId; field in class:TypedValue 472 resourceId = other.resourceId; 487 if (resourceId != 0) { 488 sb.append(" r=0x").append(Integer.toHexString(resourceId));
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/ |
H A D | GraphEnvironment.java | 128 * @param resourceId The ID of the graph resource to load. 131 public int loadGraph(Context context, int resourceId) { argument 135 graph = getGraphReader().readGraphResource(context, resourceId);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouterThemeHelper.java | 41 return context.getTheme().resolveAttribute(attr, value, true) ? value.resourceId : 0;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GraphReader.java | 528 * @param resourceId the XML resource ID. 532 public static FilterGraph readXmlGraphResource(MffContext context, int resourceId) argument 534 FilterGraph.Builder builder = getBuilderForXmlResource(context, resourceId); 545 * @param resourceId the XML resource ID. 550 MffContext context, int resourceId, FilterGraph parentGraph) 552 FilterGraph.Builder builder = getBuilderForXmlResource(context, resourceId); 565 private static FilterGraph.Builder getBuilderForXmlResource(MffContext context, int resourceId) argument 568 .openRawResource(resourceId); 549 readXmlSubGraphResource( MffContext context, int resourceId, FilterGraph parentGraph) argument
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | LaunchWarningWindow.java | 43 getWindow().setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, out.resourceId);
|
/frameworks/base/core/java/android/widget/ |
H A D | CalendarView.java | 594 * @param resourceId The vertical bar drawable resource id. 598 public void setSelectedDateVerticalBar(int resourceId) { argument 599 Drawable drawable = getResources().getDrawable(resourceId); 637 * @param resourceId The text appearance resource id. 641 public void setWeekDayTextAppearance(int resourceId) { argument 642 if (mWeekDayTextAppearanceResId != resourceId) { 643 mWeekDayTextAppearanceResId = resourceId; 662 * @param resourceId The text appearance resource id. 666 public void setDateTextAppearance(int resourceId) { argument 667 if (mDateTextAppearanceResId != resourceId) { [all...] |
H A D | ActivityChooserView.java | 318 * @param resourceId The content description resource id. 320 public void setExpandActivityOverflowButtonContentDescription(int resourceId) { argument 321 CharSequence contentDescription = mContext.getString(resourceId); 498 * @param resourceId The resource id. 500 public void setDefaultActionButtonContentDescription(int resourceId) { argument 501 mDefaultActionButtonContentDescription = resourceId;
|
H A D | ShareActionProvider.java | 171 Drawable drawable = mContext.getResources().getDrawable(outTypedValue.resourceId);
|
H A D | SuggestionsAdapter.java | 373 mUrlColor = mContext.getResources().getColorStateList(colorValue.resourceId); 522 int resourceId = Integer.parseInt(drawableId); 525 + "://" + mProviderContext.getPackageName() + "/" + resourceId; 532 drawable = mProviderContext.getResources().getDrawable(resourceId);
|
/frameworks/base/core/java/android/content/res/ |
H A D | TypedArray.java | 321 value, value.resourceId); 343 return mResources.loadColorStateList(value, value.resourceId); 602 return mResources.loadDrawable(value, value.resourceId); 629 return mResources.getTextArray(value.resourceId); 709 outValue.resourceId = data[index+AssetManager.STYLE_RESOURCE_ID];
|
/frameworks/ex/common/java/com/android/common/contacts/ |
H A D | BaseEmailAddressAdapter.java | 387 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 D | AlertDialog.java | 145 return outValue.resourceId; 308 * @param resId the resourceId of the drawable to use as the icon or 0 327 mAlert.setIcon(out.resourceId); 476 P.mIconId = out.resourceId;
|
H A D | Presentation.java | 301 theme = outValue.resourceId;
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | HeavyWeightSwitcherActivity.java | 91 out.resourceId);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ActivityChooserView.java | 290 * @param resourceId The content description resource id. 292 public void setExpandActivityOverflowButtonContentDescription(int resourceId) { argument 293 CharSequence contentDescription = getContext().getString(resourceId); 470 * @param resourceId The resource id. 472 public void setDefaultActionButtonContentDescription(int resourceId) { argument 473 mDefaultActionButtonContentDescription = resourceId;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ShareActionProvider.java | 187 Drawable drawable = mContext.getResources().getDrawable(outTypedValue.resourceId);
|
H A D | SuggestionsAdapter.java | 333 mUrlColor = mContext.getResources().getColorStateList(colorValue.resourceId); 482 int resourceId = Integer.parseInt(drawableId); 485 + "://" + mProviderContext.getPackageName() + "/" + resourceId; 492 drawable = mProviderContext.getResources().getDrawable(resourceId);
|