/developers/build/prebuilts/gradle/AdapterTransition/Application/src/main/java/com/example/android/adaptertransition/ |
Meat.java | 22 public class Meat { 27 public Meat(int resourceId, String title) { 32 public static final Meat[] MEATS = { 33 new Meat(R.drawable.p1, "First"), 34 new Meat(R.drawable.p2, "Second"), 35 new Meat(R.drawable.p3, "Third"), 36 new Meat(R.drawable.p4, "Fourth"), 37 new Meat(R.drawable.p5, "Fifth"), 38 new Meat(R.drawable.p6, "Sixth"), 39 new Meat(R.drawable.p7, "Seventh") [all...] |
MeatAdapter.java | 53 return Meat.MEATS.length; 57 public Meat getItem(int position) { 58 return Meat.MEATS[position]; 63 return Meat.MEATS[position].resourceId; 81 Meat meat = getItem(position); local 82 holder.image.setImageResource(meat.resourceId); 83 holder.title.setText(meat.title);
|
/developers/build/prebuilts/gradle/FragmentTransition/Application/src/main/java/com/example/android/fragmenttransition/ |
Meat.java | 22 public class Meat { 27 public Meat(int resourceId, String title) { 32 public static final Meat[] MEATS = { 33 new Meat(R.drawable.p1, "First"), 34 new Meat(R.drawable.p2, "Second"), 35 new Meat(R.drawable.p3, "Third"), 36 new Meat(R.drawable.p4, "Fourth"), 37 new Meat(R.drawable.p5, "Fifth"), 38 new Meat(R.drawable.p6, "Sixth"), 39 new Meat(R.drawable.p7, "Seventh") [all...] |
MeatAdapter.java | 38 return Meat.MEATS.length; 42 public Meat getItem(int position) { 43 return Meat.MEATS[position]; 48 return Meat.MEATS[position].resourceId; 71 Meat meat = getItem(position); local 72 holder.image.setImageResource(meat.resourceId); 73 holder.title.setText(meat.title);
|
FragmentTransitionFragment.java | 61 Meat meat = mAdapter.getItem(position); local 62 Log.i(TAG, meat.title + " clicked. Replacing fragment."); 67 DetailFragment.newInstance(meat.resourceId, meat.title,
|
/developers/samples/android/ui/transition/AdapterTransition/Application/src/main/java/com/example/android/adaptertransition/ |
Meat.java | 22 public class Meat { 27 public Meat(int resourceId, String title) { 32 public static final Meat[] MEATS = { 33 new Meat(R.drawable.p1, "First"), 34 new Meat(R.drawable.p2, "Second"), 35 new Meat(R.drawable.p3, "Third"), 36 new Meat(R.drawable.p4, "Fourth"), 37 new Meat(R.drawable.p5, "Fifth"), 38 new Meat(R.drawable.p6, "Sixth"), 39 new Meat(R.drawable.p7, "Seventh") [all...] |
MeatAdapter.java | 53 return Meat.MEATS.length; 57 public Meat getItem(int position) { 58 return Meat.MEATS[position]; 63 return Meat.MEATS[position].resourceId; 81 Meat meat = getItem(position); local 82 holder.image.setImageResource(meat.resourceId); 83 holder.title.setText(meat.title);
|
/developers/samples/android/ui/transition/FragmentTransition/Application/src/main/java/com/example/android/fragmenttransition/ |
Meat.java | 22 public class Meat { 27 public Meat(int resourceId, String title) { 32 public static final Meat[] MEATS = { 33 new Meat(R.drawable.p1, "First"), 34 new Meat(R.drawable.p2, "Second"), 35 new Meat(R.drawable.p3, "Third"), 36 new Meat(R.drawable.p4, "Fourth"), 37 new Meat(R.drawable.p5, "Fifth"), 38 new Meat(R.drawable.p6, "Sixth"), 39 new Meat(R.drawable.p7, "Seventh") [all...] |
MeatAdapter.java | 38 return Meat.MEATS.length; 42 public Meat getItem(int position) { 43 return Meat.MEATS[position]; 48 return Meat.MEATS[position].resourceId; 71 Meat meat = getItem(position); local 72 holder.image.setImageResource(meat.resourceId); 73 holder.title.setText(meat.title);
|
FragmentTransitionFragment.java | 61 Meat meat = mAdapter.getItem(position); local 62 Log.i(TAG, meat.title + " clicked. Replacing fragment."); 67 DetailFragment.newInstance(meat.resourceId, meat.title,
|
/development/samples/browseable/AdapterTransition/src/com.example.android.adaptertransition/ |
Meat.java | 22 public class Meat { 27 public Meat(int resourceId, String title) { 32 public static final Meat[] MEATS = { 33 new Meat(R.drawable.p1, "First"), 34 new Meat(R.drawable.p2, "Second"), 35 new Meat(R.drawable.p3, "Third"), 36 new Meat(R.drawable.p4, "Fourth"), 37 new Meat(R.drawable.p5, "Fifth"), 38 new Meat(R.drawable.p6, "Sixth"), 39 new Meat(R.drawable.p7, "Seventh") [all...] |
MeatAdapter.java | 53 return Meat.MEATS.length; 57 public Meat getItem(int position) { 58 return Meat.MEATS[position]; 63 return Meat.MEATS[position].resourceId; 81 Meat meat = getItem(position); local 82 holder.image.setImageResource(meat.resourceId); 83 holder.title.setText(meat.title);
|
/development/samples/browseable/FragmentTransition/src/com.example.android.fragmenttransition/ |
Meat.java | 22 public class Meat { 27 public Meat(int resourceId, String title) { 32 public static final Meat[] MEATS = { 33 new Meat(R.drawable.p1, "First"), 34 new Meat(R.drawable.p2, "Second"), 35 new Meat(R.drawable.p3, "Third"), 36 new Meat(R.drawable.p4, "Fourth"), 37 new Meat(R.drawable.p5, "Fifth"), 38 new Meat(R.drawable.p6, "Sixth"), 39 new Meat(R.drawable.p7, "Seventh") [all...] |
MeatAdapter.java | 38 return Meat.MEATS.length; 42 public Meat getItem(int position) { 43 return Meat.MEATS[position]; 48 return Meat.MEATS[position].resourceId; 71 Meat meat = getItem(position); local 72 holder.image.setImageResource(meat.resourceId); 73 holder.title.setText(meat.title);
|
FragmentTransitionFragment.java | 61 Meat meat = mAdapter.getItem(position); local 62 Log.i(TAG, meat.title + " clicked. Replacing fragment."); 67 DetailFragment.newInstance(meat.resourceId, meat.title,
|