/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/ |
CharacterCardView.java | 58 int resourceId = card.getLocalImageResourceId(getContext()); 60 .decodeResource(getContext().getResources(), resourceId);
|
TextCardView.java | 46 int resourceId = card.getLocalImageResourceId(getContext()); 48 .decodeResource(getContext().getResources(), resourceId);
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/ |
ImageCardViewPresenter.java | 60 int resourceId = getContext().getResources() 63 Picasso.with(getContext()).load(resourceId).into(cardView.getMainImageView());
|
SideInfoCardPresenter.java | 57 int resourceId = getContext().getResources() 60 Picasso.with(getContext()).load(resourceId).resize(width, height).centerCrop()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
ActionImage.java | 36 public ActionImage(Path path, GalleryApp application, int resourceId) { 39 mResourceId = resourceId;
|
/packages/services/Car/car-cluster-demo-renderer/src/android/car/cluster/demorenderer/ |
DemoNavigationRenderer.java | 83 Integer resourceId = sTurns.get(key); 84 return mContext.getResources().getString(resourceId);
|
/cts/libs/deviceutil/src/android/cts/util/ |
MediaUtils.java | 360 Context context, int resourceId, int track, String mimePrefix) { 365 afd = context.getResources().openRawResourceFd(resourceId); 392 public static boolean hasCodecsForResource(Context context, int resourceId) { 393 return hasCodecsForResourceCombo(context, resourceId, ALL_AV_TRACKS, null /* mimePrefix */); 396 public static boolean checkCodecsForResource(Context context, int resourceId) { 397 return check(hasCodecsForResource(context, resourceId), "no decoder found"); 403 public static boolean hasCodecForResource(Context context, int resourceId, int track) { 404 return hasCodecsForResourceCombo(context, resourceId, track, null /* mimePrefix */); 407 public static boolean checkCodecForResource(Context context, int resourceId, int track) { 408 return check(hasCodecForResource(context, resourceId, track), "no decoder found") [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
TypedValueTest.java | 57 tv1.resourceId = 4; 66 assertEquals(4, tv2.resourceId); 119 tv.resourceId = 4; 155 tv.resourceId = 4;
|
/external/lzma/CPP/7zip/UI/GUI/ |
ExtractGUI.cpp | 41 static void AddValuePair(UString &s, UINT resourceID, UInt64 value, bool addColon = true)
44 s += LangString(resourceID);
53 static void AddSizePair(UString &s, UINT resourceID, UInt64 value)
56 s += LangString(resourceID);
|
/external/mesa3d/src/glx/ |
glx_error.h | 35 uint_fast32_t resourceID, uint_fast16_t minorCode,
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowDrawable.java | 67 public static Drawable createFromResourceId(int resourceId) { 69 shadowOf(bitmap).setLoadedFromResourceId(resourceId); 197 public void setLoadedFromResourceId(int resourceId) { 198 loadedFromResourceId = resourceId;
|
ShadowTypedValue.java | 196 typedValue.resourceId = other.resourceId; 212 if (typedValue.resourceId != 0) { 213 sb.append(" r=0x").append(Integer.toHexString(typedValue.resourceId));
|
/frameworks/base/libs/androidfw/tests/ |
TestHelpers.h | 31 ::testing::AssertionResult IsStringEqual(const ResTable& table, uint32_t resourceId, const char* expectedStr);
|
/frameworks/base/tools/aapt2/ |
SdkConstants.h | 48 size_t findAttributeSdkLevel(ResourceId id);
|
ResourceTable.cpp | 277 const ResourceId resId, 314 return addResourceImpl(name, ResourceId{}, config, StringPiece{}, std::move(fileRef), 323 return addResourceImpl(name, ResourceId{}, config, product, std::move(value), 328 const ResourceId id, 338 const ResourceId resId, 397 << ResourceId(package->id.value(), type->id.value(), entry->id.value())); 429 bool ResourceTable::setSymbolState(const ResourceNameRef& name, const ResourceId resId, 435 const ResourceId resId, 440 bool ResourceTable::setSymbolStateImpl(const ResourceNameRef& name, const ResourceId resId, 494 << ResourceId(package->id.value(), type->id.value(), entry->id.value())) [all...] |
/frameworks/base/tools/aapt2/test/ |
Context.h | 106 StaticSymbolSourceBuilder& addPublicSymbol(const StringPiece16& name, ResourceId id, 116 StaticSymbolSourceBuilder& addSymbol(const StringPiece16& name, ResourceId id, 143 std::unique_ptr<SymbolTable::Symbol> findById(ResourceId id) override { 153 std::map<ResourceId, SymbolTable::Symbol*> mIdMap;
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouterThemeHelper.java | 77 return context.getTheme().resolveAttribute(attr, value, true) ? value.resourceId : 0; 148 return outValue.resourceId; 171 if (value.resourceId != 0) { 172 return context.getResources().getColor(value.resourceId);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
ThemeUtils.java | 32 return outValue.resourceId;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
UriUtils.java | 47 public static String getAndroidResourceUri(Context context, int resourceId) { 48 return getAndroidResourceUri(context.getResources(), resourceId); 54 public static String getAndroidResourceUri(Resources resources, int resourceId) { 56 + SCHEME_DELIMITER + resources.getResourceName(resourceId)
|
/frameworks/base/tools/aapt2/process/ |
SymbolTable.cpp | 65 const SymbolTable::Symbol* SymbolTable::findById(ResourceId id) { 120 symbol->id = ResourceId(sr.package->id.value(), sr.type->id.value(), sr.entry->id.value()); 144 ResourceId id) { 199 symbol.symbol.id = ResourceId(mapEntry.name.ident); 213 ResourceId resId = table.identifierForName(name.entry.data(), name.entry.size(), 236 static Maybe<ResourceName> getResourceName(const android::ResTable& table, ResourceId id) { 274 std::unique_ptr<SymbolTable::Symbol> AssetManagerSymbolSource::findById(ResourceId id) {
|
/frameworks/base/core/java/android/view/ |
PointerIcon.java | 217 int resourceId = a.getResourceId(typeIndex, -1); 220 if (resourceId == -1) { 226 if ((resourceId & 0xff000000) == 0x01000000) { 227 icon.mSystemIconResourceId = resourceId; 229 icon.loadResource(context, context.getResources(), resourceId); 284 * @param resourceId The resource id. 291 public static PointerIcon load(@NonNull Resources resources, @XmlRes int resourceId) { 297 icon.loadResource(null, resources, resourceId); 399 private void loadResource(Context context, Resources resources, @XmlRes int resourceId) { 400 final XmlResourceParser parser = resources.getXml(resourceId); [all...] |
/cts/tests/tests/print/src/android/print/cts/ |
BasePrintTest.java | 401 UiObject destinationSpinner = mUiDevice.findObject(new UiSelector().resourceId( 445 button = uiDevice.findObject(new UiSelector().resourceId("android:id/button1")); 447 button = uiDevice.findObject(new UiSelector().resourceId("android:id/button2")); 455 UiObject orientationSpinner = mUiDevice.findObject(new UiSelector().resourceId( 468 UiObject orientationSpinner = mUiDevice.findObject(new UiSelector().resourceId( 479 UiObject mediaSizeSpinner = mUiDevice.findObject(new UiSelector().resourceId( 492 UiObject mediaSizeSpinner = mUiDevice.findObject(new UiSelector().resourceId( 503 UiObject colorSpinner = mUiDevice.findObject(new UiSelector().resourceId( 516 UiObject colorSpinner = mUiDevice.findObject(new UiSelector().resourceId( 527 UiObject duplexSpinner = mUiDevice.findObject(new UiSelector().resourceId( [all...] |
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
EncryptionAppTest.java | 105 .resourceId("com.android.settings:id/lock_pin")); 112 .resourceId("com.android.settings:id/encrypt_dont_require_password")); 120 .resourceId("com.android.settings:id/password_entry")); 146 .resourceId("com.android.settings:id/password_entry")); 159 .resourceId("com.android.settings:id/lock_none")); 166 .resourceId("android:id/button1"));
|
/frameworks/base/core/java/android/widget/ |
ViewAnimator.java | 308 * @param resourceID The resource id of the animation. 313 public void setInAnimation(Context context, @AnimRes int resourceID) { 314 setInAnimation(AnimationUtils.loadAnimation(context, resourceID)); 321 * @param resourceID The resource id of the animation. 326 public void setOutAnimation(Context context, @AnimRes int resourceID) { 327 setOutAnimation(AnimationUtils.loadAnimation(context, resourceID));
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
BridgeInflater.java | 279 Integer resourceId = null; 285 resourceId = Bridge.getResourceId(resValue.getResourceType(), 288 resourceId = mLayoutlibCallback.getResourceId(resValue.getResourceType(), 292 if (resourceId == null) { 293 resourceId = 0; 295 RecyclerViewUtil.setAdapter(view, bc, mLayoutlibCallback, resourceId);
|