Home
last modified time | relevance | path

Searched refs:mRoot (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBouncer.java98 protected ViewGroup mRoot; field in KeyguardBouncer
164 if (mRoot.getVisibility() == View.VISIBLE || mShowingSoon) { in show()
215 if (mRoot != null) { in onFullyShown()
216 mRoot.announceForAccessibility( in onFullyShown()
233 if (mRoot != null) { in setVisibility()
234 mRoot.setVisibility(visibility); in setVisibility()
319 if (mRoot != null) { in hide()
353 && mRoot != null && mRoot.getVisibility() == View.VISIBLE) { in onScreenTurnedOff()
359 return (mShowingSoon || (mRoot != null && mRoot.getVisibility() == View.VISIBLE)) in isShowing()
383 boolean wasInitialized = mRoot != null; in prepare()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaPolicyBuilderTest.java90 private RootDisplayArea mRoot; field in DisplayAreaPolicyBuilderTest
103 mRoot = new SurfacelessDisplayAreaRoot(mWms); in setup()
123 new DisplayAreaPolicyBuilder.HierarchyBuilder(mRoot) in testBuilder()
166 List<DisplayArea<?>> actualOrder = collectLeafAreas(mRoot); in testBuilder()
187 mRoot, mImeContainer); in testBuilder_defaultPolicy_hasOneHandedFeature()
205 mRoot, mImeContainer); in testBuilder_defaultPolicy_hasOneHandedBackgroundFeature()
224 mRoot, mImeContainer); in testBuilder_defaultPolicy_hasWindowedMagnificationFeature()
240 mRoot, mImeContainer); in testBuilder_defaultPolicy_hasFullscreenMagnificationFeature()
257 mRoot, mImeContainer); in testBuilder_defaultPolicy_hasImePlaceholderFeature()
272 new DisplayAreaPolicyBuilder.HierarchyBuilder(mRoot) in testBuilder_createCustomizedDisplayAreaForFeature()
[all …]
DWindowManagerSettingsTests.java93 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()
DTaskDisplayAreaTests.java283 mWm.mRoot.positionChildAt(WindowContainer.POSITION_TOP, createNewDisplay(), in testDisplayPositionWithPinnedRootTask()
288 final int indexOfDisplayWithPinnedRootTask = mWm.mRoot.mChildren.indexOf(mDisplayContent); in testDisplayPositionWithPinnedRootTask()
291 mWm.mRoot.getChildCount() - 1, indexOfDisplayWithPinnedRootTask); in testDisplayPositionWithPinnedRootTask()
308 mWm.mRoot.positionChildAt(WindowContainer.POSITION_TOP, createNewDisplay(), in testMovingChildTaskOnTop()
313 mWm.mRoot.getChildCount() - 2, mWm.mRoot.mChildren.indexOf(mDisplayContent)); in testMovingChildTaskOnTop()
320 mWm.mRoot.getChildCount() - 1, mWm.mRoot.mChildren.indexOf(mDisplayContent)); in testMovingChildTaskOnTop()
337 mWm.mRoot.positionChildAt(WindowContainer.POSITION_TOP, createNewDisplay(), in testDontMovingChildTaskOnTop()
342 mWm.mRoot.getChildCount() - 2, mWm.mRoot.mChildren.indexOf(mDisplayContent)); in testDontMovingChildTaskOnTop()
350 mWm.mRoot.getChildCount() - 2, mWm.mRoot.mChildren.indexOf(mDisplayContent)); in testDontMovingChildTaskOnTop()
539 TaskDisplayArea defaultTaskDisplayArea = mWm.mRoot.getDefaultTaskDisplayArea(); in testGetOrCreateRootHomeTask_defaultDisplay()
DRootWindowContainerTests.java116 mWm.mRoot.onSettingsRetrieved(); in testUpdateDefaultDisplayWindowingModeOnSettingsRetrieved()
140 assertEquals(activity, mWm.mRoot.findActivity(activity.intent, activity.info, in testFindActivityByTargetComponent()
146 DisplayContent displayContent = mWm.mRoot.getDisplayContent(DEFAULT_DISPLAY); in testAllPausedActivitiesComplete()
152 assertThat(mWm.mRoot.allPausedActivitiesComplete()).isFalse(); in testAllPausedActivitiesComplete()
155 assertThat(mWm.mRoot.allPausedActivitiesComplete()).isTrue(); in testAllPausedActivitiesComplete()
158 assertThat(mWm.mRoot.allPausedActivitiesComplete()).isTrue(); in testAllPausedActivitiesComplete()
161 assertThat(mWm.mRoot.allPausedActivitiesComplete()).isTrue(); in testAllPausedActivitiesComplete()
164 assertThat(mWm.mRoot.allPausedActivitiesComplete()).isTrue(); in testAllPausedActivitiesComplete()
172 mWm.mRoot.rankTaskLayers(); in testTaskLayerRank()
180 mWm.mRoot.rankTaskLayers(); in testTaskLayerRank()
[all …]
DWallpaperControllerTests.java166 final DisplayContent dc = mWm.mRoot.getDefaultDisplay(); in testWallpaperZoom()
192 final DisplayContent dc = mWm.mRoot.getDefaultDisplay(); in testWallpaperZoom_shouldNotScaleWallpaper()
222 final DisplayContent dc = mWm.mRoot.getDefaultDisplay(); in testWallpaperZoom_multipleCallers()
270 final DisplayContent dc = mWm.mRoot.getDefaultDisplay(); in testWallpaperTokenWindowingMode()
308 final DisplayContent dc = mWm.mRoot.getDefaultDisplay(); in testWallpaperTokenVisibility()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DOverlayTest.java28 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/
DHeapDumpProvider.java36 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()
DBugreportStorageProvider.java50 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/navigationbar/
DRotationButtonController.java526 private View mRoot; field in RotationButtonController.ViewRippler
531 mRoot = root; in start()
534 mRoot.postOnAnimationDelayed(mRipple, RIPPLE_OFFSET_MS); in start()
535 mRoot.postOnAnimationDelayed(mRipple, RIPPLE_INTERVAL_MS); in start()
536 mRoot.postOnAnimationDelayed(mRipple, 2 * RIPPLE_INTERVAL_MS); in start()
537 mRoot.postOnAnimationDelayed(mRipple, 3 * RIPPLE_INTERVAL_MS); in start()
538 mRoot.postOnAnimationDelayed(mRipple, 4 * RIPPLE_INTERVAL_MS); in start()
542 if (mRoot != null) mRoot.removeCallbacks(mRipple); in stop()
548 if (!mRoot.isAttachedToWindow()) return;
549 mRoot.setPressed(true /* pressed */);
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowSurfacePlacer.java130 mService.mRoot.mWallpaperActionPending = false; in performSurfacePlacement()
177 mService.mRoot.performSurfacePlacement(); in performSurfacePlacementLoop()
181 if (mService.mRoot.isLayoutNeeded()) { in performSurfacePlacementLoop()
231 pw.println(prefix + "mHoldScreenWindow=" + mService.mRoot.mHoldScreenWindow); in dump()
232 pw.println(prefix + "mObscuringWindow=" + mService.mRoot.mObscuringWindow); in dump()
DWindowManagerService.java512 mRoot.forAllDisplayPolicies(c);
683 RootWindowContainer mRoot; field in WindowManagerService
931 mRoot.forAllDisplayPolicies(c); in updatePointerLocation()
956 mRoot.onSettingsRetrieved(); in updateFreeformWindowManagement()
983 mRoot.forAllDisplays(display -> { in updateDisplaySettingsLocation()
1123 final ActivityRecord atoken = mRoot.getActivityRecord(token);
1249 mRoot = new RootWindowContainer(this); in WindowManagerService()
1932 final WindowToken wToken = mRoot.getWindowToken(token); in getDisplayContentOrCreate()
1938 return mRoot.getDisplayContentOrCreate(displayId); in getDisplayContentOrCreate()
2020 mRoot.setSecureSurfaceState(userId); in refreshScreenCaptureDisabled()
[all …]
DResetTargetTaskHelper.java39 private ActivityRecord mRoot; field in ResetTargetTaskHelper
51 mRoot = null; in reset()
67 targetTask.mWmService.mRoot.forAllLeafTasks(c, true /*traverseTopToBottom*/); in process()
77 mRoot = task.getRootActivity(true); in processTask()
78 if (mRoot == null) return; in processTask()
92 if (r == mRoot) return true; in processActivity()
DDisplayAreaPolicyBuilder.java267 final int rootId = displayAreaHierarchy.mRoot.mFeatureId; in validateIds()
323 displayAreaGroupRoots.add(hierarchyBuilder.mRoot); in build()
328 mRootHierarchyBuilder.mRoot, displayAreaGroupRoots); in build()
330 return new Result(wmService, mRootHierarchyBuilder.mRoot, displayAreaGroupRoots, in build()
384 private final RootDisplayArea mRoot; field in DisplayAreaPolicyBuilder.HierarchyBuilder
391 mRoot = root; in HierarchyBuilder()
426 final WindowManagerPolicy policy = mRoot.mWmService.mPolicy; in build()
527 root.instantiateChildren(mRoot, displayAreaForLayer, 0, featureAreas); in build()
531 mRoot.onHierarchyBuilt(mFeatures, displayAreaForLayer, featureAreas); in build()
558 leafArea.mExisting = displayAreaGroupHierarchyBuilders.get(i).mRoot; in addDisplayAreaGroupsToApplicationLayer()
[all …]
DInputManagerCallback.java120 mService.mRoot.forAllDisplays(DisplayContent::sendNewConfiguration); in notifyConfigurationChanged()
199 for (int i = mService.mRoot.mChildren.size() - 1; i >= 0; --i) { in getPointerDisplayId()
200 final DisplayContent displayContent = mService.mRoot.mChildren.get(i); in getPointerDisplayId()
DWindowAnimator.java136 final RootWindowContainer root = mService.mRoot; in animate()
254 mService.mRoot.getDisplayContent(mDisplayContentsAnimators.keyAt(i)); in dumpLocked()
282 if (displayAnimator == null && mService.mRoot.getDisplayContent(displayId) != null) { in getDisplayContentsAnimatorLocked()
DDisplayAreaPolicy.java56 protected final RootDisplayArea mRoot; field in DisplayAreaPolicy
66 mRoot = root; in DisplayAreaPolicy()
DInputConsumerImpl.java85 …mInputSurface = mService.makeSurfaceBuilder(mService.mRoot.getDisplayContent(displayId).getSession… in InputConsumerImpl()
162 final DisplayContent dc = mService.mRoot.getDisplayContent(mWindowHandle.displayId); in binderDied()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DDefaultUiController.java63 protected final FrameLayout mRoot; field in DefaultUiController
80 mRoot = new FrameLayout(context); in DefaultUiController()
98 LayoutInflater.from(context).inflate(R.layout.invocation_lights, mRoot, false); in DefaultUiController()
99 mRoot.addView(mInvocationLightsView); in DefaultUiController()
175 mWindowManager.addView(mRoot, mLayoutParams); in attach()
182 mWindowManager.removeViewImmediate(mRoot); in detach()
/frameworks/base/telephony/java/android/telephony/ims/
DRcsConfig.java169 private final Characteristic mRoot; field in RcsConfig
177 mRoot = new Characteristic(null, null); in RcsConfig()
178 mCurrent = mRoot; in RcsConfig()
180 Characteristic current = mRoot; in RcsConfig()
340 mCurrent = mRoot; in moveToRoot()
347 return mRoot; in getRoot()
371 sb.append(mRoot); in toString()
386 return mRoot.equals(other.mRoot) && mCurrent.equals(other.mCurrent); in equals()
391 return Objects.hash(mRoot, mCurrent); in hashCode()
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
DChatActivity.java51 private View mRoot; field in ChatActivity
62 mRoot = findViewById(R.id.root); in onCreate()
63 mRoot.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN in onCreate()
69 mRoot.setOnTouchListener(new View.OnTouchListener() { in onCreate()
155 mRoot.setOnApplyWindowInsetsListener(new View.OnApplyWindowInsetsListener() { in onCreate()
158 mRoot.setPadding(insets.getSystemWindowInsetLeft(), in onCreate()
165 mRoot.setWindowInsetsAnimationCallback(new Callback(DISPATCH_MODE_STOP) { in onCreate()
/frameworks/base/core/java/android/widget/
DMediaController.java80 private View mRoot; field in MediaController
121 mRoot = this; in MediaController()
130 if (mRoot != null) in onFinishInflate()
131 initControllerView(mRoot); in onFinishInflate()
267 mRoot = inflate.inflate(com.android.internal.R.layout.media_controller, null); in makeControllerView()
269 initControllerView(mRoot); in makeControllerView()
271 return mRoot; in makeControllerView()
560 if (mRoot == null || mPauseButton == null) in updatePausePlay()
709 if (mRoot != null) { in setPrevNextListeners()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DStoragedUidIoStatsReaderTest.java51 private File mRoot; field in StoragedUidIoStatsReaderTest
68 mRoot = getContext().getFilesDir(); in setUp()
76 FileUtils.deleteContents(mRoot); in tearDown()
/frameworks/native/cmds/installd/
DCrateManager.cpp45 mRoot = create_data_user_ce_package_path(uuid, userId, (const char*)packageName.c_str()); in CrateManager()
46 mCratedFoldersRoot = StringPrintf("%s/crates", mRoot.c_str()); in CrateManager()
DCrateManager.h72 std::string mRoot;

123