/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBitmapFactory.java | 96 public static void provideWidthAndHeightHints(int resourceId, int width, int height) { 97 widthAndHeightMap.put("resource:" + getResourceName(resourceId), new Point(width, height));
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
Shared.java | 123 public static final String getQuantityString(Context context, int resourceId, int quantity) { 124 return context.getResources().getQuantityString(resourceId, quantity, quantity);
|
IconUtils.java | 69 return applyTintColor(context, drawableId, outValue.resourceId);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
RestrictedSwitchPreference.java | 63 if (restrictedSwitchSummary.resourceId != 0) { 64 data = context.getString(restrictedSwitchSummary.resourceId);
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
UiBot.java | 109 UiObject uiObject = mDevice.findObject(new UiSelector().resourceId(id)); 179 .findObject(new UiSelector().resourceId("android:id/button_once"));
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
BitmapUtil.java | 96 * @param resourceId The resource ID of the drawable to rotate. 101 android.content.res.Resources resources, int resourceId, float angle) { 104 Bitmap original = BitmapFactory.decodeResource(resources, resourceId);
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
AllAppsBackgroundDrawable.java | 44 public TransformedImageDrawable(Resources res, int resourceId, float xPct, float yPct, 46 mImage = res.getDrawable(resourceId);
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
AudioPlayer.java | 92 public AudioPlayer(Context context, int resourceId, AudioAttributes attrib) { 94 mResourceId = resourceId;
|
/developers/samples/android/ui/transition/FragmentTransition/Application/src/main/java/com/example/android/fragmenttransition/ |
FragmentTransitionFragment.java | 67 DetailFragment.newInstance(meat.resourceId, meat.title,
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
BitmapRequestBuilder.java | 358 public BitmapRequestBuilder<ModelType, TranscodeType> placeholder(int resourceId) { 359 super.placeholder(resourceId); 376 public BitmapRequestBuilder<ModelType, TranscodeType> error(int resourceId) { 377 super.error(resourceId);
|
/frameworks/base/services/core/java/com/android/server/am/ |
LaunchWarningWindow.java | 43 getWindow().setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, out.resourceId);
|
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
SimpleStringRecyclerViewAdapter.java | 64 mBackground = val.resourceId;
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
RotationPreferenceTest.java | 73 new UiSelector().resourceId(mTargetPackage + ":id/hotseat"));
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
CustomHeaderViewPager.java | 51 mDefaultTabStripSize = context.getResources().getDimensionPixelSize(tv.resourceId);
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
DashboardDecorator.java | 37 mDivider = mContext.getDrawable(value.resourceId);
|
/frameworks/base/core/java/android/appwidget/ |
AppWidgetProviderInfo.java | 364 private Drawable loadDrawable(Context context, int density, int resourceId, 369 if (resourceId > 0) { 373 return resources.getDrawableForDensity(resourceId, density);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
EmojiAltPhysicalKeyDetector.java | 186 @Nonnull final Resources resources, final int resourceId) { 188 final String name = resources.getResourceEntryName(resourceId); 189 final String[] values = resources.getStringArray(resourceId);
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
ScopedDirectoryAccessClientTest.java | 369 dialog = mDevice.findObject(new UiSelector().resourceId(id)); 372 new UiSelector().resourceId("com.android.documentsui:id/message")); 373 yesButton = dialog.getChild(new UiSelector().resourceId("android:id/button1")); 374 noButton = dialog.getChild(new UiSelector().resourceId("android:id/button2")); 379 new UiSelector().resourceId("com.android.documentsui:id/do_not_ask_checkbox"));
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageManagerTest.java | 447 int resourceId = R.xml.pm_test; 450 assertNotNull(mPackageManager.getXml(PACKAGE_NAME, resourceId, appInfo)); 452 .getResourceName(resourceId)); 454 resourceId)); 456 .getResourceName(resourceId));
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
BasePermissionsTest.java | 214 getUiDevice().findObject(new UiSelector().resourceId( 220 getUiDevice().findObject(new UiSelector().resourceId( 225 getUiDevice().findObject(new UiSelector().resourceId( 231 getUiDevice().findObject(new UiSelector().resourceId( 341 final int resourceId = mPlatformResources.getIdentifier(labelResName, null, null); 342 return mPlatformResources.getString(resourceId);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
DictionaryInfoUtils.java | 382 int resourceId = getMainDictionaryResourceIdIfAvailableForLocale(res, locale); 383 if (0 != resourceId) { 384 return resourceId; 548 final int resourceId = 551 if (0 == resourceId) { 555 BinaryDictionaryGetter.loadFallbackResource(context, resourceId);
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/ |
RichTvInputService.java | 458 public final int resourceId; 462 TvContentRating[] contentRatings, String videoUrl, int videoType, int resourceId) { 470 this.resourceId = resourceId;
|
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
ActivityAnimations.java | 108 // resourceId of the source bitmap, the picture description, and the 119 putExtra(PACKAGE + ".resourceId", info.resourceId).
|
/frameworks/base/core/java/android/content/res/ |
ResourcesImpl.java | 622 if (verifyPreloadConfig(changingConfigs, 0, value.resourceId, "drawable")) { 627 changingConfigs, LAYOUT_DIR_CONFIG, value.resourceId, "drawable")) { 647 @Config int allowVarying, @AnyRes int resourceId, @Nullable String name) { 656 resName = getResourceName(resourceId); 663 + Integer.toHexString(resourceId) 670 resName = getResourceName(resourceId); 675 + Integer.toHexString(resourceId) 764 0, value.resourceId, "color")) { [all...] |
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
RvBoxAdapter.java | 55 mBackground = val.resourceId;
|