Searched refs:container (Results 1 - 25 of 420) 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/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/base/services/tests/servicestests/src/com/android/server/wm/
H A DWindowContainerControllerTests.java49 final WindowContainer container = new WindowContainer(sWm);
51 container.setController(controller);
52 assertEquals(controller, container.getController());
53 assertEquals(controller.mContainer, container);
59 final WindowContainer container = new WindowContainer(sWm);
61 controller.setContainer(container);
62 assertEquals(controller.mContainer, container);
64 // Assert we can't change the container to another one once set
73 // Assert that we can set the container to null.
81 final WindowContainer container
[all...]
/frameworks/support/leanback/src/androidTest/java/androidx/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/support/viewpager/src/main/java/androidx/viewpager/widget/
H A DPagerAdapter.java95 * @param container The containing View which is displaying this adapter's
98 public void startUpdate(@NonNull ViewGroup container) { argument
99 startUpdate((View) container);
104 * for adding the view to the container given here, although it only
108 * @param container The containing View in which the page will be shown.
111 * need to be a View, but can be some other container of the page.
114 public Object instantiateItem(@NonNull ViewGroup container, int position) { argument
115 return instantiateItem((View) container, position);
120 * for removing the view from its container, although it only must ensure
123 * @param container Th
128 destroyItem(@onNull ViewGroup container, int position, @NonNull Object object) argument
142 setPrimaryItem(@onNull ViewGroup container, int position, @NonNull Object object) argument
153 finishUpdate(@onNull ViewGroup container) argument
165 startUpdate(@onNull View container) argument
183 instantiateItem(@onNull View container, int position) argument
201 destroyItem(@onNull View container, int position, @NonNull Object object) argument
217 setPrimaryItem(@onNull View container, int position, @NonNull Object object) argument
230 finishUpdate(@onNull View container) argument
[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/libs/hwui/tests/common/scenes/
H A DGlyphStressAnimation.cpp33 sp<RenderNode> container; member in class:GlyphStressAnimation
35 container = TestUtils::createNode(0, 0, width, height, nullptr);
36 doFrame(0); // update container
39 canvas.drawRenderNode(container.get());
46 Canvas::create_recording_canvas(container->stagingProperties().getWidth(),
47 container->stagingProperties().getHeight(),
48 container.get()));
58 container->setStagingDisplayList(canvas->finishRecording());
/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/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/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);
H A DBiDiTestRelativeLayoutRtl.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
30 return inflater.inflate(R.layout.relative_layout_rtl, container, false);

Completed in 168 milliseconds

1234567891011>>