/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppWindowContainerController.java | 121 if (mContainer == null) { 126 if (DEBUG_STARTING_WINDOW) Slog.v(TAG_WM, "Remove starting " + mContainer 127 + ": startingWindow=" + mContainer.startingWindow 128 + " startingView=" + mContainer.startingSurface); 129 if (mContainer.startingData != null) { 130 surface = mContainer.startingSurface; 131 mContainer.startingData = null; 132 mContainer.startingSurface = null; 133 mContainer.startingWindow = null; 134 mContainer.startingDisplayed = false; [all …]
|
D | StackWindowController.java | 91 if (mContainer != null) { in removeContainer() 92 mContainer.removeIfPossible(); in removeContainer() 100 return mContainer != null && mContainer.isVisible(); in isVisible() 106 if (mContainer == null) { in reparent() 117 targetDc.moveStackToDisplay(mContainer, onTop); in reparent() 127 if (child.mContainer == null) { in positionChildAt() 132 if (mContainer == null) { in positionChildAt() 134 "positionChildAt: could not find stack for task=" + mContainer); in positionChildAt() 137 child.mContainer.positionAt(position, bounds, overrideConfig); in positionChildAt() 138 mContainer.getDisplayContent().layoutAndAssignWindowLayersIfNeeded(); in positionChildAt() [all …]
|
D | TaskWindowContainerController.java | 74 final TaskStack stack = stackController.mContainer; in TaskWindowContainerController() 98 if (mContainer == null) { in removeContainer() 102 mContainer.removeIfPossible(); in removeContainer() 109 final AppWindowToken aToken = childController.mContainer; in positionChildAt() 116 final Task task = mContainer; in positionChildAt() 128 if (mContainer == null) { in reparent() 133 final TaskStack stack = stackController.mContainer; in reparent() 138 mContainer.reparent(stack, position, moveParents); in reparent() 139 mContainer.getDisplayContent().layoutAndAssignWindowLayersIfNeeded(); in reparent() 145 if (mContainer != null) { in setResizeable() [all …]
|
D | PinnedStackWindowController.java | 53 if (!mService.mSupportsPictureInPicture || mContainer == null) { in getPictureInPictureBounds() 57 final DisplayContent displayContent = mContainer.getDisplayContent(); in getPictureInPictureBounds() 84 if (mContainer == null) { in animateResizePinnedStack() 90 mContainer.getBounds(fromBounds); in animateResizePinnedStack() 110 mContainer.getDisplayContent().getLogicalDisplayRect(toBounds); in animateResizePinnedStack() 116 mContainer.setAnimationFinalBounds(sourceHintBounds, toBounds, toFullscreen); in animateResizePinnedStack() 122 if (mContainer == null) { in animateResizePinnedStack() 125 mService.mBoundsAnimationController.animateBounds(mContainer, fromBounds, in animateResizePinnedStack() 137 if (!mService.mSupportsPictureInPicture || mContainer == null) { in setPictureInPictureAspectRatio() 142 mContainer.getDisplayContent().getPinnedStackController(); in setPictureInPictureAspectRatio() [all …]
|
D | WindowContainerController.java | 39 E mContainer; field in WindowContainerController 51 if (mContainer != null && container != null) { in setContainer() 53 + " for controller=" + this + " Already set to=" + mContainer); in setContainer() 55 mContainer = container; in setContainer() 61 if (mContainer != null) { in removeContainer() 62 mContainer.setController(null); in removeContainer() 63 mContainer = null; in removeContainer()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ActionBarBackgroundDrawable.java | 27 final ActionBarContainer mContainer; field in ActionBarBackgroundDrawable 30 mContainer = container; in ActionBarBackgroundDrawable() 35 if (mContainer.mIsSplit) { in draw() 36 if (mContainer.mSplitBackground != null) { in draw() 37 mContainer.mSplitBackground.draw(canvas); in draw() 40 if (mContainer.mBackground != null) { in draw() 41 mContainer.mBackground.draw(canvas); in draw() 43 if (mContainer.mStackedBackground != null && mContainer.mIsStacked) { in draw() 44 mContainer.mStackedBackground.draw(canvas); in draw()
|
D | ActionBarBackgroundDrawableV21.java | 32 if (mContainer.mIsSplit) { in getOutline() 33 if (mContainer.mSplitBackground != null) { in getOutline() 34 mContainer.mSplitBackground.getOutline(outline); in getOutline() 38 if (mContainer.mBackground != null) { in getOutline() 39 mContainer.mBackground.getOutline(outline); in getOutline()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | TaskWindowContainerControllerTests.java | 50 assertNull(taskController.mContainer); in testRemoveContainer() 51 assertNull(appController.mContainer); in testRemoveContainer() 61 final WindowTestUtils.TestTask task = (WindowTestUtils.TestTask) taskController.mContainer; in testRemoveContainer_deferRemoval() 62 final AppWindowToken app = appController.mContainer; in testRemoveContainer_deferRemoval() 69 assertNull(taskController.mContainer); in testRemoveContainer_deferRemoval() 71 assertNotNull(appController.mContainer); in testRemoveContainer_deferRemoval() 75 assertNull(appController.mContainer); in testRemoveContainer_deferRemoval() 111 assertEquals(stackController2.mContainer, taskController.mContainer.getParent()); in testReparent() 112 assertEquals(0, ((WindowTestUtils.TestTask) taskController.mContainer).positionInParent()); in testReparent() 113 assertEquals(1, ((WindowTestUtils.TestTask) taskController2.mContainer).positionInParent()); in testReparent() [all …]
|
D | StackWindowControllerTests.java | 49 final TaskStack stack = stackController.mContainer; in testRemoveContainer() 50 final Task task = taskController.mContainer; in testRemoveContainer() 55 assertNull(stackController.mContainer); in testRemoveContainer() 56 assertNull(taskController.mContainer); in testRemoveContainer() 69 final TaskStack stack = stackController.mContainer; in testRemoveContainer_deferRemoval() 70 final WindowTestUtils.TestTask task = (WindowTestUtils.TestTask) taskController.mContainer; in testRemoveContainer_deferRemoval() 78 assertNull(stackController.mContainer); in testRemoveContainer_deferRemoval() 80 assertNotNull(taskController.mContainer); in testRemoveContainer_deferRemoval() 84 assertNull(taskController.mContainer); in testRemoveContainer_deferRemoval() 93 final TaskStack stack1 = stack1Controller.mContainer; in testReparent() [all …]
|
D | WindowContainerControllerTests.java | 47 assertEquals(controller.mContainer, container); in testCreation() 56 assertEquals(controller.mContainer, container); in testSetContainer() 69 assertNull(controller.mContainer); in testSetContainer() 78 assertEquals(controller.mContainer, container); in testRemoveContainer() 81 assertNull(controller.mContainer); in testRemoveContainer()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
D | AppCompatTextViewTest.java | 58 final AppCompatTextView textView1 = mContainer.findViewById(R.id.text_view_caps1); in testAllCaps() 59 final AppCompatTextView textView2 = mContainer.findViewById(R.id.text_view_caps2); in testAllCaps() 85 mContainer.findViewById(R.id.text_view_app_allcaps_false); in testAppCompatAllCapsFalseOnButton() 92 final TextView textView = mContainer.findViewById(R.id.view_text_color_hex); in testTextColorSetHex() 98 final TextView textView = mContainer.findViewById(R.id.view_text_color_csl); in testTextColorSetColorStateList() 111 final TextView textView = mContainer.findViewById(R.id.view_text_color_primary); in testTextColorSetThemeAttrHex() 117 final TextView textView = mContainer.findViewById(R.id.view_text_color_secondary); in testTextColorSetThemeAttrColorStateList() 138 verifyTextLinkColor((TextView) mContainer.findViewById(R.id.view_text_link_enabled)); in testTextLinkColor() 139 verifyTextLinkColor((TextView) mContainer.findViewById(R.id.view_text_link_disabled)); in testTextLinkColor() 145 mContainer.findViewById(R.id.textview_fontresource_fontfamily_string_resource); in testFontResources_setInStringFamilyName() [all …]
|
/frameworks/support/fragment/tests/java/android/support/v4/app/ |
D | FragmentReorderingTest.java | 46 private ViewGroup mContainer; field in FragmentReorderingTest 53 mContainer = (ViewGroup) mActivityRule.getActivity().findViewById(R.id.fragmentContainer); in setup() 81 FragmentTestUtil.assertChildren(mContainer, fragment2); in addReplace() 91 FragmentTestUtil.assertChildren(mContainer); in addReplace() 107 FragmentTestUtil.assertChildren(mContainer, fragment1); in startWithPop() 122 FragmentTestUtil.assertChildren(mContainer, fragment1); in startWithPop() 126 FragmentTestUtil.assertChildren(mContainer); in startWithPop() 152 FragmentTestUtil.assertChildren(mContainer, fragment2); in middlePop() 157 FragmentTestUtil.assertChildren(mContainer); in middlePop() 188 FragmentTestUtil.assertChildren(mContainer); in removeRedundantRemove() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
D | FullscreenUserSwitcher.java | 31 private View mContainer; field in FullscreenUserSwitcher 39 mContainer = containerStub.inflate(); in FullscreenUserSwitcher() 40 mUserGridView = (UserGridView) mContainer.findViewById(R.id.user_grid); in FullscreenUserSwitcher() 49 mContainer.setVisibility(View.VISIBLE); in show() 53 mContainer.setVisibility(View.GONE); in hide()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | OverlayTest.java | 27 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()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | TestActivity.java | 35 private volatile TestedFrameLayout mContainer; field in TestActivity 45 mContainer = new TestedFrameLayout(this); in onCreate() 50 setContentView(mContainer); in onCreate() 55 return mContainer; in getContainer() 63 mContainer = new TestedFrameLayout(TestActivity.this); in resetContent() 64 setContentView(mContainer); in resetContent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DessertCaseDream.java | 23 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/ |
D | FillInWrapTest.java | 28 private View mContainer; field in FillInWrapTest 40 mContainer = activity.findViewById(R.id.layout); in setUp() 46 assertNotNull(mContainer); in testPreconditions() 52 mChild.getMeasuredHeight() < mContainer.getMeasuredHeight()); in testLayout()
|
D | WeightSumTest.java | 29 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()
|
D | LinearLayoutEditTextsTest.java | 29 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()
|
D | WeightTest.java | 32 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/core/tests/coretests/src/android/widget/ |
D | RemoteViewsTest.java | 62 private LinearLayout mContainer; field in RemoteViewsTest 68 mContainer = new LinearLayout(mContext); in setup() 78 View inflated = clone.apply(mContext, mContainer); in clone_doesNotCopyBitmap() 90 clone.apply(mContext, mContainer); in clone_originalCanStillBeApplied() 99 View inflated = clone.apply(mContext, mContainer); in clone_clones() 123 original.apply(mContext, mContainer); in clone_repeatedly() 132 clone.apply(mContext, mContainer); in clone_chained() 180 views.applyAsync(mContext, mContainer, AsyncTask.THREAD_POOL_EXECUTOR, listener); 191 View syncView = views.apply(mContext, mContainer); 194 views.applyAsync(mContext, mContainer, AsyncTask.THREAD_POOL_EXECUTOR, listener); [all …]
|
/frameworks/rs/rsov/compiler/spirit/ |
D | stl_util.h | 25 ContainerDeleter(T &container) : mContainer(container) {} in ContainerDeleter() 27 for (auto *ptr : mContainer) { in ~ContainerDeleter() 33 T &mContainer;
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
D | ListPopupWindowActivity.java | 37 private ViewGroup mContainer; field in ListPopupWindowActivity 59 mContainer = findViewById(R.id.container); in onCreate() 60 mIsModal = (CheckBox) mContainer.findViewById(R.id.is_modal); in onCreate() 61 mLog = (TextView) mContainer.findViewById(R.id.log); in onCreate() 62 mButton = (Button) mContainer.findViewById(R.id.test_button); in onCreate() 67 mListPopupWindow = new ListPopupWindow(mContainer.getContext()); in onCreate()
|
/frameworks/support/compat/tests/java/android/support/v4/ |
D | ThemedYellowActivity.java | 25 FrameLayout mContainer; field in ThemedYellowActivity 30 mContainer = new FrameLayout(this); in onCreate() 33 setContentView(mContainer); in onCreate()
|
/frameworks/base/core/java/android/app/ |
D | FragmentBreadCrumbs.java | 48 LinearLayout mContainer; field in FragmentBreadCrumbs 125 mContainer = (LinearLayout)mInflater.inflate( in setActivity() 128 addView(mContainer); in setActivity() 306 int numViews = mContainer.getChildCount(); in updateCrumbs() 312 View v = mContainer.getChildAt(i); in updateCrumbs() 316 mContainer.removeViewAt(i); in updateCrumbs() 330 mContainer.addView(item); in updateCrumbs() 335 numViews = mContainer.getChildCount(); in updateCrumbs() 337 mContainer.removeViewAt(numViews - 1); in updateCrumbs() 342 final View child = mContainer.getChildAt(i); in updateCrumbs()
|