Home
last modified time | relevance | path

Searched refs:mContainer (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowContextListenerControllerTests.java87 private WindowContainer<?> mContainer; field in WindowContextListenerControllerTests
93 mContainer = createTestWindowToken(TYPE_APPLICATION_OVERLAY, mDisplayContent); in setUp()
126 mController.registerWindowContainerListener(mWpc, mClientToken, mContainer, in testRegisterWindowContextListener()
132 mController.registerWindowContainerListener(mWpc, clientToken, mContainer, in testRegisterWindowContextListener()
159 final Configuration config1 = mContainer.getConfiguration(); in testRegisterWindowContextListenerClientConfigPropagation()
163 mContainer.onRequestedOverrideConfigurationChanged(config1); in testRegisterWindowContextListenerClientConfigPropagation()
165 mController.registerWindowContainerListener(mWpc, clientToken, mContainer, in testRegisterWindowContextListenerClientConfigPropagation()
208 mController.registerWindowContainerListener(mWpc, mClientToken, mContainer, in testAssertCallerCanModifyListener_CanManageAppTokens_ReturnTrue()
217 mController.registerWindowContainerListener(mWpc, mClientToken, mContainer, in testAssertCallerCanModifyListener_SameUid_ReturnTrue()
226 mController.registerWindowContainerListener(mWpc, mClientToken, mContainer, in testAssertCallerCanModifyListener_DifferentUid_ThrowException()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContextListenerController.java186 return listener != null ? listener.mContainer : null; in getContainer()
212 private WindowContainer<?> mContainer; field in WindowContextListenerController.WindowContextListenerImpl
233 mContainer = Objects.requireNonNull(container); in WindowContextListenerImpl()
243 + "container=%s", clientToken, mContainer); in WindowContextListenerImpl()
250 return mContainer; in getWindowContainer()
260 if (mContainer.equals(newContainer)) { in updateContainer()
263 mContainer.unregisterWindowContainerListener(this); in updateContainer()
264 mContainer = newContainer; in updateContainer()
279 mContainer.registerWindowContainerListener(this, shouldDispatchConfig); in register()
283 mContainer.unregisterWindowContainerListener(this); in unregister()
[all …]
DSnapshotController.java89 if (info.mContainer.isActivityTypeHome()) continue; in onTransactionReady()
90 final Task task = info.mContainer.asTask(); in onTransactionReady()
98 if (info.mContainer.asActivityRecord() != null in onTransactionReady()
99 || info.mContainer.asTaskFragment() != null) { in onTransactionReady()
100 final TaskFragment tf = info.mContainer.asTaskFragment(); in onTransactionReady()
102 : info.mContainer.asActivityRecord(); in onTransactionReady()
180 final WindowContainer wc = changeInfos.get(i).mContainer; in onTransitionFinish()
191 final WindowContainer wc = changeInfos.get(i).mContainer; in onTransitionFinish()
DTransition.java731 final WindowContainer<?> wc = info.mContainer; in updateTransientFlags()
1027 final WindowContainer<?> target = mTargets.get(i).mContainer; in buildFinishTransaction()
1519 final WindowContainer target = mTargets.get(i).mContainer; in commitConfigAtEndActivities()
1673 if (list.get(i).mContainer == wc) return true; in containsChangeFor()
1768 final DisplayArea da = mTargets.get(i).mContainer.asDisplayArea(); in onTransactionReady()
1910 if (mTargets.get(i).mContainer.asActivityRecord() != null) { in overrideAnimationOptionsToInfoIfNecessary()
1929 final ActivityRecord activity = mTargets.get(i).mContainer in updateActivityTargetForCrossProfileAnimation()
2281 final Task task = mTargets.get(i).mContainer.asTask(); in legacyRestoreNavigationBarFromApp()
2401 if (chg.mContainer.asActivityRecord() == null && chg.mContainer.asTask() == null) { in updatePriorVisibility()
2407 chg.mVisible = chg.mContainer.isVisible(); in updatePriorVisibility()
[all …]
DPerfettoTransitionTracer.java219 if (target.mContainer.mSurfaceControl.isValid()) { in addTransitionTargetsToProto()
220 layerId = target.mContainer.mSurfaceControl.getLayerId(); in addTransitionTargetsToProto()
224 final int windowId = System.identityHashCode(target.mContainer); in addTransitionTargetsToProto()
DLegacyTransitionTracer.java191 if (target.mContainer.mSurfaceControl.isValid()) { in dumpTransitionTargetsToProto()
192 layerId = target.mContainer.mSurfaceControl.getLayerId(); in dumpTransitionTargetsToProto()
203 final int windowId = System.identityHashCode(target.mContainer); in dumpTransitionTargetsToProto()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DOverlayTest.java27 ViewGroup mContainer; field in OverlayTest
35 mContainer = findViewById(R.id.container); in onCreate()
36 mRoot = (ViewGroup) mContainer.getParent(); in onCreate()
42 mContainer.removeView(fadingButton); in onClick()
49 mContainer.addView(fadingButton); in onClick()
DFadingHierarchy.java27 ViewGroup mRemovingContainer, mContainer; field in FadingHierarchy
37 mContainer = findViewById(R.id.container); in onCreate()
45 TransitionManager.beginDelayedTransition(mContainer, null); in sendMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCaseDream.java23 private DessertCaseView.RescalingContainer mContainer; field in DessertCaseDream
32 mContainer = new DessertCaseView.RescalingContainer(this); in onAttachedToWindow()
34 mContainer.setView(mView); in onAttachedToWindow()
36 setContentView(mContainer); in onAttachedToWindow()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DFillInWrapTest.java29 private View mContainer; field in FillInWrapTest
41 mContainer = activity.findViewById(R.id.layout); in setUp()
47 assertNotNull(mContainer); in testPreconditions()
53 mChild.getMeasuredHeight() < mContainer.getMeasuredHeight()); in testLayout()
DLinearLayoutEditTextsTest.java29 private View mContainer; field in LinearLayoutEditTextsTest
41 mContainer = activity.findViewById(R.id.layout); in setUp()
47 assertNotNull(mContainer); in testPreconditions()
53 final int containerHeight = mContainer.getHeight(); in testLayout()
DWeightSumTest.java29 private View mContainer; field in WeightSumTest
41 mContainer = activity.findViewById(R.id.container); in setUp()
47 assertNotNull(mContainer); in testPreconditions()
53 final int containerWidth = mContainer.getWidth(); in testLayout()
DWeightTest.java32 private View mContainer; field in WeightTest
44 mContainer = activity.findViewById(R.id.layout); in setUp()
50 assertNotNull(mContainer); in testPreconditions()
55 ViewAsserts.assertRightAligned(mChild, mContainer); in testLayout()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardMessageArea.java44 private ViewGroup mContainer; field in KeyguardMessageArea
65 mContainer = getRootView().findViewById(R.id.keyguard_message_area_container); in onAttachedToWindow()
69 if (mContainer == null) { in onConfigChanged()
78 (ViewGroup.MarginLayoutParams) mContainer.getLayoutParams(); in onConfigChanged()
80 mContainer.setLayoutParams(lp); in onConfigChanged()
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java48 LinearLayout mContainer; field in FragmentBreadCrumbs
128 mContainer = (LinearLayout)mInflater.inflate( in setActivity()
131 addView(mContainer); in setActivity()
309 int numViews = mContainer.getChildCount(); in updateCrumbs()
315 View v = mContainer.getChildAt(i); in updateCrumbs()
319 mContainer.removeViewAt(i); in updateCrumbs()
333 mContainer.addView(item); in updateCrumbs()
338 numViews = mContainer.getChildCount(); in updateCrumbs()
340 mContainer.removeViewAt(numViews - 1); in updateCrumbs()
345 final View child = mContainer.getChildAt(i); in updateCrumbs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dream/
DMediaViewHolder.java35 private final FrameLayout mContainer; field in MediaViewHolder
43 mContainer = container; in MediaViewHolder()
51 return mContainer; in getView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/
DHearingDevicesListAdapter.java104 private final View mContainer; field in HearingDevicesListAdapter.DeviceItemViewHolder
113 mContainer = itemView.requireViewById(R.id.bluetooth_device_row); in DeviceItemViewHolder()
121 mContainer.setEnabled(item.isEnabled()); in bindView()
122 mContainer.setOnClickListener(view -> callback.onDeviceItemOnClicked(item, view)); in bindView()
125 mContainer.setBackground(mContext.getDrawable(item.getBackground())); in bindView()
/frameworks/av/media/module/extractors/tests/
DExtractorUnitTest.cpp204 mContainer = get<0>(params); in SetUp()
206 setupExtractor(mContainer); in SetUp()
208 string mContainer; member in ExtractorFunctionalityTest
384 ASSERT_EQ(status, 0) << "SetDataSource failed for" << mContainer << "extractor"; in TEST_P()
387 ASSERT_EQ(status, 0) << "Extractor creation failed for" << mContainer << "extractor"; in TEST_P()
403 ALOGV("Validates %s Extractor for a given input file", mContainer.c_str()); in TEST_P()
407 ASSERT_EQ(status, 0) << "SetDataSource failed for" << mContainer << "extractor"; in TEST_P()
410 ASSERT_EQ(status, 0) << "Extractor creation failed for" << mContainer << "extractor"; in TEST_P()
458 ASSERT_EQ(status, 0) << "SetDataSource failed for" << mContainer << "extractor"; in TEST_P()
461 ASSERT_EQ(status, 0) << "Extractor creation failed for" << mContainer << "extractor"; in TEST_P()
[all …]
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java104 private final FrameLayout mContainer; field in ZoomButtonsController
214 mContainer = createContainer(); in ZoomButtonsController()
309 mWindowManager.updateViewLayout(mContainer, mContainerLayoutParams); in setFocusable()
373 mWindowManager.addView(mContainer, mContainerLayoutParams); in setVisible()
409 mWindowManager.removeViewImmediate(mContainer); in setVisible()
429 return mContainer; in getContainer()
456 int containerOwnerYOffset = ownerHeight - mContainer.getHeight(); in refreshPositioningVariables()
471 mWindowManager.updateViewLayout(mContainer, mContainerLayoutParams); in refreshPositioningVariables()
624 for (int i = mContainer.getChildCount() - 1; i >= 0; i--) { in findViewForTouch()
625 View child = mContainer.getChildAt(i); in findViewForTouch()
DDatePickerCalendarDelegate.java68 private ViewGroup mContainer; field in DatePickerCalendarDelegate
113 mContainer = (ViewGroup) inflater.inflate(layoutResourceId, mDelegator, false); in DatePickerCalendarDelegate()
114 mContainer.setSaveFromParentEnabled(false); in DatePickerCalendarDelegate()
115 mDelegator.addView(mContainer); in DatePickerCalendarDelegate()
118 final ViewGroup header = mContainer.findViewById(R.id.date_picker_header); in DatePickerCalendarDelegate()
157 mAnimator = mContainer.findViewById(R.id.animator); in DatePickerCalendarDelegate()
495 mContainer.setEnabled(enabled); in setEnabled()
504 return mContainer.isEnabled(); in isEnabled()
/frameworks/base/core/tests/coretests/src/android/widget/
DRemoteViewsTest.java89 private LinearLayout mContainer; field in RemoteViewsTest
95 mContainer = new LinearLayout(mContext); in setup()
104 clone.apply(mContext, mContainer); in clone_originalCanStillBeApplied()
113 View inflated = clone.apply(mContext, mContainer); in clone_clones()
138 original.apply(mContext, mContainer); in clone_repeatedly()
147 clone.apply(mContext, mContainer); in clone_chained()
195 views.applyAsync(mContext, mContainer, AsyncTask.THREAD_POOL_EXECUTOR, listener);
206 View syncView = views.apply(mContext, mContainer);
209 views.applyAsync(mContext, mContainer, AsyncTask.THREAD_POOL_EXECUTOR, listener);
223 View syncView = views.apply(mContext, mContainer);
[all …]
/frameworks/base/core/java/android/window/
DWindowContainerTransaction.java1428 private IBinder mContainer; field in WindowContainerTransaction.HierarchyOp
1585 mContainer = copy.mContainer; in HierarchyOp()
1606 mContainer = in.readStrongBinder(); in HierarchyOp()
1650 return mContainer; in getContainer()
1751 sb.append("from=").append(mContainer).append(" to=").append(mReparent) in toString()
1758 sb.append("container=").append(mContainer) in toString()
1763 sb.append(mContainer).append(" to ").append(mToTop ? "top of " : "bottom of ") in toString()
1767 sb.append(mContainer).append(" to ").append(mToTop ? "top" : "bottom"); in toString()
1770 sb.append("container=").append(mContainer) in toString()
1777 sb.append("container=").append(mContainer).append(" clearRoot=").append(mToTop); in toString()
[all …]
/frameworks/base/core/java/android/view/
DWindow.java312 private Window mContainer; field in Window
816 mContainer = container; in setContainer()
832 return mContainer; in getContainer()
932 wp.token = mContainer == null ? mAppToken : mContainer.mAppToken; in adjustLayoutParamsForSubWindow()
1680 mLocalFeatures |= mContainer != null ? (flag&~mContainer.mFeatures) : flag; in requestFeature()
1690 mLocalFeatures &= ~(mContainer != null ? (flag&~mContainer.mFeatures) : flag); in removeFeature()
1694 if (mContainer != null) { in makeActive()
1695 if (mContainer.mActiveChild != null) { in makeActive()
1696 mContainer.mActiveChild.mIsActive = false; in makeActive()
1698 mContainer.mActiveChild = this; in makeActive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSImpl.java103 private QSContainerImpl mContainer; field in QSImpl
248 mContainer = mQSContainerImplController.getView(); in onComponentCreated()
249 mDumpManager.registerDumpable(mContainer.getClass().getSimpleName(), mContainer); in onComponentCreated() local
318 if (mContainer != null) { in onDestroy()
319 mDumpManager.unregisterDumpable(mContainer.getClass().getSimpleName()); in onDestroy()
434 mContainer.disable(state1, state2, animate); in disable()
636 mContainer.setExpansion(expansion); in setQsExpansion()
872 mContainer.updateExpansion(); in notifyCustomizeChanged()
905 mContainer.setHeightOverride(desiredHeight); in setHeightOverride()
965 return mContainer.getQqsHeight(); in getQQSHeight()
[all …]
/frameworks/native/include/input/
DRingBuffer.h194 : mContainer(container), mIndex(index) {} in Iterator()
250 reference operator*() const { return mContainer[mIndex]; }
251 pointer operator->() const { return std::addressof(mContainer[mIndex]); }
254 ContainerType& mContainer;

12