Home
last modified time | relevance | path

Searched refs:resourceId (Results 1 – 24 of 24) sorted by relevance

/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
DPictureData.java22 int resourceId; field in PictureData
26 public PictureData(int resourceId, String description, Bitmap thumbnail) { in PictureData() argument
27 this.resourceId = resourceId; in PictureData()
DBitmapUtils.java62 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()
DActivityAnimations.java119 putExtra(PACKAGE + ".resourceId", info.resourceId).
/development/samples/browseable/FragmentTransition/src/com.example.android.fragmenttransition/
DMeat.java24 public int resourceId; field in Meat
27 public Meat(int resourceId, String title) { in Meat() argument
28 this.resourceId = resourceId; in Meat()
DMeatAdapter.java31 public MeatAdapter(LayoutInflater inflater, int resourceId) { in MeatAdapter() argument
33 mResourceId = resourceId; in MeatAdapter()
48 return Meat.MEATS[position].resourceId; in getItemId()
72 holder.image.setImageResource(meat.resourceId); in bindView()
DDetailFragment.java57 public static DetailFragment newInstance(int resourceId, String title, in newInstance() argument
61 args.putInt(ARG_RESOURCE_ID, resourceId); in newInstance()
DFragmentTransitionFragment.java67 DetailFragment.newInstance(meat.resourceId, meat.title, in onItemClick()
/development/samples/browseable/AdapterTransition/src/com.example.android.adaptertransition/
DMeat.java24 public int resourceId; field in Meat
27 public Meat(int resourceId, String title) { in Meat() argument
28 this.resourceId = resourceId; in Meat()
DMeatAdapter.java46 public MeatAdapter(LayoutInflater inflater, int resourceId) { in MeatAdapter() argument
48 mResourceId = resourceId; in MeatAdapter()
63 return Meat.MEATS[position].resourceId; in getItemId()
82 holder.image.setImageResource(meat.resourceId); in getView()
/development/samples/browseable/ActionBarCompat-ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/content/
DContentItem.java44 public ContentItem(int type, int resourceId) { in ContentItem() argument
46 contentResourceId = resourceId; in ContentItem()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DClockBackService.java248 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()
DCustomViewAccessibilityActivity.java223 final int textColor = context.getResources().getColor(typedValue.resourceId); in BaseToggleButton()
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/
DSimpleStringAdapter.java60 mBackground = val.resourceId; in SimpleStringAdapter()
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DDeviceControlActivity.java229 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/
DPlayerSetupActivity.java105 private Button setupButton(int resourceId) { in setupButton() argument
106 Button button = (Button) findViewById(resourceId); in setupButton()
/development/samples/browseable/FragmentTransition/src/com.example.android.common/view/
DSlidingTabLayout.java183 textView.setBackgroundResource(outValue.resourceId); in createDefaultTabView()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/
DSlidingTabLayout.java183 textView.setBackgroundResource(outValue.resourceId); in createDefaultTabView()
/development/samples/browseable/AdapterTransition/src/com.example.android.common/view/
DSlidingTabLayout.java183 textView.setBackgroundResource(outValue.resourceId); in createDefaultTabView()
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/
DSlidingTabLayout.java183 textView.setBackgroundResource(outValue.resourceId); in createDefaultTabView()
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
DSlidingTabLayout.java183 textView.setBackgroundResource(outValue.resourceId); in createDefaultTabView()
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/
DSlidingTabLayout.java183 textView.setBackgroundResource(outValue.resourceId); in createDefaultTabView()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/
DSlidingTabLayout.java183 textView.setBackgroundResource(outValue.resourceId); in createDefaultTabView()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/
DSlidingTabLayout.java183 textView.setBackgroundResource(outValue.resourceId); in createDefaultTabView()
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/
DAnimatedRecyclerView.java439 mBackground = val.resourceId; in MyAdapter()