Home
last modified time | relevance | path

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

123456789

/frameworks/base/core/java/com/android/internal/widget/
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 …]
/frameworks/av/drm/mediacas/plugins/clearkey/
DClearKeyFetcher.cpp58 EcmContainer container; in ObtainKey() local
59 status_t status = container.Parse(buffer); in ObtainKey()
63 ALOGV("descriptor_size=%zu", container.descriptor_size()); in ObtainKey()
69 if (container.descriptor_size() == 2) { in ObtainKey()
71 bool same_parity = (((container.descriptor(0).id() & 0x01) ^ in ObtainKey()
72 (container.descriptor(1).id() & 0x01)) == 0); in ObtainKey()
76 container.descriptor(0).ecm().asset_id(), in ObtainKey()
77 container.descriptor(0).id(), in ObtainKey()
78 container.descriptor(1).id()); in ObtainKey()
82 *asset_id = container.descriptor(0).ecm().asset_id(); in ObtainKey()
[all …]
/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/base/services/core/java/com/android/server/wm/
DDimmer.java185 private DimState getDimState(WindowContainer container) { in getDimState() argument
194 if (container == null) { in getDimState()
202 mLastRequestedDimContainer = container; in getDimState()
206 private void dim(SurfaceControl.Transaction t, WindowContainer container, int relativeLayer, in dim() argument
208 final DimState d = getDimState(container); in dim()
214 if (container != null) { in dim()
218 t.setRelativeLayer(d.mDimLayer, container.getSurfaceControl(), relativeLayer); in dim()
262 void dimAbove(SurfaceControl.Transaction t, WindowContainer container, float alpha) { in dimAbove() argument
263 dim(t, container, 1, alpha); in dimAbove()
274 void dimBelow(SurfaceControl.Transaction t, WindowContainer container, float alpha) { in dimBelow() argument
[all …]
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
DMDnsUtils.java60 private static boolean containsVendor(String container, String[] vendorValues) { in containsVendor() argument
61 if ((container == null) || (vendorValues == null)) return false; in containsVendor()
63 if (containsString(container, value) in containsVendor()
64 || containsString(container.toLowerCase(Locale.US), value.toLowerCase(Locale.US)) in containsVendor()
65 || containsString(container.toUpperCase(Locale.US), value.toUpperCase(Locale.US))) in containsVendor()
71 private static boolean containsString(String container, String contained) { in containsString() argument
72 …return (container != null) && (contained != null) && (container.equalsIgnoreCase(contained) || con… in containsString()
/frameworks/base/libs/hwui/tests/common/scenes/
DGlyphStressAnimation.cpp33 sp<RenderNode> container; member in GlyphStressAnimation
35 container = TestUtils::createNode(0, 0, width, height, nullptr); in createContent()
39 canvas.drawRenderNode(container.get()); in createContent()
46 Canvas::create_recording_canvas(container->stagingProperties().getWidth(), in doFrame()
47 container->stagingProperties().getHeight(), in doFrame()
48 container.get())); in doFrame()
58 container->setStagingDisplayList(canvas->finishRecording()); in doFrame()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewLayerInvalidationActivity.java36 LinearLayout container = null; field in ViewLayerInvalidationActivity
52 container = 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.java58 container.setTranslationX(100f); in setProject()
59 container.setTranslationX(0.0f); in setProject()
74 static View container; field in ProjectionActivity
80 container = findViewById(R.id.container); in onCreate()
/frameworks/base/core/java/android/window/
DWindowContainerTransaction.java70 @NonNull WindowContainerToken container,@NonNull Rect bounds) { in setBounds()
71 Change chg = getOrCreateChange(container.asBinder()); in setBounds()
85 @NonNull WindowContainerToken container,@NonNull Rect appBounds) { in setAppBounds()
86 Change chg = getOrCreateChange(container.asBinder()); in setAppBounds()
101 @NonNull WindowContainerToken container, int w, int h) { in setScreenSizeDp()
102 Change chg = getOrCreateChange(container.asBinder()); in setScreenSizeDp()
115 @NonNull WindowContainerToken container,@NonNull Rect bounds) { in scheduleFinishEnterPip()
116 Change chg = getOrCreateChange(container.asBinder()); in scheduleFinishEnterPip()
136 @NonNull WindowContainerToken container,@NonNull SurfaceControl.Transaction t) { in setBoundsChangeTransaction()
137 Change chg = getOrCreateChange(container.asBinder()); in setBoundsChangeTransaction()
[all …]
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/
DMDnsUtils.java74 private static boolean containsVendor(String container, String[] vendorValues) { in containsVendor() argument
75 if ((container == null) || (vendorValues == null)) return false; in containsVendor()
77 if (containsString(container, value) in containsVendor()
78 … || containsString(container.toLowerCase(Locale.US), value.toLowerCase(Locale.US)) in containsVendor()
79 … || containsString(container.toUpperCase(Locale.US), value.toUpperCase(Locale.US))) in containsVendor()
90 private static boolean containsString(String container, String contained) { in containsString() argument
91 …return (container != null) && (contained != null) && (container.equalsIgnoreCase(contained) || con… in containsString()
/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 = 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 = 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 = 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/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/av/camera/ndk/
DNdkCameraDevice.cpp124 void ACaptureSessionOutputContainer_free(ACaptureSessionOutputContainer* container) { in ACaptureSessionOutputContainer_free() argument
126 if (container != nullptr) { in ACaptureSessionOutputContainer_free()
127 delete container; in ACaptureSessionOutputContainer_free()
233 ACaptureSessionOutputContainer* container, const ACaptureSessionOutput* output) { in ACaptureSessionOutputContainer_add() argument
235 if (container == nullptr || output == nullptr) { in ACaptureSessionOutputContainer_add()
237 __FUNCTION__, container, output); in ACaptureSessionOutputContainer_add()
240 auto pair = container->mOutputs.insert(*output); in ACaptureSessionOutputContainer_add()
249 ACaptureSessionOutputContainer* container, const ACaptureSessionOutput* output) { in ACaptureSessionOutputContainer_remove() argument
251 if (container == nullptr || output == nullptr) { in ACaptureSessionOutputContainer_remove()
253 __FUNCTION__, container, output); in ACaptureSessionOutputContainer_remove()
[all …]
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
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()
DVectorDrawable01.java58 GridLayout container = new GridLayout(this); in onCreate() local
59 container.setColumnCount(5); in onCreate()
60 container.setBackgroundColor(0xFF888888); in onCreate()
78 container.addView(toggle); in onCreate()
85 container.addView(button); in onCreate()
90 setContentView(container); 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()
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/core/java/android/widget/
DDayPickerPagerAdapter.java201 return view == holder.container; in isViewFromObject()
225 public Object instantiateItem(ViewGroup container, int position) { in instantiateItem() argument
226 final View itemView = mInflater.inflate(mLayoutResId, container, false); in instantiateItem()
279 container.addView(itemView); in instantiateItem()
285 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() argument
287 container.removeView(holder.container); in destroyItem()
330 public final View container; field in DayPickerPagerAdapter.ViewHolder
333 public ViewHolder(int position, View container, SimpleMonthView calendar) { in ViewHolder() argument
335 this.container = container; in ViewHolder()
/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()
DGridLayoutTest.java31 GridLayout container = new GridLayout(context); in create() local
32 container.setOrientation(VERTICAL); in create()
45 container.addView(v, lp); in create()
49 return container; in create()

123456789