/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | ViewRippler.java | 28 private View mRoot; field in ViewRippler 33 mRoot = root; in start() 36 mRoot.postOnAnimationDelayed(mRipple, RIPPLE_OFFSET_MS); in start() 37 mRoot.postOnAnimationDelayed(mRipple, RIPPLE_INTERVAL_MS); in start() 38 mRoot.postOnAnimationDelayed(mRipple, 2 * RIPPLE_INTERVAL_MS); in start() 39 mRoot.postOnAnimationDelayed(mRipple, 3 * RIPPLE_INTERVAL_MS); in start() 40 mRoot.postOnAnimationDelayed(mRipple, 4 * RIPPLE_INTERVAL_MS); in start() 44 if (mRoot != null) mRoot.removeCallbacks(mRipple); in stop() 50 if (!mRoot.isAttachedToWindow()) return; 51 mRoot.setPressed(true /* pressed */); [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayAreaPolicyBuilderTest.java | 94 private RootDisplayArea mRoot; field in DisplayAreaPolicyBuilderTest 107 mRoot = new SurfacelessDisplayAreaRoot(mWms); in setup() 128 new DisplayAreaPolicyBuilder.HierarchyBuilder(mRoot) in testBuilder() 171 List<DisplayArea<?>> actualOrder = collectLeafAreas(mRoot); in testBuilder() 192 mRoot, mImeContainer); in testBuilder_defaultPolicy_hasOneHandedFeature() 210 mRoot, mImeContainer); in testBuilder_defaultPolicy_hasWindowedMagnificationFeature() 226 mRoot, mImeContainer); in testBuilder_defaultPolicy_hasFullscreenMagnificationFeature() 243 mRoot, mImeContainer); in testBuilder_defaultPolicy_hasImePlaceholderFeature() 258 new DisplayAreaPolicyBuilder.HierarchyBuilder(mRoot) in testBuilder_createCustomizedDisplayAreaForFeature() 294 builder.setRootHierarchy(new DisplayAreaPolicyBuilder.HierarchyBuilder(mRoot) in testBuilder_singleRoot_validateSettings() [all …]
|
D | WindowManagerSettingsTests.java | 93 clearInvocations(mWm.mRoot); in testFreeformWindow_valueChanged_updatesDisplaySettings() 97 verify(mWm.mRoot).onSettingsRetrieved(); in testFreeformWindow_valueChanged_updatesDisplaySettings() 99 clearInvocations(mWm.mRoot); in testFreeformWindow_valueChanged_updatesDisplaySettings() 103 verify(mWm.mRoot, never()).onSettingsRetrieved(); in testFreeformWindow_valueChanged_updatesDisplaySettings() 142 clearInvocations(mWm.mRoot); in testChangeBaseDisplaySettingsPath() 155 verify(mWm.mDisplayWindowSettings, times(mWm.mRoot.mChildren.size())) in testChangeBaseDisplaySettingsPath() 158 for (DisplayContent dc : mWm.mRoot.mChildren) { in testChangeBaseDisplaySettingsPath() 162 verify(mWm.mRoot, atLeastOnce()).performSurfacePlacement(); in testChangeBaseDisplaySettingsPath()
|
D | TaskDisplayAreaTests.java | 281 mWm.mRoot.positionChildAt(WindowContainer.POSITION_TOP, createNewDisplay(), in testDisplayPositionWithPinnedRootTask() 286 final int indexOfDisplayWithPinnedRootTask = mWm.mRoot.mChildren.indexOf(mDisplayContent); in testDisplayPositionWithPinnedRootTask() 289 mWm.mRoot.getChildCount() - 1, indexOfDisplayWithPinnedRootTask); in testDisplayPositionWithPinnedRootTask() 306 mWm.mRoot.positionChildAt(WindowContainer.POSITION_TOP, createNewDisplay(), in testMovingChildTaskOnTop() 311 mWm.mRoot.getChildCount() - 2, mWm.mRoot.mChildren.indexOf(mDisplayContent)); in testMovingChildTaskOnTop() 318 mWm.mRoot.getChildCount() - 1, mWm.mRoot.mChildren.indexOf(mDisplayContent)); in testMovingChildTaskOnTop() 335 mWm.mRoot.positionChildAt(WindowContainer.POSITION_TOP, createNewDisplay(), in testDontMovingChildTaskOnTop() 340 mWm.mRoot.getChildCount() - 2, mWm.mRoot.mChildren.indexOf(mDisplayContent)); in testDontMovingChildTaskOnTop() 348 mWm.mRoot.getChildCount() - 2, mWm.mRoot.mChildren.indexOf(mDisplayContent)); in testDontMovingChildTaskOnTop() 590 TaskDisplayArea defaultTaskDisplayArea = mWm.mRoot.getDefaultTaskDisplayArea(); in testGetOrCreateRootHomeTask_defaultDisplay()
|
D | SurfaceControlViewHostTests.java | 151 private final SurfaceControl mRoot; field in SurfaceControlViewHostTests.TestWindowlessWindowManager 156 mRoot = rootSurface; in TestWindowlessWindowManager() 162 return mRoot; in getParentSurface()
|
D | RootWindowContainerTests.java | 120 mWm.mRoot.onSettingsRetrieved(); in testUpdateDefaultTaskDisplayAreaWindowingModeOnSettingsRetrieved() 145 assertEquals(activity, mWm.mRoot.findActivity(activity.intent, activity.info, in testFindActivityByTargetComponent() 162 assertEquals(activity, mWm.mRoot.findTask(activity, activity.getTaskDisplayArea(), in testFindTask_includeLaunchedFromBubbled() 179 assertNull(mWm.mRoot.findTask(activity, activity.getTaskDisplayArea(), in testFindTask_ignoreLaunchedFromBubbled() 185 DisplayContent displayContent = mWm.mRoot.getDisplayContent(DEFAULT_DISPLAY); in testAllPausedActivitiesComplete() 191 assertThat(mWm.mRoot.allPausedActivitiesComplete()).isFalse(); in testAllPausedActivitiesComplete() 194 assertThat(mWm.mRoot.allPausedActivitiesComplete()).isTrue(); in testAllPausedActivitiesComplete() 197 assertThat(mWm.mRoot.allPausedActivitiesComplete()).isTrue(); in testAllPausedActivitiesComplete() 200 assertThat(mWm.mRoot.allPausedActivitiesComplete()).isTrue(); in testAllPausedActivitiesComplete() 203 assertThat(mWm.mRoot.allPausedActivitiesComplete()).isTrue(); in testAllPausedActivitiesComplete() [all …]
|
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/ |
D | ViewCapture.java | 149 if (listener.mRoot != null && listener.mRoot.getContext() != null) { in startCapture() 150 listener.mRoot.getContext().unregisterComponentCallbacks(listener); in startCapture() 169 if (rootView == it.mRoot) { 170 it.mRoot.getViewTreeObserver().removeOnDrawListener(it); 171 it.mRoot = null; 215 l -> l.mRoot.equals(view)).thenApply(list -> list.stream().findFirst().map(w -> 283 public View mRoot; 297 mRoot = view; 310 captureViewTree(mRoot, mViewRef); 413 if (mRoot == null) return; [all …]
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | OverlayTest.java | 28 ViewGroup mRoot; field in OverlayTest 36 mRoot = (ViewGroup) mContainer.getParent(); in onCreate() 43 mRoot.getOverlay().add(fadingButton); in onClick() 48 mRoot.getOverlay().remove(fadingButton); in onClick()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | HeapDumpProvider.java | 36 private File mRoot; field in HeapDumpProvider 41 mRoot = new File(getContext().createCredentialProtectedStorageContext().getFilesDir(), in onCreate() 43 return mRoot.mkdir(); in onCreate() 67 return (new File(mRoot, tag)).delete() ? 1 : 0; in delete() 89 return ParcelFileDescriptor.open(new File(mRoot, tag), pMode); in openFile()
|
D | BugreportStorageProvider.java | 50 private File mRoot; field in BugreportStorageProvider 55 mRoot = new File(getContext().getFilesDir(), "bugreports"); in onCreate() 128 return mRoot; in getFileForDocId() 136 final File file = new File(mRoot, name); in getFileForDocId() 156 row.add(Document.COLUMN_DISPLAY_NAME, mRoot.getName()); in includeDefaultDocument() 157 row.add(Document.COLUMN_LAST_MODIFIED, mRoot.lastModified()); in includeDefaultDocument()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | DefaultUiController.java | 65 protected final FrameLayout mRoot; field in DefaultUiController 87 mRoot = new FrameLayout(context); in DefaultUiController() 107 LayoutInflater.from(context).inflate(R.layout.invocation_lights, mRoot, false); in DefaultUiController() 109 mRoot.addView(mInvocationLightsView); in DefaultUiController() 185 mWindowManager.addView(mRoot, mLayoutParams); in attach() 192 mWindowManager.removeViewImmediate(mRoot); in detach()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayAreaPolicyBuilder.java | 296 final int rootId = displayAreaHierarchy.mRoot.mFeatureId; in validateIds() 358 displayAreaGroupRoots.add(hierarchyBuilder.mRoot); in build() 363 mRootHierarchyBuilder.mRoot, displayAreaGroupRoots); in build() 365 return new Result(wmService, mRootHierarchyBuilder.mRoot, displayAreaGroupRoots, in build() 464 private final RootDisplayArea mRoot; field in DisplayAreaPolicyBuilder.HierarchyBuilder 471 mRoot = root; in HierarchyBuilder() 506 final WindowManagerPolicy policy = mRoot.mWmService.mPolicy; in build() 607 root.instantiateChildren(mRoot, displayAreaForLayer, 0, featureAreas); in build() 611 mRoot.onHierarchyBuilt(mFeatures, displayAreaForLayer, featureAreas); in build() 638 leafArea.mExisting = displayAreaGroupHierarchyBuilders.get(i).mRoot; in addDisplayAreaGroupsToApplicationLayer() [all …]
|
D | WindowManagerService.java | 512 mRoot.forAllDisplayPolicies(p -> p.onVrStateChangedLw(enabled)); 707 final RootWindowContainer mRoot; field in WindowManagerService 983 mRoot.onSettingsRetrieved(); in updateFreeformWindowManagement() 1010 mRoot.forAllDisplays(display -> { in updateDisplaySettingsLocation() 1035 mRoot.refreshSecureSurfaceState(); in updateDisableSecureWindows() 1303 mRoot = new RootWindowContainer(this); in WindowManagerService() 1450 DisplayContent dc = mRoot.getDisplayContent(displayId); in WindowManagerService() 2011 final WindowToken wToken = mRoot.getWindowToken(token); in getDisplayContentOrCreate() 2017 return mRoot.getDisplayContentOrCreate(displayId); in getDisplayContentOrCreate() 2052 mRoot.refreshSecureSurfaceState(); in refreshScreenCaptureDisabled() [all …]
|
D | ResetTargetTaskHelper.java | 38 private ActivityRecord mRoot; field in ResetTargetTaskHelper 51 mRoot = null; in reset() 65 targetTask.mWmService.mRoot.forAllLeafTasks(this, true /* traverseTopToBottom */); in process() 75 mRoot = task.getRootActivity(true); in accept() 76 if (mRoot == null) return; in accept() 87 if (r == mRoot) return true; in test()
|
D | InputManagerCallback.java | 121 mService.mRoot.forAllDisplays(DisplayContent::sendNewConfiguration); in notifyConfigurationChanged() 141 mService.mRoot.forAllDisplayPolicies( in notifyPointerLocationChanged() 215 for (int i = mService.mRoot.mChildren.size() - 1; i >= 0; --i) { in getPointerDisplayId() 216 final DisplayContent displayContent = mService.mRoot.mChildren.get(i); in getPointerDisplayId() 258 final DisplayContent dc = mService.mRoot.getDisplayContent(displayId); in getParentSurfaceForPointers() 272 final DisplayContent dc = mService.mRoot.getDisplayContent(displayId); in createSurfaceForGestureMonitor()
|
D | WindowSurfacePlacer.java | 130 mService.mRoot.mWallpaperActionPending = false; in performSurfacePlacement() 177 mService.mRoot.performSurfacePlacement(); in performSurfacePlacementLoop() 181 if (mService.mRoot.isLayoutNeeded()) { in performSurfacePlacementLoop()
|
D | WindowAnimator.java | 119 final RootWindowContainer root = mService.mRoot; in animate() 220 mService.mRoot.isAnimating(TRANSITION | CHILDREN /* flags */, in updateRunningExpensiveAnimationsLegacy() 247 for (int i = 0; i < mService.mRoot.getChildCount(); i++) { in dumpLocked() 248 final DisplayContent dc = mService.mRoot.getChildAt(i); in dumpLocked()
|
D | InputConsumerImpl.java | 81 mService.mRoot.getDisplayContent(displayId).getSession()) in InputConsumerImpl() 159 final DisplayContent dc = mService.mRoot.getDisplayContent(mWindowHandle.displayId); in binderDied()
|
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/ |
D | ChatActivity.java | 52 private View mRoot; field in ChatActivity 63 mRoot = findViewById(R.id.root); in onCreate() 64 mRoot.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN in onCreate() 70 mRoot.setOnTouchListener(new View.OnTouchListener() { in onCreate() 156 mRoot.setOnApplyWindowInsetsListener(new View.OnApplyWindowInsetsListener() { in onCreate() 159 mRoot.setPadding(insets.getSystemWindowInsetLeft(), in onCreate() 166 mRoot.setWindowInsetsAnimationCallback(new Callback(DISPATCH_MODE_STOP) { in onCreate()
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | RcsConfig.java | 170 private final Characteristic mRoot; field in RcsConfig 178 mRoot = new Characteristic(null, null); in RcsConfig() 179 mCurrent = mRoot; in RcsConfig() 181 Characteristic current = mRoot; in RcsConfig() 343 mCurrent = mRoot; in moveToRoot() 350 return mRoot; in getRoot() 374 sb.append(mRoot); in toString() 389 return mRoot.equals(other.mRoot) && mCurrent.equals(other.mCurrent); in equals() 394 return Objects.hash(mRoot, mCurrent); in hashCode()
|
/frameworks/base/core/java/android/widget/ |
D | MediaController.java | 84 private View mRoot; field in MediaController 141 mRoot = this; in MediaController() 150 if (mRoot != null) in onFinishInflate() 151 initControllerView(mRoot); in onFinishInflate() 289 mRoot = inflate.inflate(com.android.internal.R.layout.media_controller, null); in makeControllerView() 291 initControllerView(mRoot); in makeControllerView() 293 return mRoot; in makeControllerView() 584 if (mRoot == null || mPauseButton == null) in updatePausePlay() 733 if (mRoot != null) { in setPrevNextListeners()
|
/frameworks/native/cmds/installd/ |
D | CrateManager.cpp | 46 mRoot = create_data_user_ce_package_path(uuid, userId, (const char*)packageName.c_str()); in CrateManager() 47 mCratedFoldersRoot = StringPrintf("%s/crates", mRoot.c_str()); in CrateManager()
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerHierarchy.cpp | 200 mRoot = nullptr; in init() 227 parent = &mRoot; in attachToParent() 411 attachHierarchyToRelativeParent(&mRoot); in doUpdate() 427 bool hasRelZLoop = mRoot.hasRelZLoop(invalidRelativeRoot); in update() 436 hasRelZLoop = mRoot.hasRelZLoop(invalidRelativeRoot); in update() 441 return mRoot; in getHierarchy()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewGroupGetChildLocalHitRegionTest.java | 49 private LinearLayout mRoot; field in ViewGroupGetChildLocalHitRegionTest 55 mRoot = activity.findViewById(R.id.linear_layout); in setup() 56 mRoot.getLocationInWindow(mRootLocation); in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/ |
D | AppClipsActivity.java | 92 private View mRoot; field in AppClipsActivity 150 mRoot = mLayout.findViewById(R.id.root); in onCreate() 212 mRoot.setBackgroundColor(colorBackgroundFloating); in setScreenshot()
|