/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
MenuLoader.java | 101 public void inflateMenu(Context context, int resourceId, Menu root) { 102 inflateMenu(context, resourceExtractor.getResourceName(resourceId),
|
PreferenceLoader.java | 68 public PreferenceScreen inflatePreferences(Context context, int resourceId) { 69 return inflatePreferences(context, resourceExtractor.getResourceName(resourceId));
|
/frameworks/base/core/java/android/widget/ |
CalendarViewLegacyDelegate.java | 440 public void setSelectedDateVerticalBar(int resourceId) { 441 Drawable drawable = mDelegator.getContext().getDrawable(resourceId); 465 public void setWeekDayTextAppearance(int resourceId) { 466 if (mWeekDayTextAppearanceResId != resourceId) { 467 mWeekDayTextAppearanceResId = resourceId; 478 public void setDateTextAppearance(int resourceId) { 479 if (mDateTextAppearanceResId != resourceId) { 480 mDateTextAppearanceResId = resourceId; [all...] |
ActivityChooserView.java | 335 * @param resourceId The content description resource id. 337 public void setExpandActivityOverflowButtonContentDescription(int resourceId) { 338 CharSequence contentDescription = mContext.getString(resourceId); 515 * @param resourceId The resource id. 517 public void setDefaultActionButtonContentDescription(int resourceId) { 518 mDefaultActionButtonContentDescription = resourceId;
|
SuggestionsAdapter.java | 380 mUrlColor = mContext.getResources().getColorStateList(colorValue.resourceId); 529 int resourceId = Integer.parseInt(drawableId); 532 + "://" + mProviderContext.getPackageName() + "/" + resourceId; 539 drawable = mProviderContext.getDrawable(resourceId);
|
/frameworks/base/core/java/com/android/internal/widget/ |
AbsActionBarView.java | 74 && tv.resourceId != 0) { 75 mPopupContext = new ContextThemeWrapper(context, tv.resourceId);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
StreamingTextView.java | 98 private Bitmap getScaledBitmap(int resourceId, float scaled) { 99 Bitmap bitmap = BitmapFactory.decodeResource(getResources(), resourceId);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
AbsActionBarView.java | 69 && tv.resourceId != 0) { 70 mPopupContext = new ContextThemeWrapper(context, tv.resourceId);
|
ActivityChooserView.java | 313 * @param resourceId The content description resource id. 315 public void setExpandActivityOverflowButtonContentDescription(int resourceId) { 316 CharSequence contentDescription = getContext().getString(resourceId); 493 * @param resourceId The resource id. 495 public void setDefaultActionButtonContentDescription(int resourceId) { 496 mDefaultActionButtonContentDescription = resourceId;
|
/frameworks/base/core/java/android/content/res/ |
TypedArray.java | 396 value, value.resourceId); 427 return mResources.loadColorStateList(value, value.resourceId); 749 return mResources.loadDrawable(value, value.resourceId, mTheme); 771 return mResources.getTextArray(value.resourceId); [all...] |
Resources.java | [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
ColorFade.java | 192 private String readFile(Context context, int resourceId) { 194 InputStream stream = context.getResources().openRawResource(resourceId); 198 Slog.e(TAG, "Unrecognized shader " + Integer.toString(resourceId)); 203 private int loadShader(Context context, int resourceId, int type) { 204 String source = readFile(context, resourceId);
|
/frameworks/ex/common/java/com/android/common/contacts/ |
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);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactDirectoryManager.java | 141 int resourceId = cursor.getInt(0); 142 if (resourceId != 0) { 145 String resourceName = getResourceNameById(packageName, resourceId); 162 private String getResourceNameById(String packageName, int resourceId) { 165 return resources.getResourceName(resourceId);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
BrowseInfo.java | 430 private String getStringFromTypedArray(TypedArray sa, int resourceId) { 432 TypedValue tv = sa.peekValue(resourceId); 434 if (tv.resourceId != 0) { 435 value = mContext.getString(tv.resourceId); 566 int resourceId = AccessoryUtils.getImageIdForDevice(device); 568 device.getName(), resourceId); 576 .description(desc).imageResourceId(mContext, resourceId)
|
/frameworks/base/core/java/android/app/ |
AlertDialog.java | 156 return outValue.resourceId; 327 * @param resId the resourceId of the drawable to use as the icon or 0 346 mAlert.setIcon(out.resourceId); 501 P.mIconId = out.resourceId; [all...] |
DatePickerDialog.java | 89 return outValue.resourceId;
|
Presentation.java | 301 theme = outValue.resourceId;
|
TimePickerDialog.java | 84 return outValue.resourceId;
|
/frameworks/base/core/java/com/android/internal/app/ |
HeavyWeightSwitcherActivity.java | 90 out.resourceId);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
SuggestionsAdapter.java | 339 mUrlColor = mContext.getResources().getColorStateList(colorValue.resourceId); 488 int resourceId = Integer.parseInt(drawableId); 491 + "://" + mProviderContext.getPackageName() + "/" + resourceId; 498 drawable = ContextCompat.getDrawable(mProviderContext, resourceId);
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
MainFragment.java | 220 protected void setDefaultBackground(int resourceId) { 221 mDefaultBackground = getResources().getDrawable(resourceId);
|
/developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
DeviceControlActivity.java | 229 private void updateConnectionState(final int resourceId) { 233 mConnectionState.setText(resourceId);
|
/developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
DeviceControlActivity.java | 229 private void updateConnectionState(final int resourceId) { 233 mConnectionState.setText(resourceId);
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
DeviceControlActivity.java | 229 private void updateConnectionState(final int resourceId) { 233 mConnectionState.setText(resourceId);
|