Home
last modified time | relevance | path

Searched refs:container (Results 1 – 25 of 70) sorted by relevance

123

/development/samples/devbytes/animation/LayoutTransChanging/src/com/example/android/layouttranschanging/
DLayoutTransChanging.java47 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/devbytes/graphics/BitmapScaling/src/com/example/android/bitmapscaling/
DBitmapScaling.java43 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/
DCardFlipActivity.java64 .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()
DScreenSlidePageFragment.java65 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
69 .inflate(R.layout.fragment_screen_slide_page, container, false); in onCreateView()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DLayoutAnimationsHideShow.java46 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()
DLayoutAnimations.java45 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()
DReversingAnimation.java47 LinearLayout container = (LinearLayout) findViewById(R.id.container); in onCreate() local
49 container.addView(animView); in onCreate()
DAnimationSeeking.java59 LinearLayout container = (LinearLayout) findViewById(R.id.container); in onCreate() local
61 container.addView(animView); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DNotificationDisplay.java50 RelativeLayout container = new RelativeLayout(this); in onCreate() local
61 container.addView(button, lp); in onCreate()
63 setContentView(container); in onCreate()
DFragmentHideShow.java73 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
75 View v = inflater.inflate(R.layout.labeled_text_edit, container, false); in onCreateView()
99 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
101 View v = inflater.inflate(R.layout.labeled_text_edit, container, false); in onCreateView()
DFragmentArgumentsFragment.java47 @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()
DFragmentDialogOrActivity.java73 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
75 View v = inflater.inflate(R.layout.hello_world, container, false); in onCreateView()
DFragmentStackFragment.java48 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
50 View v = inflater.inflate(R.layout.fragment_stack, container, false); in onCreateView()
DFragmentContextMenu.java51 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
53 View root = inflater.inflate(R.layout.fragment_context_menu, container, false); in onCreateView()
DFragmentMenuFragment.java48 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
50 View v = inflater.inflate(R.layout.fragment_menu, container, false); in onCreateView()
/development/ndk/platforms/android-3/include/linux/
Dtransport_class.h34 struct attribute_container container; member
37 …anon_transport_class cls = { .tclass = { .configure = cfg, }, . container = { .match = m…
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentHideShowSupport.java74 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
76 View v = inflater.inflate(R.layout.labeled_text_edit, container, false); in onCreateView()
100 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
102 View v = inflater.inflate(R.layout.labeled_text_edit, container, false); in onCreateView()
DFragmentDialogOrActivitySupport.java72 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
74 View v = inflater.inflate(R.layout.hello_world, container, false); in onCreateView()
DFragmentContextMenuSupport.java51 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
53 View root = inflater.inflate(R.layout.fragment_context_menu, container, false); in onCreateView()
DFragmentMenuFragmentSupport.java49 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
51 View v = inflater.inflate(R.layout.fragment_menu, container, false); in onCreateView()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DHover.java74 View container = findViewById(R.id.container); in onCreate() local
75 container.setOnHoverListener(new View.OnHoverListener() { in onCreate()
/development/samples/Support13Demos/src/com/example/android/supportv13/app/
DCountingFragment.java59 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
61 View v = inflater.inflate(R.layout.counting, container, false); in onCreateView()
/development/samples/training/basic/FragmentBasics/src/com/example/fragments/
DArticleFragment.java30 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
41 return inflater.inflate(R.layout.article_view, container, false); in onCreateView()
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
DMainActivity.java152 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
154 View rootView = inflater.inflate(R.layout.fragment_section_launchpad, container, false); in onCreateView()
195 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
197 View rootView = inflater.inflate(R.layout.fragment_section_dummy, container, false); in onCreateView()
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/ui/
DImageDetailFragment.java73 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
76 final View v = inflater.inflate(R.layout.image_detail_fragment, container, false); in onCreateView()

123