Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBouncer.java90 protected ViewGroup mRoot; field in KeyguardBouncer
152 if (mRoot.getVisibility() == View.VISIBLE || mShowingSoon) { in show()
193 return mRoot == null || mRoot.getVisibility() != View.VISIBLE ? null : mLockIconContainer; in getLockIconContainer()
215 if (mRoot != null) { in onFullyHidden()
216 mRoot.setVisibility(View.INVISIBLE); in onFullyHidden()
225 mRoot.setVisibility(View.VISIBLE);
307 if (mRoot != null) { in hide()
308 mRoot.setVisibility(View.INVISIBLE); in hide()
340 if (mKeyguardView != null && mRoot != null && mRoot.getVisibility() == View.VISIBLE) { in onScreenTurnedOff()
346 return (mShowingSoon || (mRoot != null && mRoot.getVisibility() == View.VISIBLE)) in isShowing()
[all …]
DRotationButtonController.java444 private View mRoot; field in RotationButtonController.ViewRippler
449 mRoot = root; in start()
452 mRoot.postOnAnimationDelayed(mRipple, RIPPLE_OFFSET_MS); in start()
453 mRoot.postOnAnimationDelayed(mRipple, RIPPLE_INTERVAL_MS); in start()
454 mRoot.postOnAnimationDelayed(mRipple, 2 * RIPPLE_INTERVAL_MS); in start()
455 mRoot.postOnAnimationDelayed(mRipple, 3 * RIPPLE_INTERVAL_MS); in start()
456 mRoot.postOnAnimationDelayed(mRipple, 4 * RIPPLE_INTERVAL_MS); in start()
460 if (mRoot != null) mRoot.removeCallbacks(mRipple); in stop()
466 if (!mRoot.isAttachedToWindow()) return;
467 mRoot.setPressed(true /* pressed */);
[all …]
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/
DXMLParser.java56 private XMLNode mRoot = null; field in XMLParser
65 mRoot = null; in parse()
71 return mRoot; in parse()
84 if (mRoot == null) { in startElement()
85 mRoot = mCurrent; in startElement()
/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/SystemUI/src/com/android/systemui/assist/ui/
DDefaultUiController.java53 protected final FrameLayout mRoot; field in DefaultUiController
67 mRoot = new FrameLayout(context); in DefaultUiController()
84 LayoutInflater.from(context).inflate(R.layout.invocation_lights, mRoot, false); in DefaultUiController()
85 mRoot.addView(mInvocationLightsView); in DefaultUiController()
147 ScreenDecorations decorations = SysUiServiceProvider.getComponent(mRoot.getContext(), in updateAssistHandleVisibility()
154 mWindowManager.addView(mRoot, mLayoutParams); in attach()
161 mWindowManager.removeViewImmediate(mRoot); in detach()
/frameworks/base/tests/ActivityViewTest/src/com/google/android/test/activityview/
DActivityViewTestActivity.java36 private View mRoot; field in ActivityViewTestActivity
46 mRoot = findViewById(R.id.test_activity_root); in onCreate()
51 ViewTreeObserver viewTreeObserver = mRoot.getViewTreeObserver(); in onCreate()
94 mWidthTextView.setText("" + mRoot.getWidth()); in updateDimensionTexts()
95 mHeightTextView.setText("" + mRoot.getHeight()); in updateDimensionTexts()
/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/services/tests/wmtests/src/com/android/server/wm/
DRootWindowContainerTests.java60 assertTrue(mWm.mRoot.isAnyNonToastWindowVisibleForUid(FAKE_CALLING_UID)); in testIsAnyNonToastWindowVisibleForUid_oneToastOneAppStartOneNonToastBothVisible()
69 assertFalse(mWm.mRoot.isAnyNonToastWindowVisibleForUid(FAKE_CALLING_UID)); in testIsAnyNonToastWindowVisibleForUid_onlyToastVisible()
79 assertFalse(mWm.mRoot.isAnyNonToastWindowVisibleForUid(FAKE_CALLING_UID)); in testIsAnyNonToastWindowVisibleForUid_onlyAppStartingVisible()
89 assertFalse(mWm.mRoot.isAnyNonToastWindowVisibleForUid(FAKE_CALLING_UID)); in testIsAnyNonToastWindowVisibleForUid_aFewNonToastButNoneVisible()
101 mWm.mRoot.onSettingsRetrieved(); in testUpdateDefaultDisplayWindowingModeOnSettingsRetrieved()
DTaskStackContainersTests.java118 mWm.mRoot.positionChildAt(WindowContainer.POSITION_TOP, createNewDisplay(), in testDisplayPositionWithPinnedStack()
123 final int indexOfDisplayWithPinnedStack = mWm.mRoot.mChildren.indexOf(mDisplayContent); in testDisplayPositionWithPinnedStack()
126 mWm.mRoot.getChildCount() - 1, indexOfDisplayWithPinnedStack); in testDisplayPositionWithPinnedStack()
DDisplayContentTests.java282 DisplayContent defaultDisplay = mWm.mRoot.getDisplayContent(DEFAULT_DISPLAY); in testDefaultDisplayOverrideConfigUpdate()
293 Configuration globalConfig = mWm.mRoot.getConfiguration(); in testDefaultDisplayOverrideConfigUpdate()
299 globalConfig = mWm.mRoot.getConfiguration(); in testDefaultDisplayOverrideConfigUpdate()
333 assertEquals(mWm.mRoot.getTopFocusedDisplayContent().mCurrentFocus, in testInputEventBringsCorrectDisplayInFocus()
339 assertEquals(mWm.mRoot.getTopFocusedDisplayContent().mCurrentFocus, in testInputEventBringsCorrectDisplayInFocus()
368 assertEquals(window1, mWm.mRoot.getTopFocusedDisplayContent().mCurrentFocus); in doTestFocusedWindowMultipleDisplays()
374 assertEquals(window1, mWm.mRoot.getTopFocusedDisplayContent().mCurrentFocus); in doTestFocusedWindowMultipleDisplays()
382 assertEquals(window2, mWm.mRoot.getTopFocusedDisplayContent().mCurrentFocus); in doTestFocusedWindowMultipleDisplays()
389 assertEquals(window1, mWm.mRoot.getTopFocusedDisplayContent().mCurrentFocus); in doTestFocusedWindowMultipleDisplays()
397 mWm.mRoot.getTopFocusedDisplayContent().getDisplayId()); in doTestFocusedWindowMultipleDisplays()
DRecentsAnimationControllerTest.java83 spyOn(mWm.mRoot); in setUp()
84 doNothing().when(mWm.mRoot).performSurfacePlacement(anyBoolean()); in setUp()
85 doReturn(mDisplayContent).when(mWm.mRoot).getDisplayContent(anyInt()); in setUp()
DWindowTestsBase.java204 mWm.mRoot.forAllWindows(w -> { in tearDownBase()
214 for (int i = mWm.mRoot.mChildren.size() - 1; i >= 0; --i) { in tearDownBase()
215 final DisplayContent displayContent = mWm.mRoot.mChildren.get(i); in tearDownBase()
438 return mWm.mRoot.createDisplayContent(display, mockAd); in createNewDisplay()
DAppTransitionTests.java72 spyOn(mWm.mRoot); in setUp()
73 doNothing().when(mWm.mRoot).performSurfacePlacement(anyBoolean()); in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DDomainMatcher.java39 private final Label mRoot; field in DomainMatcher
123 mRoot = new Label(MATCH_NONE); in DomainMatcher()
130 mRoot.addDomain(secondaryLabel.iterator(), MATCH_SECONDARY); in DomainMatcher()
138 mRoot.addDomain(primaryLabel.iterator(), MATCH_PRIMARY); in DomainMatcher()
164 Label label = mRoot; in isSubDomain()
213 return "Domain matcher " + mRoot; in toString()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowAnimator.java157 final DisplayContent dc = mService.mRoot.getDisplayContent(displayId); in animate()
188 final DisplayContent dc = mService.mRoot.getDisplayContent(displayId); in animate()
219 boolean hasPendingLayoutChanges = mService.mRoot.hasPendingLayoutChanges(this); in animate()
222 doRequest = mService.mRoot.copyAnimToLayoutParams(); in animate()
229 final boolean rootAnimating = mService.mRoot.isSelfOrChildAnimating(); in animate()
247 mService.mRoot.removeReplacedWindows(); in animate()
284 mService.mRoot.getDisplayContent(mDisplayContentsAnimators.keyAt(i)); in dumpLocked()
312 final DisplayContent displayContent = mService.mRoot.getDisplayContent(displayId); in getPendingLayoutChanges()
320 final DisplayContent displayContent = mService.mRoot.getDisplayContent(displayId); in setPendingLayoutChanges()
336 if (displayAnimator == null && mService.mRoot.getDisplayContent(displayId) != null) { in getDisplayContentsAnimatorLocked()
DWindowManagerService.java406 mRoot.forAllDisplayPolicies(PooledLambda.obtainConsumer(
593 RootWindowContainer mRoot; field in WindowManagerService
780 mRoot.forAllDisplayPolicies(PooledLambda.obtainConsumer( in updatePointerLocation()
930 final AppWindowToken atoken = mRoot.getAppWindowToken(token);
1045 mRoot = new RootWindowContainer(this); in WindowManagerService()
1179 mRoot.forAllDisplays(DisplayContent::updateSystemGestureExclusionLimit); in WindowManagerService()
1555 mRoot.getDisplayContent(displayId).getDockedDividerController().setWindow(win); in addWindow()
1656 final WindowToken wToken = mRoot.getWindowToken(token); in getDisplayContentOrCreate()
1662 DisplayContent displayContent = mRoot.getDisplayContent(displayId); in getDisplayContentOrCreate()
1670 displayContent = mRoot.createDisplayContent(display, null /* controller */); in getDisplayContentOrCreate()
[all …]
DWindowSurfacePlacer.java109 mService.mRoot.mWallpaperActionPending = false; in performSurfacePlacement()
159 mService.mRoot.performSurfacePlacement(recoveringMemory); in performSurfacePlacementLoop()
163 if (mService.mRoot.isLayoutNeeded()) { in performSurfacePlacementLoop()
206 pw.println(prefix + "mHoldScreenWindow=" + mService.mRoot.mHoldScreenWindow); in dump()
207 pw.println(prefix + "mObscuringWindow=" + mService.mRoot.mObscuringWindow); in dump()
DWindowContainerController.java34 final RootWindowContainer mRoot; field in WindowContainerController
45 mRoot = mService != null ? mService.mRoot : null; in WindowContainerController()
DInputConsumerImpl.java93 mInputSurface = mService.makeSurfaceBuilder(mService.mRoot.getDisplayContent(displayId) in InputConsumerImpl()
171 mService.mRoot.getDisplayContent(mWindowHandle.displayId).getInputMonitor(); in binderDied()
DInputManagerCallback.java216 for (int i = mService.mRoot.mChildren.size() - 1; i >= 0; --i) { in getPointerDisplayId()
217 final DisplayContent displayContent = mService.mRoot.mChildren.get(i); in getPointerDisplayId()
/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()
DRemoteViews.java1612 if ((target == null) || !(target.mRoot instanceof ViewGroup)) { in initActionAsync()
1615 final ViewGroup targetVg = (ViewGroup) target.mRoot; in initActionAsync()
1618 final Context context = root.mRoot.getContext(); in initActionAsync()
1717 if ((target == null) || !(target.mRoot instanceof ViewGroup)) {
1721 final ViewGroup targetVg = (ViewGroup) target.mRoot;
3531 mListener.onViewInflated(viewTree.mRoot);
3539 a.apply(viewTree.mRoot, mParent, handler);
3551 mListener.onViewApplied(viewTree.mRoot);
3803 private View mRoot;
3807 mRoot = root;
[all …]
/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()
DKernelCpuProcStringReaderTest.java61 private File mRoot; field in KernelCpuProcStringReaderTest
74 mRoot = getContext().getFilesDir(); in setUp()
82 FileUtils.deleteContents(mRoot); in tearDown()

123