Home
last modified time | relevance | path

Searched refs:mAttrs (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowFrameTests.java134 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 …]
DWindowStateTests.java176 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 …]
DAppWindowTokenTests.java123 window12.mAttrs.width = 500; in testGetTopFullscreenWindow()
125 window11.mAttrs.width = 500; in testGetTopFullscreenWindow()
DTaskSnapshotControllerTest.java107 secureWindow.mAttrs.flags |= FLAG_SECURE; in testGetSnapshotMode()
DDisplayContentTests.java484 keyguard.mAttrs.screenOrientation = SCREEN_ORIENTATION_UNSPECIFIED; in testOrientationDefinedByKeyguard()
489 keyguard.mAttrs.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testOrientationDefinedByKeyguard()
DWindowTestsBase.java200 win.mAttrs.flags |= FLAG_NOT_FOCUSABLE; in createCommonWindow()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java244 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 …]
DWindowStateAnimator.java251 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 …]
DDisplayContent.java425 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 …]
DInputMonitor.java246 + "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()
DRootWindowContainer.java281 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()
DAccessibilityController.java368 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()
DWallpaperController.java114 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()
DWindowManagerService.java1173 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 …]
DAppWindowToken.java538 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()
DWindowToken.java229 if ((w.mAttrs.flags & FLAG_SHOW_WALLPAPER) != 0) { in windowsCanBeWallpaperTarget()
DTask.java589 if (win != null && win.mAttrs.isFullscreen()) { in getTopFullscreenAppToken()
DWindowSurfacePlacer.java363 return mainWindow != null ? mainWindow.mAttrs : null; in getAnimLp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DShortcutParser.java49 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/
DLargeSliceAdapter.java67 private AttributeSet mAttrs; field in LargeSliceAdapter
125 mAttrs = attrs; in setStyle()
253 mSliceChildView.setStyle(mAttrs, mDefStyleAttr, mDefStyleRes); in bind()
DSliceView.java144 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/
DTvView.java101 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/
DTestService.java615 AttributeSet mAttrs; field in TestService.ReadXmlAttrsOp
624 mAttrs = Xml.asAttributeSet(mParser); in onInit()
652 TypedArray a = mContext.obtainStyledAttributes(mAttrs, in onRun()