Searched refs:container (Results 1 - 25 of 383) sorted by relevance

1234567891011>>

/frameworks/base/core/java/com/android/internal/widget/
H A DPagerAdapter.java91 * @param container The containing View which is displaying this adapter's
94 public void startUpdate(ViewGroup container) { argument
95 startUpdate((View) container);
100 * for adding the view to the container given here, although it only
104 * @param container The containing View in which the page will be shown.
107 * need to be a View, but can be some other container of the page.
109 public Object instantiateItem(ViewGroup container, int position) { argument
110 return instantiateItem((View) container, position);
115 * for removing the view from its container, although it only must ensure
118 * @param container Th
123 destroyItem(ViewGroup container, int position, Object object) argument
136 setPrimaryItem(ViewGroup container, int position, Object object) argument
147 finishUpdate(ViewGroup container) argument
158 startUpdate(View container) argument
174 instantiateItem(View container, int position) argument
191 destroyItem(View container, int position, Object object) argument
206 setPrimaryItem(View container, int position, Object object) argument
218 finishUpdate(View container) argument
[all...]
/frameworks/support/core-ui/java/android/support/v4/view/
H A DPagerAdapter.java92 * @param container The containing View which is displaying this adapter's
95 public void startUpdate(ViewGroup container) { argument
96 startUpdate((View) container);
101 * for adding the view to the container given here, although it only
105 * @param container The containing View in which the page will be shown.
108 * need to be a View, but can be some other container of the page.
110 public Object instantiateItem(ViewGroup container, int position) { argument
111 return instantiateItem((View) container, position);
116 * for removing the view from its container, although it only must ensure
119 * @param container Th
124 destroyItem(ViewGroup container, int position, Object object) argument
137 setPrimaryItem(ViewGroup container, int position, Object object) argument
148 finishUpdate(ViewGroup container) argument
160 startUpdate(View container) argument
177 instantiateItem(View container, int position) argument
195 destroyItem(View container, int position, Object object) argument
211 setPrimaryItem(View container, int position, Object object) argument
224 finishUpdate(View container) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DWindowContainerControllerTests.java43 final WindowContainer container = new WindowContainer();
45 container.setController(controller);
46 assertEquals(controller, container.getController());
47 assertEquals(controller.mContainer, container);
53 final WindowContainer container = new WindowContainer();
55 controller.setContainer(container);
56 assertEquals(controller.mContainer, container);
58 // Assert we can't change the container to another one once set
67 // Assert that we can set the container to null.
75 final WindowContainer container
[all...]
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DClearKeyFetcher.cpp58 EcmContainer container; local
59 status_t status = container.Parse(buffer);
63 ALOGV("descriptor_size=%zu", container.descriptor_size());
69 if (container.descriptor_size() == 2) {
71 bool same_parity = (((container.descriptor(0).id() & 0x01) ^
72 (container.descriptor(1).id() & 0x01)) == 0);
76 container.descriptor(0).ecm().asset_id(),
77 container.descriptor(0).id(),
78 container.descriptor(1).id());
82 *asset_id = container
[all...]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DShadowOverlayContainerTest.java51 ShadowOverlayContainer container = new ShadowOverlayContainer(mContext);
52 container.initialize(true, true, true);
53 container.wrap(textView);
54 frameLayout.addView(container);
62 assertEquals(container.getWidth(), textView.getWidth());
63 assertEquals(container.getHeight(), textView.getHeight());
72 assertEquals(container.getWidth(), textView.getWidth());
73 assertEquals(container.getHeight(), textView.getHeight());
82 ShadowOverlayContainer container = new ShadowOverlayContainer(mContext);
83 container
[all...]
/frameworks/rs/rsov/compiler/spirit/
H A Dstl_util.h25 ContainerDeleter(T &container) : mContainer(container) {} argument
/frameworks/base/core/java/android/view/
H A DGravity.java22 * larger container.
37 * container, based on the gravity direction being applied. */
45 /** Push object to the top of its container, not changing its size. */
47 /** Push object to the bottom of its container, not changing its size. */
49 /** Push object to the left of its container, not changing its size. */
51 /** Push object to the right of its container, not changing its size. */
54 /** Place object in the vertical center of its container, not changing its
58 * its container. */
61 /** Place object in the horizontal center of its container, not changing its
65 * its container
138 apply(int gravity, int w, int h, Rect container, Rect outRect) argument
159 apply(int gravity, int w, int h, Rect container, Rect outRect, int layoutDirection) argument
186 apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, Rect outRect) argument
296 apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, Rect outRect, int layoutDirection) argument
[all...]
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DDelayedTransition.java41 final LinearLayout container = (LinearLayout) findViewById(R.id.container);
46 int containerWidth = container.getWidth();
48 TransitionManager.beginDelayedTransition(container, null);
51 TransitionManager.beginDelayedTransition(container, null);
55 TransitionManager.beginDelayedTransition(container, null);
58 TransitionManager.beginDelayedTransition(container, null);
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
H A DMDnsUtils.java60 private static boolean containsVendor(String container, String[] vendorValues) { argument
61 if ((container == null) || (vendorValues == null)) return false;
63 if (containsString(container, value)
64 || containsString(container.toLowerCase(Locale.US), value.toLowerCase(Locale.US))
65 || containsString(container.toUpperCase(Locale.US), value.toUpperCase(Locale.US)))
71 private static boolean containsString(String container, String contained) { argument
72 return (container != null) && (contained != null) && (container.equalsIgnoreCase(contained) || container.contains(contained + " "));
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowContainerController.java25 * container and make changes.
38 // The window container this controller owns.
50 void setContainer(E container) { argument
51 if (mContainer != null && container != null) {
52 throw new IllegalArgumentException("Can't set container=" + container
55 mContainer = container;
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DLinearLayoutTest.java29 LinearLayout container = new LinearLayout(context);
30 container.setOrientation(LinearLayout.VERTICAL);
39 container.addView(v, lp);
43 return container;
/frameworks/av/camera/ndk/
H A DNdkCameraDevice.cpp89 void ACaptureSessionOutputContainer_free(ACaptureSessionOutputContainer* container) { argument
91 if (container != nullptr) {
92 delete container;
121 ACaptureSessionOutputContainer* container, const ACaptureSessionOutput* output) {
123 if (container == nullptr || output == nullptr) {
124 ALOGE("%s: Error: invalid input: container %p, output %p",
125 __FUNCTION__, container, output);
128 auto pair = container->mOutputs.insert(*output);
137 ACaptureSessionOutputContainer* container, const ACaptureSessionOutput* output) {
139 if (container
120 ACaptureSessionOutputContainer_add( ACaptureSessionOutputContainer* container, const ACaptureSessionOutput* output) argument
136 ACaptureSessionOutputContainer_remove( ACaptureSessionOutputContainer* container, const ACaptureSessionOutput* output) argument
[all...]
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestFrameLayoutLocale.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
30 return inflater.inflate(R.layout.frame_layout_locale, container, false);
H A DBiDiTestFrameLayoutLtr.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
30 return inflater.inflate(R.layout.frame_layout_ltr, container, false);
H A DBiDiTestFrameLayoutRtl.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
30 return inflater.inflate(R.layout.frame_layout_rtl, container, false);
H A DBiDiTestGridLayoutLocale.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
30 return inflater.inflate(R.layout.grid_layout_locale, container, false);
H A DBiDiTestGridLayoutLtr.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
30 return inflater.inflate(R.layout.grid_layout_ltr, container, false);
H A DBiDiTestGridLayoutRtl.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
30 return inflater.inflate(R.layout.grid_layout_rtl, container, false);
H A DBiDiTestLinearLayoutLocale.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
30 return inflater.inflate(R.layout.linear_layout_locale, container, false);
H A DBiDiTestLinearLayoutLtr.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
30 return inflater.inflate(R.layout.linear_layout_ltr, container, false);
H A DBiDiTestLinearLayoutRtl.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
30 return inflater.inflate(R.layout.linear_layout_rtl, container, false);
H A DBiDiTestRelativeLayout2Locale.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
30 return inflater.inflate(R.layout.relative_layout_2_locale, container, false);
H A DBiDiTestRelativeLayout2Ltr.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
30 return inflater.inflate(R.layout.relative_layout_2_ltr, container, false);
H A DBiDiTestRelativeLayout2Rtl.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
30 return inflater.inflate(R.layout.relative_layout_2_rtl, container, false);
H A DBiDiTestRelativeLayoutLtr.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
30 return inflater.inflate(R.layout.relative_layout_ltr, container, false);

Completed in 616 milliseconds

1234567891011>>