/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | WindowFrameTests.java | 134 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testLayoutInFullscreenTaskInsets() 173 w.mAttrs.x = 100; in testLayoutInFullscreenTaskInsets() 174 w.mAttrs.y = 100; in testLayoutInFullscreenTaskInsets() 175 w.mAttrs.width = 100; w.mAttrs.height = 100; //have to clear MATCH_PARENT in testLayoutInFullscreenTaskInsets() 191 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testLayoutInFullscreenTaskNoInsets() 205 w.mAttrs.width = 300; in testLayoutInFullscreenTaskNoInsets() 206 w.mAttrs.height = 300; in testLayoutInFullscreenTaskNoInsets() 222 w.mAttrs.flags = WindowManager.LayoutParams.FLAG_SCALED; in testLayoutInFullscreenTaskNoInsets() 225 w.mAttrs.width = 100; in testLayoutInFullscreenTaskNoInsets() 226 w.mAttrs.height = 100; in testLayoutInFullscreenTaskNoInsets() [all …]
|
D | WindowStateTests.java | 176 appWindow.mAttrs.flags |= FLAG_NOT_FOCUSABLE; in testCanBeImeTarget() 177 imeWindow.mAttrs.flags |= FLAG_NOT_FOCUSABLE; in testCanBeImeTarget() 188 appWindow.mAttrs.flags |= (FLAG_NOT_FOCUSABLE | FLAG_ALT_FOCUSABLE_IM); in testCanBeImeTarget() 189 imeWindow.mAttrs.flags |= (FLAG_NOT_FOCUSABLE | FLAG_ALT_FOCUSABLE_IM); in testCanBeImeTarget() 247 second.mAttrs.flags |= WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON; in testPrepareWindowToDisplayDuringRelayout() 262 first.mAttrs.flags |= WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON; in testPrepareWindowToDisplayDuringRelayout() 263 second.mAttrs.flags |= WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON; in testPrepareWindowToDisplayDuringRelayout() 283 firstWindow.mAttrs.flags |= WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON; in testPrepareWindowToDisplayDuringRelayout() 284 secondWindow.mAttrs.flags |= WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON; in testPrepareWindowToDisplayDuringRelayout() 303 app.mAttrs.alpha = 0.0f; in testCanAffectSystemUiFlags() [all …]
|
D | AppWindowTokenTests.java | 123 window12.mAttrs.width = 500; in testGetTopFullscreenWindow() 125 window11.mAttrs.width = 500; in testGetTopFullscreenWindow()
|
D | TaskSnapshotControllerTest.java | 107 secureWindow.mAttrs.flags |= FLAG_SECURE; in testGetSnapshotMode()
|
D | DisplayContentTests.java | 484 keyguard.mAttrs.screenOrientation = SCREEN_ORIENTATION_UNSPECIFIED; in testOrientationDefinedByKeyguard() 489 keyguard.mAttrs.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testOrientationDefinedByKeyguard()
|
D | WindowTestsBase.java | 200 win.mAttrs.flags |= FLAG_NOT_FOCUSABLE; in createCommonWindow()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowState.java | 244 final WindowManager.LayoutParams mAttrs = new WindowManager.LayoutParams(); field in WindowState 707 mAttrs.copyFrom(a); in WindowState() 708 mLastSurfaceInsets.set(mAttrs.surfaceInsets); in WindowState() 714 mEnforceSizeCompat = (mAttrs.privateFlags & PRIVATE_FLAG_COMPATIBLE_WINDOW) != 0; in WindowState() 718 + " token=" + token + " (" + mAttrs.token + ")" + " params=" + a); in WindowState() 736 if (mAttrs.type >= FIRST_SUB_WINDOW && mAttrs.type <= LAST_SUB_WINDOW) { in WindowState() 747 mLayoutAttached = mAttrs.type != in WindowState() 749 mIsImWindow = parentWindow.mAttrs.type == TYPE_INPUT_METHOD in WindowState() 750 || parentWindow.mAttrs.type == TYPE_INPUT_METHOD_DIALOG; in WindowState() 751 mIsWallpaper = parentWindow.mAttrs.type == TYPE_WALLPAPER; in WindowState() [all …]
|
D | WindowStateAnimator.java | 251 mAttrType = win.mAttrs.type; in WindowStateAnimator() 331 mWin.mAttrs.type == WindowManager.LayoutParams.TYPE_APPLICATION_STARTING; in finishDrawingLocked() 356 mWin.mAttrs.type == WindowManager.LayoutParams.TYPE_APPLICATION_STARTING) { in commitFinishDrawingLocked() 369 if (atoken == null || atoken.allDrawn || mWin.mAttrs.type == TYPE_APPLICATION_STARTING) { in commitFinishDrawingLocked() 458 if ((mWin.mAttrs.privateFlags & PRIVATE_FLAG_IS_ROUNDED_CORNERS_OVERLAY) != 0) { in createSurfaceLocked() 472 final WindowManager.LayoutParams attrs = w.mAttrs; in createSurfaceLocked() 721 tmpMatrix.postTranslate(mWin.mAttrs.surfaceInsets.left, in computeShownFrameLocked() 722 mWin.mAttrs.surfaceInsets.top); in computeShownFrameLocked() 745 || (!PixelFormat.formatHasAlpha(mWin.mAttrs.format) in computeShownFrameLocked() 803 if (w.mAttrs.type == TYPE_WALLPAPER) { in calculateCrop() [all …]
|
D | DisplayContent.java | 425 final int flags = w.mAttrs.flags; 467 if (w.mAttrs.type == TYPE_TOAST && w.mOwnerUid == lostFocusUid) { 470 w.mAttrs.hideTimeoutMilliseconds); 478 + ", flags=" + w.mAttrs.flags + ", canReceive=" + w.canReceiveKeys()); 510 if (wtoken != null && w.mAttrs.type != TYPE_APPLICATION_STARTING) { 552 ((w.mAttrs.privateFlags & PRIVATE_FLAG_KEYGUARD) != 0 || 560 if (w.mAttrs.type == TYPE_DREAM) { 613 } else if (w.mAttrs.type == TYPE_DREAM) { 622 + " fl=0x" + Integer.toHexString(w.mAttrs.flags)); 627 w -> mService.mPolicy.applyPostLayoutPolicyLw(w, w.mAttrs, w.getParentWindow(), [all …]
|
D | InputMonitor.java | 246 + "sending to " + windowState.mAttrs.getTitle() in notifyANR() 326 inputWindowHandle.inputFeatures = child.mAttrs.inputFeatures; in addInputWindowHandle() 660 final int flags = w.mAttrs.flags; in accept() 661 final int privateFlags = w.mAttrs.privateFlags; in accept() 662 final int type = w.mAttrs.type; in accept() 705 if (w.mAttrs.type == TYPE_WALLPAPER && w.isVisibleLw()) { in accept()
|
D | RootWindowContainer.java | 281 if (w.mAttrs.getTitle().toString().contains(name)) { in getWindowsByName() 881 if (WindowManagerService.excludeWindowTypeFromTapOutTask(win.mAttrs.type)) { in handleResizingWindows() 900 final WindowManager.LayoutParams attrs = w.mAttrs; in handleNotObscuredLocked() 912 + ", w.mAttrs.userActivityTimeout: " + w.mAttrs.userActivityTimeout); in handleNotObscuredLocked() 915 if (!syswin && w.mAttrs.userActivityTimeout >= 0 && mUserActivityTimeout < 0) { in handleNotObscuredLocked() 916 mUserActivityTimeout = w.mAttrs.userActivityTimeout; in handleNotObscuredLocked() 931 if (!syswin && w.mAttrs.screenBrightness >= 0 && mScreenBrightness < 0) { in handleNotObscuredLocked() 932 mScreenBrightness = w.mAttrs.screenBrightness; in handleNotObscuredLocked()
|
D | AccessibilityController.java | 368 final int type = windowState.mAttrs.type; in onWindowTransitionLocked() 537 if ((windowState.mAttrs.type == TYPE_MAGNIFICATION_OVERLAY) in recomputeBoundsLocked() 538 || ((windowState.mAttrs.privateFlags in recomputeBoundsLocked() 677 && (w.mAttrs.alpha != 0) in populateWindowsOnScreenLocked() 1064 final int flags = windowState.mAttrs.flags; in computeChangedWindows() 1076 && (windowState.mAttrs.type != TYPE_DOCK_DIVIDER)) { in computeChangedWindows() 1090 if (isReportedWindowType(windowState.mAttrs.type)) { in computeChangedWindows() 1098 if (windowState.mAttrs.type != in computeChangedWindows()
|
D | WallpaperController.java | 114 if ((w.mAttrs.type == TYPE_WALLPAPER)) { 149 if ((w.mAttrs.flags & FLAG_SHOW_WHEN_LOCKED) != 0 154 needsShowWhenLockedWallpaper = !isFullscreen(w.mAttrs) 168 final boolean hasWallpaper = (w.mAttrs.flags & FLAG_SHOW_WALLPAPER) != 0 328 if (rawChanged && (wallpaperWin.mAttrs.privateFlags & in updateWallpaperOffset()
|
D | WindowManagerService.java | 1173 if (parentWindow.mAttrs.type >= FIRST_SUB_WINDOW in addWindow() 1174 && parentWindow.mAttrs.type <= LAST_SUB_WINDOW) { in addWindow() 1191 hasParent ? parentWindow.mAttrs.token : attrs.token); in addWindow() 1194 final int rootType = hasParent ? parentWindow.mAttrs.type : type; in addWindow() 1336 mPolicy.adjustWindowParamsLw(win, win.mAttrs, hasStatusBarServicePermission); in addWindow() 1376 win.mAttrs.hideTimeoutMilliseconds); in addWindow() 1470 if (mPolicy.getLayoutHintLw(win.mAttrs, taskBounds, displayFrames, outFrame, in addWindow() 1612 if ((w.mAttrs.flags&WindowManager.LayoutParams.FLAG_SECURE) != 0) { in isSecureLocked() 1702 if (win.mAttrs.type == TYPE_WALLPAPER) { in postWindowRemoveCleanupLocked() 1705 } else if ((win.mAttrs.flags & FLAG_SHOW_WALLPAPER) != 0) { in postWindowRemoveCleanupLocked() [all …]
|
D | AppWindowToken.java | 538 if (win != null && win.mAttrs.isFullscreen()) { in getTopFullscreenWindow() 560 final int type = win.mAttrs.type; in findMainWindow() 966 final int type1 = newWindow.mAttrs.type; in isFirstChildWindowGreaterThanSecond() 967 final int type2 = existingWindow.mAttrs.type; in isFirstChildWindowGreaterThanSecond() 1582 if ((mChildren.get(i).mAttrs.flags & FLAG_DISMISS_KEYGUARD) != 0) { in containsDismissKeyguardWindow() 1598 if ((mChildren.get(i).mAttrs.flags & FLAG_SHOW_WHEN_LOCKED) != 0) { in containsShowWhenLockedWindow() 1688 return mDisablePreviewScreenshots || forAllWindows(w -> (w.mAttrs.flags & FLAG_SECURE) != 0, in shouldUseAppThemeSnapshot()
|
D | WindowToken.java | 229 if ((w.mAttrs.flags & FLAG_SHOW_WALLPAPER) != 0) { in windowsCanBeWallpaperTarget()
|
D | Task.java | 589 if (win != null && win.mAttrs.isFullscreen()) { in getTopFullscreenAppToken()
|
D | WindowSurfacePlacer.java | 363 return mainWindow != null ? mainWindow.mAttrs : null; in getAnimLp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | ShortcutParser.java | 49 private AttributeSet mAttrs; field in ShortcutParser 80 mAttrs = Xml.asAttributeSet(parser); in getShortcuts() 103 final TypedArray sa = mResources.obtainAttributes(mAttrs, R.styleable.Shortcut); in parseShortcut() 123 c.intent = Intent.parseIntent(mResources, parser, mAttrs); in parseShortcut()
|
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/ |
D | LargeSliceAdapter.java | 67 private AttributeSet mAttrs; field in LargeSliceAdapter 125 mAttrs = attrs; in setStyle() 253 mSliceChildView.setStyle(mAttrs, mDefStyleAttr, mDefStyleRes); in bind()
|
D | SliceView.java | 144 private AttributeSet mAttrs; field in SliceView 180 mAttrs = attrs; in init() 555 mListContent = new ListContent(getContext(), mCurrentSlice, mAttrs, mDefStyleAttr, in reinflate() 581 mCurrentView.setStyle(mAttrs, mDefStyleAttr, mDefStyleRes); in reinflate()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvView.java | 101 private final AttributeSet mAttrs; field in TvView 171 mAttrs = attrs; in TvView() 781 mSurfaceView = new SurfaceView(getContext(), mAttrs, mDefStyleAttr) { in resetSurfaceView()
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | TestService.java | 615 AttributeSet mAttrs; field in TestService.ReadXmlAttrsOp 624 mAttrs = Xml.asAttributeSet(mParser); in onInit() 652 TypedArray a = mContext.obtainStyledAttributes(mAttrs, in onRun()
|