HomeSort by relevance Sort by last modified time
    Searched refs:resourceId (Results 26 - 50 of 380) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/gesture/
GestureLibraries.java 48 public static GestureLibrary fromRawResource(Context context, @RawRes int resourceId) {
49 return new ResourceGestureLibrary(context, resourceId);
113 public ResourceGestureLibrary(Context context, int resourceId) {
115 mResourceId = resourceId;
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
TintTypedArray.java 69 final int resourceId = mWrapped.getResourceId(index, 0);
70 if (resourceId != 0) {
71 return AppCompatResources.getDrawable(mContext, resourceId);
79 final int resourceId = mWrapped.getResourceId(index, 0);
80 if (resourceId != 0) {
81 return AppCompatDrawableManager.get().getDrawable(mContext, resourceId, true);
133 final int resourceId = mWrapped.getResourceId(index, 0);
134 if (resourceId != 0) {
136 AppCompatResources.getColorStateList(mContext, resourceId);
AppCompatCompoundButtonHelper.java 59 final int resourceId = a.getResourceId(
61 if (resourceId != 0) {
63 AppCompatResources.getDrawable(mView.getContext(), 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)
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
PhotoLoadingTestCase.java 89 protected byte[] loadPhotoFromResource(int resourceId, PhotoSize size) {
90 PhotoEntry entry = photoResourceCache.get(resourceId);
93 InputStream is = resources.openRawResource(resourceId);
96 photoResourceCache.put(resourceId, entry);
PhotoStoreTest.java 125 * @param resourceId The resource ID of the photo file to test.
127 public void runStorageTestForResource(int resourceId, int expectedWidth,
129 byte[] photo = loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL);
137 byte[] expectedStoredVersion = loadPhotoFromResource(resourceId, PhotoSize.DISPLAY_PHOTO);
157 public void runStorageTestForResourceWithCrop(int resourceId, int expectedWidth,
159 byte[] photo = loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL);
203 for (int resourceId : resourceIds) {
205 new PhotoProcessor(loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL),
207 resourceIdToPhotoMap.put(resourceId, photoFileId);
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
Utils.java 88 * @param resourceId
90 public static void showToast(Context context, int resourceId) {
91 Toast.makeText(context, context.getString(resourceId), Toast.LENGTH_LONG).show();
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/
Utils.java 59 public static void showToast(Context context, int resourceId) {
60 Toast.makeText(context, context.getString(resourceId), Toast.LENGTH_LONG).show();
  /developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/
ContentItem.java 42 * @param resourceId - Resource ID to use for this item's content
44 public ContentItem(int type, int resourceId) {
46 contentResourceId = resourceId;
  /developers/samples/android/content/ShareActionProvider/Application/src/main/java/com/example/android/shareactionprovider/content/
ContentItem.java 42 * @param resourceId - Resource ID to use for this item's content
44 public ContentItem(int type, int resourceId) {
46 contentResourceId = resourceId;
  /development/samples/browseable/ActionBarCompat-ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/content/
ContentItem.java 42 * @param resourceId - Resource ID to use for this item's content
44 public ContentItem(int type, int resourceId) {
46 contentResourceId = resourceId;
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
RawResourceLoader.java 18 public InputStream getValue(int resourceId) {
19 String resourceFileName = resourceExtractor.getResourceName(resourceId);
  /frameworks/base/media/mca/filterfw/java/android/filterfw/io/
GraphReader.java 41 public FilterGraph readGraphResource(Context context, int resourceId) throws GraphIOException {
42 InputStream inputStream = context.getResources().openRawResource(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());
  /packages/apps/Launcher3/src/com/android/launcher3/graphics/
TintedDrawableSpan.java 33 public TintedDrawableSpan(Context context, int resourceId) {
35 mDrawable = context.getDrawable(resourceId);
  /platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/
SysAppTestHelper.java 57 .resourceId("com.google.android.wearable.app:id/snippet");
59 .resourceId("com.google.android.wearable.app:id/title");
61 .resourceId("com.google.android.wearable.app:id/clock_bar");
63 .resourceId("com.google.android.wearable.app:id/icon");
65 .resourceId("com.google.android.wearable.app:id/text");
67 .resourceId("com.google.android.wearable.app:id/status_bar_icons");
243 public UiObject2 waitForSysAppUiObject2(String resourceId) {
246 Until.findObject(By.res(launcherPackageName, resourceId)),
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/util/
TestAttributeSet.java 127 public boolean getAttributeBooleanValue(int resourceId, boolean defaultValue) {
134 Integer resourceId = defaultValue;
136 resourceId = resourceExtractor.getResourceId(value);
138 return resourceId == null ? defaultValue : resourceId;
142 public int getAttributeResourceValue(int resourceId, int defaultValue) {
143 String attrName = resourceExtractor.getResourceName(resourceId);
  /frameworks/base/core/java/android/widget/
CalendarView.java 292 * @param resourceId The vertical bar drawable resource id.
298 public void setSelectedDateVerticalBar(@DrawableRes int resourceId) {
299 mDelegate.setSelectedDateVerticalBar(resourceId);
331 * @param resourceId The text appearance resource id.
335 public void setWeekDayTextAppearance(@StyleRes int resourceId) {
336 mDelegate.setWeekDayTextAppearance(resourceId);
353 * @param resourceId The text appearance resource id.
357 public void setDateTextAppearance(@StyleRes int resourceId) {
358 mDelegate.setDateTextAppearance(resourceId);
583 void setSelectedDateVerticalBar(@DrawableRes int resourceId);
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
TypedValueTest.java 66 expectedValue.resourceId = 5;
76 assertThat(expectedValue.resourceId, equalTo(actualValue.resourceId));
  /frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/
RootsListBot.java 46 final UiSelector rootsList = new UiSelector().resourceId(
48 new UiSelector().resourceId(ROOTS_LIST_ID));
53 final UiSelector hamburger = new UiSelector().resourceId(
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/widget/multiwaveview/
GlowPadView.java 239 setHandleDrawable(handle != null ? handle.resourceId : R.drawable.ic_incall_audio_handle);
253 internalSetTargetResources(outValue.resourceId);
261 final int resourceId = outValue.resourceId;
262 if (resourceId == 0) {
265 setTargetDescriptionsResourceId(resourceId);
270 final int resourceId = outValue.resourceId;
271 if (resourceId == 0) {
274 setDirectionDescriptionsResourceId(resourceId);
    [all...]
  /external/droiddriver/manualtest/src/io/appium/droiddriver/manualtest/
ManualTest.java 37 Finder password_edit = By.resourceId("com.google.android.gsf.login:id/password_edit");
  /frameworks/base/core/java/android/text/style/
ImageSpan.java 114 public ImageSpan(Context context, @DrawableRes int resourceId) {
115 this(context, resourceId, ALIGN_BOTTOM);
122 public ImageSpan(Context context, @DrawableRes int resourceId, int verticalAlignment) {
125 mResourceId = resourceId;
  /frameworks/base/libs/androidfw/tests/
TestHelpers.h 31 ::testing::AssertionResult IsStringEqual(const ResTable& table, uint32_t resourceId, const char* expectedStr);

Completed in 653 milliseconds

12 3 4 5 6 7 8 91011>>