/external/replicaisland/src/com/replica/replicaisland/ |
TextureLibrary.java | 69 * @param resourceID 72 public Texture allocateTexture(int resourceID) { 73 Texture texture = getTextureByResource(resourceID); 75 texture = addTexture(resourceID, -1, 0, 0); 82 public Texture loadTexture(Context context, GL10 gl, int resourceID) { 83 Texture texture = allocateTexture(resourceID); 210 public boolean isTextureLoaded(int resourceID) { 211 return getTextureByResource(resourceID) != null; 216 * @param resourceID The resource ID of a bitmap defined in R.java. 220 public Texture getTextureByResource(int resourceID) { [all...] |
/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/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/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
BackgroundHelper.java | 102 final int resourceId = (Integer) imageToken; 103 if (DEBUG) Log.v(TAG, "load resourceId " + resourceId); 104 Drawable drawable = ContextCompat.getDrawable(activity, 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);
|
/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();
|
/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);
|
/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/llvm/lib/Target/AMDGPU/ |
AMDGPUOpenCLImageTypeLoweringPass.cpp | 149 bool replaceImageUses(Argument &ImageArg, uint32_t ResourceID, 167 Replacement = ConstantInt::get(Int32Type, ResourceID); 184 bool replaceSamplerUses(Argument &SamplerArg, uint32_t ResourceID) { 200 Replacement = ConstantInt::get(Int32Type, ResourceID); 227 uint32_t ResourceID; 229 ResourceID = NumReadOnlyImageArgs++; 231 ResourceID = NumWriteOnlyImageArgs++; 238 Modified |= replaceImageUses(Arg, ResourceID, SizeArg, FormatArg); 242 uint32_t ResourceID = NumSamplerArgs++; 243 Modified |= replaceSamplerUses(Arg, ResourceID); [all...] |
/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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/ |
ResourceLoader.java | 425 public boolean isDrawableXml( int resourceId ) { 427 return drawableResourceLoader.isXml( resourceId ); 430 public boolean isAnimatableXml( int resourceId ) { 432 return drawableResourceLoader.isAnimationDrawable( resourceId ); 435 public int[] getDrawableIds( int resourceId ) { 437 return drawableResourceLoader.getDrawableIds( resourceId ); 440 public Drawable getXmlDrawable( int resourceId ) { 441 return drawableResourceLoader.getXmlDrawable( resourceId ); 444 public Drawable getAnimDrawable( int resourceId ) { 445 return getInnerRClassDrawable( resourceId, "$anim", AnimationDrawable.class ) [all...] |
PluralResourceLoader.java | 24 public String getValue(int resourceId, int quantity) { 25 String name = resourceExtractor.getResourceName(resourceId);
|
ResourceExtractor.java | 86 public String getResourceName(int resourceId) { 87 return resourceIdToString.get(resourceId);
|
/external/droiddriver/src/io/appium/droiddriver/finders/ |
By.java | 51 public static MatchFinder resourceId(int resourceId) { 53 return resourceId(targetContext.getResources().getResourceName(resourceId)); 60 public static MatchFinder resourceId(String resourceId) { 61 return new MatchFinder(Predicates.attributeEquals(Attribute.RESOURCE_ID, resourceId));
|
/frameworks/support/compat/java/android/support/v4/view/ |
PointerIconCompat.java | 115 Object load(Resources resources, int resourceId); 130 public Object load(Resources resources, int resourceId) { 147 public Object load(Resources resources, int resourceId) { 148 return PointerIconCompatApi24.load(resources, resourceId); 206 * @param resourceId The resource id. 213 public static PointerIconCompat load(Resources resources, int resourceId) { 214 return new PointerIconCompat(IMPL.load(resources, resourceId));
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
CompactPhotoEditorView.java | 88 final int resourceId = getResources().getIdentifier( 90 mStatusBarHeight = resourceId > 0 ? getResources().getDimensionPixelSize(resourceId) : 0; 93 private float getTypedFloat(int resourceId) { 95 getResources().getValue(resourceId, typedValue, /* resolveRefs =*/ true);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
cfgmgr32.h | 61 typedef ULONG RESOURCEID; 62 typedef RESOURCEID *PRESOURCEID; 754 CMAPI CONFIGRET WINAPI CM_Add_Res_Des(PRES_DES prdResDes,LOG_CONF lcLogConf,RESOURCEID ResourceID,PCVOID ResourceData,ULONG ResourceLen,ULONG ulFlags); 755 CMAPI CONFIGRET WINAPI CM_Add_Res_Des_Ex(PRES_DES prdResDes,LOG_CONF lcLogConf,RESOURCEID ResourceID,PCVOID ResourceData,ULONG ResourceLen,ULONG ulFlags,HMACHINE hMachine); 774 CMAPI CONFIGRET WINAPI CM_Detect_Resource_Conflict(DEVINST dnDevInst,RESOURCEID ResourceID,PCVOID ResourceData,ULONG ResourceLen,PBOOL pbConflictDetected,ULONG ulFlags); 775 CMAPI CONFIGRET WINAPI CM_Detect_Resource_Conflict_Ex(DEVINST dnDevInst,RESOURCEID ResourceID,PCVOID ResourceData,ULONG ResourceLen,PBOOL pbConflictDetected,ULONG ulFlags,HMACHINE hMachine) [all...] |
/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/ui/actionbarcompat/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;
|
/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;
|
/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(
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatCompoundButtonHelper.java | 59 final int resourceId = a.getResourceId( 61 if (resourceId != 0) { 63 AppCompatResources.getDrawable(mView.getContext(), resourceId));
|
/frameworks/base/tools/aapt2/ |
ResourceTable.h | 203 const ResourceId resId, 234 const ResourceId id, 241 const ResourceId resId, 246 const ResourceId resId, 297 ResourceId resId, 306 ResourceId resId,
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowRemoteViews.java | 82 public void setImageViewResource(int viewId, final int resourceId) { 86 ((ImageView) view).setImageResource(resourceId);
|
/frameworks/base/tools/aapt2/link/ |
PrivateAttributeMover_test.cpp | 33 .setSymbolState(u"@android:attr/publicA", ResourceId(0x01010000), SymbolState::kPublic) 34 .setSymbolState(u"@android:attr/publicB", ResourceId(0x01010000), SymbolState::kPublic)
|