Searched refs:targetWin (Results 1 – 3 of 3) sorted by relevance
65 final WindowState targetWin = target.getWindow(); in getControl() local70 final TaskSnapshot snapshot = targetWin.getRootTask() != null in getControl()71 ? targetWin.mWmService.getTaskSnapshot(targetWin.getRootTask().mTaskId, in getControl()74 control.setSkipAnimationOnce(targetWin.mActivityRecord != null in getControl()75 && targetWin.mActivityRecord.hasStartingWindow() in getControl()
497 private boolean isValidDropTarget(WindowState targetWin, boolean containsAppExtras, in isValidDropTarget() argument499 if (targetWin == null) { in isValidDropTarget()502 final boolean isLocalWindow = mLocalWin == targetWin.mClient.asBinder(); in isValidDropTarget()508 if (!targetWin.isPotentialDragTarget(interceptsGlobalDrag)) { in isValidDropTarget()511 if ((mFlags & View.DRAG_FLAG_GLOBAL) == 0 || !targetWindowSupportsGlobalDrag(targetWin)) { in isValidDropTarget()520 || mSourceUserId == UserHandle.getUserId(targetWin.getOwningUid()); in isValidDropTarget()523 private boolean targetWindowSupportsGlobalDrag(WindowState targetWin) { in targetWindowSupportsGlobalDrag() argument526 return targetWin.mActivityRecord == null in targetWindowSupportsGlobalDrag()527 || targetWin.mActivityRecord.mTargetSdk >= Build.VERSION_CODES.N; in targetWindowSupportsGlobalDrag()533 public boolean targetInterceptsGlobalDrag(WindowState targetWin) { in targetInterceptsGlobalDrag() argument[all …]
277 final WindowState targetWin = createApplicationWindow(); in testOverlappingWithNavBar() local278 final WindowFrames winFrame = targetWin.getWindowFrames(); in testOverlappingWithNavBar()286 DisplayPolicy.isOverlappingWithNavBar(targetWin, navigationBar)); in testOverlappingWithNavBar()290 DisplayPolicy.isOverlappingWithNavBar(targetWin, navigationBar)); in testOverlappingWithNavBar()294 DisplayPolicy.isOverlappingWithNavBar(targetWin, navigationBar)); in testOverlappingWithNavBar()298 DisplayPolicy.isOverlappingWithNavBar(targetWin, navigationBar)); in testOverlappingWithNavBar()