Home
last modified time | relevance | path

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

1234567891011

/frameworks/base/core/java/android/view/
DGravity.java138 public static void apply(int gravity, int w, int h, Rect container, Rect outRect) { in apply() argument
139 apply(gravity, w, h, container, 0, 0, outRect); in apply()
159 public static void apply(int gravity, int w, int h, Rect container, in apply() argument
162 apply(absGravity, w, h, container, 0, 0, outRect); in apply()
186 public static void apply(int gravity, int w, int h, Rect container, in apply() argument
190 outRect.left = container.left in apply()
191 + ((container.right - container.left - w)/2) + xAdj; in apply()
195 if (outRect.left < container.left) { in apply()
196 outRect.left = container.left; in apply()
198 if (outRect.right > container.right) { in apply()
[all …]
/frameworks/support/v4/java/android/support/v4/view/
DPagerAdapter.java94 public void startUpdate(ViewGroup container) { in startUpdate() argument
95 startUpdate((View) container); in startUpdate()
109 public Object instantiateItem(ViewGroup container, int position) { in instantiateItem() argument
110 return instantiateItem((View) container, position); in instantiateItem()
123 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() argument
124 destroyItem((View) container, position, object); in destroyItem()
136 public void setPrimaryItem(ViewGroup container, int position, Object object) { in setPrimaryItem() argument
137 setPrimaryItem((View) container, position, object); in setPrimaryItem()
147 public void finishUpdate(ViewGroup container) { in finishUpdate() argument
148 finishUpdate((View) container); in finishUpdate()
[all …]
DGravityCompat.java30 void apply(int gravity, int w, int h, Rect container, Rect outRect, int layoutDirection); in apply() argument
31 void apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, in apply() argument
44 public void apply(int gravity, int w, int h, Rect container, Rect outRect, in apply() argument
46 Gravity.apply(gravity, w, h, container, outRect); in apply()
50 public void apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, in apply() argument
52 Gravity.apply(gravity, w, h, container, xAdj, yAdj, outRect); in apply()
69 public void apply(int gravity, int w, int h, Rect container, Rect outRect, in apply() argument
71 GravityCompatJellybeanMr1.apply(gravity, w, h, container, outRect, layoutDirection); in apply()
75 public void apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, in apply() argument
77 GravityCompatJellybeanMr1.apply(gravity, w, h, container, xAdj, yAdj, outRect, in apply()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewLayerInvalidationActivity.java36 LinearLayout container = null; field in ViewLayerInvalidationActivity
52 container = (LinearLayout) findViewById(R.id.container); in onCreate()
64 collectLinearLayouts(container); in onCreate()
65 collectTextViews(container); in onCreate()
75 container.postDelayed(textColorSetter, TEXT_COLOR_INTERVAL); in onCreate()
76 container.postDelayed(nestedLayerSetter, NESTING_INTERVAL); in onCreate()
77 container.postDelayed(randomInvalidatesSetter, INVALIDATING_INTERVAL); in onCreate()
88 randomInvalidator(container);
90 container.postDelayed(textColorSetter, TEXT_COLOR_INTERVAL);
99 container.postDelayed(randomInvalidatesSetter, INVALIDATING_INTERVAL);
[all …]
DViewLayersActivity5.java90 ((ClipFrameLayout) findViewById(R.id.container)).setClipEnabled(true); in enableClip()
94 ((ClipFrameLayout) findViewById(R.id.container)).setClipEnabled(false); in disableClip()
98 findViewById(R.id.container).setLayerType(View.LAYER_TYPE_HARDWARE, mPaint); in enableLayer()
102 findViewById(R.id.container).setLayerType(View.LAYER_TYPE_NONE, null); in disableLayer()
106 findViewById(R.id.container).getLayoutParams().height = ViewGroup.LayoutParams.MATCH_PARENT; in growLayer()
107 findViewById(R.id.container).requestLayout(); in growLayer()
111 findViewById(R.id.container).getLayoutParams().height = 300; in shrinkLayer()
112 findViewById(R.id.container).requestLayout(); in shrinkLayer()
DProjectionActivity.java59 container.setTranslationX(100f); in setProject()
60 container.setTranslationX(0.0f); in setProject()
75 static View container; field in ProjectionActivity
81 container = findViewById(R.id.container); in onCreate()
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DScaleDrawableTests.java47 GridLayout container = new GridLayout(this); in onCreate() local
48 scrollView.addView(container); in onCreate()
49 container.setColumnCount(3); in onCreate()
50 container.setBackgroundColor(0xFF888888); in onCreate()
59 container.addView(t); in onCreate()
67 container.addView(png_view); in onCreate()
73 container.addView(view); in onCreate()
DBitmapDrawableDupe.java58 GridLayout container = new GridLayout(this); in onCreate() local
59 scrollView.addView(container); in onCreate()
60 container.setColumnCount(5); in onCreate()
61 container.setBackgroundColor(0xFF888888); in onCreate()
69 container.addView(button); in onCreate()
76 container.addView(t); in onCreate()
DVectorCheckbox.java54 GridLayout container = new GridLayout(this); in onCreate() local
55 container.setColumnCount(5); in onCreate()
56 container.setBackgroundColor(0xFF888888); in onCreate()
64 container.addView(checkBox); in onCreate()
66 setContentView(container); in onCreate()
DVectorDrawable01.java53 GridLayout container = new GridLayout(this); in onCreate() local
54 container.setColumnCount(5); in onCreate()
55 container.setBackgroundColor(0xFF888888); in onCreate()
63 container.addView(button); in onCreate()
68 setContentView(container); in onCreate()
DVectorDrawablePerformance.java99 GridLayout container = new GridLayout(this); in onCreate() local
100 scrollView.addView(container); in onCreate()
101 container.setColumnCount(5); in onCreate()
103 container.setBackgroundColor(0xFF888888); in onCreate()
113 container.addView(t); in onCreate()
119 container.addView(button); in onCreate()
125 container.addView(t); in onCreate()
DAnimatedVectorDrawableDupPerf.java93 GridLayout container = new GridLayout(this); in onCreate() local
94 scrollView.addView(container); in onCreate()
95 container.setColumnCount(5); in onCreate()
97 container.setBackgroundColor(0xFF888888); in onCreate()
107 container.addView(t); in onCreate()
113 container.addView(button); in onCreate()
119 container.addView(t); in onCreate()
DAnimatedStateVectorDrawableTest.java47 GridLayout container = new GridLayout(this); in onCreate() local
48 scrollView.addView(container); in onCreate()
49 container.setColumnCount(2); in onCreate()
56 container.addView(button); in onCreate()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DDelayedTransition.java41 final LinearLayout container = (LinearLayout) findViewById(R.id.container); in onCreate() local
46 int containerWidth = container.getWidth(); in onCreate()
48 TransitionManager.beginDelayedTransition(container, null); in onCreate()
51 TransitionManager.beginDelayedTransition(container, null); in onCreate()
55 TransitionManager.beginDelayedTransition(container, null); in onCreate()
58 TransitionManager.beginDelayedTransition(container, null); in onCreate()
DUniqueIds.java43 LinearLayout container = (LinearLayout) findViewById(R.id.container); in onCreate() local
46 container.addView(button); in onCreate()
47 ToggleScene scene = new ToggleScene(container, button); in onCreate()
50 container.addView(button); in onCreate()
51 scene = new ToggleScene(container, button); in onCreate()
DScenesTestv21.java42 View container = (View) findViewById(R.id.container); in onCreate() local
43 mSceneRoot = (ViewGroup) container.getParent(); in onCreate()
54 transitionToResults.addTransition(new Recolor().addTarget(R.id.container)); in onCreate()
60 transitionToSearch.addTransition(new Recolor().addTarget(R.id.container)); in onCreate()
DDemo4.java41 View container = (View) findViewById(R.id.container); in onCreate() local
42 mSceneRoot = (ViewGroup) container.getParent(); in onCreate()
54 addTransition(new Recolor().addTarget(R.id.container)); in onCreate()
59 addTransition(new Recolor().addTarget(R.id.container)); in onCreate()
/frameworks/volley/src/com/android/volley/toolbox/
DImageLoader.java197 ImageContainer container = new ImageContainer(cachedBitmap, requestUrl, null, null);
198 imageListener.onResponse(container, true);
199 return container;
382 public BatchedImageRequest(Request<?> request, ImageContainer container) {
384 mContainers.add(container);
405 public void addContainer(ImageContainer container) {
406 mContainers.add(container);
415 public boolean removeContainerAndCancelIfNecessary(ImageContainer container) {
416 mContainers.remove(container);
440 for (ImageContainer container : bir.mContainers) {
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DFragmentPagerAdapter.java79 public void startUpdate(ViewGroup container) { in startUpdate() argument
83 public Object instantiateItem(ViewGroup container, int position) { in instantiateItem() argument
91 String name = makeFragmentName(container.getId(), itemId); in instantiateItem()
99 mCurTransaction.add(container.getId(), fragment, in instantiateItem()
100 makeFragmentName(container.getId(), itemId)); in instantiateItem()
111 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() argument
121 public void setPrimaryItem(ViewGroup container, int position, Object object) { in setPrimaryItem() argument
137 public void finishUpdate(ViewGroup container) { in finishUpdate() argument
DNoSaveStateFrameLayout.java52 protected void dispatchSaveInstanceState(SparseArray<Parcelable> container) { in dispatchSaveInstanceState() argument
53 dispatchFreezeSelfOnly(container); in dispatchSaveInstanceState()
60 protected void dispatchRestoreInstanceState(SparseArray<Parcelable> container) { in dispatchRestoreInstanceState() argument
61 dispatchThawSelfOnly(container); in dispatchRestoreInstanceState()
/frameworks/support/v13/java/android/support/v13/app/
DFragmentPagerAdapter.java83 public void startUpdate(ViewGroup container) { in startUpdate() argument
87 public Object instantiateItem(ViewGroup container, int position) { in instantiateItem() argument
95 String name = makeFragmentName(container.getId(), itemId); in instantiateItem()
103 mCurTransaction.add(container.getId(), fragment, in instantiateItem()
104 makeFragmentName(container.getId(), itemId)); in instantiateItem()
115 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() argument
125 public void setPrimaryItem(ViewGroup container, int position, Object object) { in setPrimaryItem() argument
141 public void finishUpdate(ViewGroup container) { in finishUpdate() argument
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseFragmentPagerAdapter.java67 public void startUpdate(View container) { in startUpdate() argument
71 public Object instantiateItem(View container, int position) { in instantiateItem() argument
77 String name = makeFragmentName(container.getId(), position); in instantiateItem()
93 mCurTransaction.add(container.getId(), fragment, in instantiateItem()
94 makeFragmentName(container.getId(), position)); in instantiateItem()
104 public void destroyItem(View container, int position, Object object) { in destroyItem() argument
117 name = makeFragmentName(container.getId(), position); in destroyItem()
125 public void setPrimaryItem(View container, int position, Object object) { in setPrimaryItem() argument
140 public void finishUpdate(View container) { in finishUpdate() argument
/frameworks/support/v4/jellybean-mr1/android/support/v4/view/
DGravityCompatJellybeanMr1.java29 public static void apply(int gravity, int w, int h, Rect container, Rect outRect, in apply() argument
31 Gravity.apply(gravity, w, h, container, outRect, layoutDirection); in apply()
34 public static void apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, in apply() argument
36 Gravity.apply(gravity, w, h, container, xAdj, yAdj, outRect, layoutDirection); in apply()
/frameworks/base/docs/html/design/auto/
Dindex.jd52 <div class="auto-img-container-single">
53 <div class="auto-img-container">
68 <div class="auto-img-container-single">
69 <div class="auto-img-container">
84 <div class="auto-img-container-single">
85 <div class="auto-img-container">
93 <div class="auto-img-container-single">
94 <div class="auto-img-container">
108 <div class="auto-img-container-single">
109 <div class="auto-img-container">
[all …]
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DLinearLayoutTest.java29 LinearLayout container = new LinearLayout(context); in create() local
30 container.setOrientation(LinearLayout.VERTICAL); in create()
39 container.addView(v, lp); in create()
43 return container; in create()

1234567891011