/development/samples/devbytes/animation/LayoutTransChanging/src/com/example/android/layouttranschanging/ |
D | LayoutTransChanging.java | 47 final LinearLayout container = in onCreate() local 48 (LinearLayout) findViewById(R.id.container); in onCreate() 53 container.addView(new ColoredView(this)); in onCreate() 60 container.addView(new ColoredView(context), 1); in onCreate() 67 if (container.getChildCount() > 0) { in onCreate() 69 container.removeViewAt(Math.min(1, container.getChildCount() - 1)); in onCreate() 78 LayoutTransition transition = container.getLayoutTransition(); in onCreate()
|
/development/samples/browseable/CustomTransition/src/com.example.android.customtransition/ |
D | CustomTransitionFragment.java | 52 …public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument 53 return inflater.inflate(R.layout.fragment_custom_transition, container, false); in onCreateView() 59 FrameLayout container = (FrameLayout) view.findViewById(R.id.container); in onViewCreated() local 66 Scene.getSceneForLayout(container, R.layout.scene1, context), in onViewCreated() 67 Scene.getSceneForLayout(container, R.layout.scene2, context), in onViewCreated() 68 Scene.getSceneForLayout(container, R.layout.scene3, context), in onViewCreated()
|
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.slidingtabsbasic/ |
D | SlidingTabsBasicFragment.java | 56 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 58 return inflater.inflate(R.layout.fragment_sample, container, false); in onCreateView() 132 public Object instantiateItem(ViewGroup container, int position) { in instantiateItem() argument 135 container, false); in instantiateItem() 137 container.addView(view); in instantiateItem() 154 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() argument 155 container.removeView((View) object); in destroyItem()
|
/development/samples/devbytes/graphics/BitmapScaling/src/com/example/android/bitmapscaling/ |
D | BitmapScaling.java | 43 LinearLayout container = (LinearLayout) findViewById(R.id.scaledImageContainer); in onCreate() local 51 addScaledImageView(bitmap, i, container); in onCreate() 55 private void addScaledImageView(Bitmap original, int sampleSize, LinearLayout container) { in addScaledImageView() argument 73 container.addView(scaledImageView); in addScaledImageView()
|
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
D | CardFlipActivity.java | 64 .add(R.id.container, new CardFrontFragment()) in onCreate() 136 .replace(R.id.container, new CardBackFragment()) in flipCard() 172 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 174 return inflater.inflate(R.layout.fragment_card_front, container, false); in onCreateView() 186 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 188 return inflater.inflate(R.layout.fragment_card_back, container, false); in onCreateView()
|
/development/samples/IntentPlayground/src/com/example/android/intentplayground/ |
D | StepAdapter.java | 66 public Object instantiateItem(ViewGroup container, int position) { in instantiateItem() argument 69 .inflate(R.layout.showcase_skeleton, container, false /* attachToRoot */); in instantiateItem() 83 container.addView(skeletonLayout); in instantiateItem() 88 public void destroyItem(ViewGroup container, int position, Object view) { in destroyItem() argument 89 container.removeView((View) view); in destroyItem()
|
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/ |
D | MainActivity.java | 109 public void destroyItem(ViewGroup container, int position, Object object) { 111 container.removeView((View) object); 115 public Object instantiateItem(ViewGroup container, int position) { 129 .inflate(R.layout.item_text, container, false); 135 container.addView(tv); 141 .inflate(R.layout.item_image, container, false); 147 container.addView(iv);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | LayoutAnimationsHideShow.java | 46 ViewGroup container = null; field in LayoutAnimationsHideShow 57 container = new LinearLayout(this); in onCreate() 58 container.setLayoutParams(new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 66 container.addView(newButton); in onCreate() 77 parent.addView(container); in onCreate() 82 for (int i = 0; i < container.getChildCount(); ++i) { in onCreate() 83 View view = (View) container.getChildAt(i); in onCreate() 109 container.setLayoutTransition(mTransitioner); in resetTransition()
|
D | LayoutAnimations.java | 45 ViewGroup container = null; field in LayoutAnimations 59 container = new FixedGridLayout(this); in onCreate() 60 container.setClipChildren(false); in onCreate() 61 ((FixedGridLayout)container).setCellHeight(90); in onCreate() 62 ((FixedGridLayout)container).setCellWidth(100); in onCreate() 64 container.setLayoutTransition(transitioner); in onCreate() 79 parent.addView(container); in onCreate() 88 container.removeView(v); in onCreate() 91 container.addView(newButton, Math.min(1, container.getChildCount())); in onCreate()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | MusicPlayerActivity.java | 34 .add(R.id.container, BrowseFragment.newInstance(null)) in onCreate() 45 .replace(R.id.container, queueFragment) in onMediaItemSelected() 50 .replace(R.id.container, BrowseFragment.newInstance(item.getMediaId())) in onMediaItemSelected()
|
/development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/ |
D | CustomFragment.java | 28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 30 return inflater.inflate(R.layout.custom_fragment, container, false); in onCreateView()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | NotificationDisplay.java | 50 RelativeLayout container = new RelativeLayout(this); in onCreate() local 61 container.addView(button, lp); in onCreate() 63 setContentView(container); in onCreate()
|
D | FragmentHideShow.java | 79 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 81 View v = inflater.inflate(R.layout.labeled_text_edit, container, false); in onCreateView() 105 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 107 View v = inflater.inflate(R.layout.labeled_text_edit, container, false); in onCreateView()
|
D | FragmentArgumentsFragment.java | 47 @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 49 View v = inflater.inflate(R.layout.fragment_arguments_fragment, container, false); in onCreateView()
|
/development/samples/browseable/Flashlight/src/com.example.android.wearable.flashlight/ |
D | MainActivity.java | 99 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 101 return inflater.inflate(R.layout.white_light, container, false); in onCreateView() 110 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 112 mView = (PartyLightView) inflater.inflate(R.layout.party_light, container, false); in onCreateView()
|
/development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/ |
D | InstructionFragment.java | 40 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 42 return inflater.inflate(R.layout.fragment_instruction, container, false); in onCreateView()
|
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/fragments/ |
D | DiscoveryFragment.java | 35 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 37 return inflater.inflate(R.layout.discovery_fragment, container, false); in onCreateView()
|
D | AssetFragment.java | 39 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 41 View view = inflater.inflate(R.layout.asset_fragment, container, false); in onCreateView()
|
/development/samples/devbytes/animation/SlidingFragments/src/com/example/android/slidingfragments/ |
D | ImageFragment.java | 29 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 31 View view = inflater.inflate(R.layout.image_fragment, container, false); in onCreateView()
|
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
D | MainActivity.java | 73 .replace(R.id.container, SetupProfileFragment.newInstance()) in showSetupProfile() 79 .replace(R.id.container, new StatusFragment()) in showStatusProfile() 85 .replace(R.id.container, new AppRestrictionEnforcerFragment()) in showMainFragment()
|
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/ |
D | MainActivity.java | 45 .replace(R.id.container, SetupProfileFragment.newInstance()) in showSetupProfile() 51 .add(R.id.container, BasicManagedProfileFragment.newInstance()) in showMainFragment()
|
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/ |
D | AttractionsGridPagerAdapter.java | 100 public Object instantiateItem(ViewGroup container, int row, final int column) { in instantiateItem() argument 109 R.layout.gridpager_fullscreen_image, container, false); in instantiateItem() 137 container.addView(view); in instantiateItem() 142 R.layout.gridpager_card, container, false); in instantiateItem() 149 container.addView(cardScrollView); in instantiateItem() 154 R.layout.gridpager_action, container, false); in instantiateItem() 162 container.addView(navActionPage); in instantiateItem() 167 R.layout.gridpager_action, container, false); in instantiateItem() 175 container.addView(openActionPage); in instantiateItem()
|
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/ |
D | SwipeRefreshListFragment.java | 39 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 43 final View listFragmentView = super.onCreateView(inflater, container, savedInstanceState); in onCreateView() 46 mSwipeRefreshLayout = new ListFragmentSwipeRefreshLayout(container.getContext()); in onCreateView()
|
/development/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/fragments/ |
D | SettingsFragment.java | 35 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 37 View view = inflater.inflate(R.layout.setting_layout, container, false); in onCreateView()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | Hover.java | 74 View container = findViewById(R.id.container); in onCreate() local 75 container.setOnHoverListener(new View.OnHoverListener() { in onCreate()
|