/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
D | PictureData.java | 22 int resourceId; field in PictureData 26 public PictureData(int resourceId, String description, Bitmap thumbnail) { in PictureData() argument 27 this.resourceId = resourceId; in PictureData()
|
D | BitmapUtils.java | 62 int resourceId = mPhotos[(int) (Math.random() * mPhotos.length)]; in loadPhotos() local 63 Bitmap bitmap = getBitmap(resources, resourceId); in loadPhotos() 66 pictures.add(new PictureData(resourceId, description, thumbnail)); in loadPhotos() 75 static Bitmap getBitmap(Resources resources, int resourceId) { in getBitmap() argument 76 Bitmap bitmap = sBitmapResourceMap.get(resourceId); in getBitmap() 78 bitmap = BitmapFactory.decodeResource(resources, resourceId); in getBitmap() 79 sBitmapResourceMap.put(resourceId, bitmap); in getBitmap()
|
D | ActivityAnimations.java | 119 putExtra(PACKAGE + ".resourceId", info.resourceId).
|
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/ |
D | ContentItem.java | 44 public ContentItem(int type, int resourceId) { in ContentItem() argument 46 contentResourceId = resourceId; in ContentItem()
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
D | ClockBackService.java | 248 int resourceId = message.arg1; 249 playEarcon(resourceId); 380 int resourceId = (feedbackIndex == INDEX_SCREEN_ON) ? R.string.template_screen_on in generateScreenOnOrOffUtternace() local 382 String template = mContext.getString(resourceId); in generateScreenOnOrOffUtternace() 565 Integer resourceId = sSoundsResourceIds.get(earconId); in playEarcon() local 566 if (resourceId != null) { in playEarcon() 568 mTts.addEarcon(earconName, getPackageName(), resourceId); in playEarcon()
|
D | CustomViewAccessibilityActivity.java | 223 final int textColor = context.getResources().getColor(typedValue.resourceId); in BaseToggleButton()
|
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/ |
D | GeofenceTransitionsIntentService.java | 116 private void showToast(final Context context, final int resourceId) { in showToast() argument 121 Toast.makeText(context, context.getString(resourceId), Toast.LENGTH_SHORT).show(); in showToast()
|
/development/samples/browseable/DragAndDropAcrossApps/DragSource/src/com.example.android/dragsource/ |
D | DragSourceFragment.java | 217 private void copyImageResourceToFile(int resourceId, File filePath) { in copyImageResourceToFile() argument 218 Bitmap image = BitmapFactory.decodeResource(getResources(), resourceId); in copyImageResourceToFile()
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
D | DeviceControlActivity.java | 229 private void updateConnectionState(final int resourceId) { in updateConnectionState() argument 233 mConnectionState.setText(resourceId); in updateConnectionState()
|
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/ |
D | PlayerSetupActivity.java | 105 private Button setupButton(int resourceId) { in setupButton() argument 106 Button button = (Button) findViewById(resourceId); in setupButton()
|
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/ |
D | SlidingTabLayout.java | 183 textView.setBackgroundResource(outValue.resourceId); in createDefaultTabView()
|
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/ |
D | SlidingTabLayout.java | 183 textView.setBackgroundResource(outValue.resourceId); in createDefaultTabView()
|
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/ |
D | SlidingTabLayout.java | 183 textView.setBackgroundResource(outValue.resourceId); in createDefaultTabView()
|
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/ |
D | SlidingTabLayout.java | 183 textView.setBackgroundResource(outValue.resourceId); in createDefaultTabView()
|
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/ |
D | SlidingTabLayout.java | 183 textView.setBackgroundResource(outValue.resourceId); in createDefaultTabView()
|
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/ |
D | SlidingTabLayout.java | 183 textView.setBackgroundResource(outValue.resourceId); in createDefaultTabView()
|