Home
last modified time | relevance | path

Searched refs:imageId (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/WearDrawers/src/com.example.android.wearable.wear.weardrawers/
DMainActivity.java71 int imageId = getResources().getIdentifier(mSolarSystem.get(mSelectedPlanet).getImage(), in onCreate() local
75 args.putInt(PlanetFragment.ARG_PLANET_IMAGE_ID, imageId); in onCreate()
237 public void updatePlanet(int imageId) { in updatePlanet() argument
238 mImageView.setImageResource(imageId); in updatePlanet()
/development/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/
DNavigationDrawerActivity.java236 int imageId = getResources().getIdentifier(planet.toLowerCase(Locale.getDefault()), in onCreateView() local
239 iv.setImageResource(imageId); in onCreateView()
/development/samples/training/NavigationDrawer/src/com/example/android/navigationdrawerexample/
DMainActivity.java233 int imageId = getResources().getIdentifier(planet.toLowerCase(Locale.getDefault()), in onCreateView() local
235 ((ImageView) rootView.findViewById(R.id.image)).setImageResource(imageId); in onCreateView()