Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/accessibility/
DAccessibilityCache.java107 final int windowId = window.getId(); in addWindow() local
108 mWindowCache.put(windowId, new AccessibilityWindowInfo(window)); in addWindow()
157 final int windowId = event.getWindowId(); in onAccessibilityEvent() local
161 clearSubTreeLocked(windowId, sourceId); in onAccessibilityEvent()
163 refreshCachedNodeLocked(windowId, sourceId); in onAccessibilityEvent()
184 private void refreshCachedNodeLocked(int windowId, long sourceId) { in refreshCachedNodeLocked() argument
189 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.get(windowId); in refreshCachedNodeLocked()
203 clearSubTreeLocked(windowId, sourceId); in refreshCachedNodeLocked()
214 public AccessibilityNodeInfo getNode(int windowId, long accessibilityNodeId) { in getNode() argument
216 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.get(windowId); in getNode()
[all …]
DIAccessibilityManager.aidl65 IBinder getWindowToken(int windowId, int userId); in getWindowToken() argument
DAccessibilityRecord.java200 public void setWindowId(int windowId) { in setWindowId() argument
201 mSourceWindowId = windowId; in setWindowId()
DAccessibilityNodeInfo.java3106 public void setSourceNodeId(long sourceId, int windowId) { in setSourceNodeId() argument
3109 mWindowId = windowId; in setSourceNodeId()
3903 int windowId, long accessibilityNodeId) { in canPerformRequestOverConnection() argument
3904 return ((windowId != AccessibilityWindowInfo.UNDEFINED_WINDOW_ID) in canPerformRequestOverConnection()
4010 int windowId, long accessibilityId) { in getNodeForAccessibilityId() argument
4011 if (!canPerformRequestOverConnection(connectionId, windowId, accessibilityId)) { in getNodeForAccessibilityId()
4016 windowId, accessibilityId, false, FLAG_PREFETCH_PREDECESSORS in getNodeForAccessibilityId()
5073 private void setWindowId(int windowId) { in setWindowId() argument
5074 mWindowId = windowId; in setWindowId()
DAccessibilityEvent.java1081 int windowId, int windowChangeTypes) { in obtainWindowsChangedEvent() argument
1083 event.setWindowId(windowId); in obtainWindowsChangedEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java722 final int windowId; in addAccessibilityInteractionConnection() local
735 windowId = sNextWindowId++; in addAccessibilityInteractionConnection()
741 windowId, connection, packageName, resolvedUid, UserHandle.USER_ALL); in addAccessibilityInteractionConnection()
743 mGlobalInteractionConnections.put(windowId, wrapper); in addAccessibilityInteractionConnection()
744 mGlobalWindowTokens.put(windowId, windowToken.asBinder()); in addAccessibilityInteractionConnection()
747 + " with windowId: " + windowId + " and token: " in addAccessibilityInteractionConnection()
752 windowId, connection, packageName, resolvedUid, resolvedUserId); in addAccessibilityInteractionConnection()
755 userState.mInteractionConnections.put(windowId, wrapper); in addAccessibilityInteractionConnection()
756 userState.mWindowTokens.put(windowId, windowToken.asBinder()); in addAccessibilityInteractionConnection()
759 + " with windowId: " + windowId + " and userId:" + mCurrentUserId in addAccessibilityInteractionConnection()
[all …]
DAbstractAccessibilityServiceConnection.java155 @Nullable MagnificationSpec getCompatibleMagnificationSpecLocked(int windowId); in getCompatibleMagnificationSpecLocked() argument
179 RemoteAccessibilityConnection getConnectionLocked(int windowId); in getConnectionLocked() argument
411 public AccessibilityWindowInfo getWindow(int windowId) { in getWindow() argument
425 AccessibilityWindowInfo window = mSecurityPolicy.findA11yWindowInfoById(windowId); in getWindow()
1258 private int resolveAccessibilityWindowIdForFindFocusLocked(int windowId, int focusType) { in resolveAccessibilityWindowIdForFindFocusLocked() argument
1259 if (windowId == AccessibilityWindowInfo.ACTIVE_WINDOW_ID) { in resolveAccessibilityWindowIdForFindFocusLocked()
1262 if (windowId == AccessibilityWindowInfo.ANY_WINDOW_ID) { in resolveAccessibilityWindowIdForFindFocusLocked()
1269 return windowId; in resolveAccessibilityWindowIdForFindFocusLocked()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityInteractionClientTest.java64 final int windowId = 0x1234; in findA11yNodeInfoByA11yId_whenBypassingCache_doesntTouchCache() local
67 nodeFromConnection.setSourceNodeId(accessibilityNodeId, windowId); in findA11yNodeInfoByA11yId_whenBypassingCache_doesntTouchCache()
71 MOCK_CONNECTION_ID, windowId, accessibilityNodeId, true, 0, null); in findA11yNodeInfoByA11yId_whenBypassingCache_doesntTouchCache()
DAccessibilityServiceConnectionImpl.java71 public AccessibilityWindowInfo getWindow(int windowId) { in getWindow() argument
DAccessibilityCacheTest.java632 private AccessibilityNodeInfo getNodeWithA11yAndWindowId(int a11yId, int windowId) { in getNodeWithA11yAndWindowId() argument
634 AccessibilityNodeInfo.obtain(getMockViewWithA11yAndWindowIds(a11yId, windowId)); in getNodeWithA11yAndWindowId()
639 private View getMockViewWithA11yAndWindowIds(int a11yId, int windowId) { in getMockViewWithA11yAndWindowIds() argument
642 when(mockView.getAccessibilityWindowId()).thenReturn(windowId); in getMockViewWithA11yAndWindowIds()
/frameworks/base/core/java/android/app/
DIUiAutomationConnection.aidl43 boolean clearWindowContentFrameStats(int windowId); in clearWindowContentFrameStats() argument
44 WindowContentFrameStats getWindowContentFrameStats(int windowId); in getWindowContentFrameStats() argument
DUiAutomation.java871 public boolean clearWindowContentFrameStats(int windowId) { in clearWindowContentFrameStats() argument
877 Log.i(LOG_TAG, "Clearing content frame stats for window: " + windowId); in clearWindowContentFrameStats()
880 return mUiAutomationConnection.clearWindowContentFrameStats(windowId); in clearWindowContentFrameStats()
916 public WindowContentFrameStats getWindowContentFrameStats(int windowId) { in getWindowContentFrameStats() argument
922 Log.i(LOG_TAG, "Getting content frame stats for window: " + windowId); in getWindowContentFrameStats()
925 return mUiAutomationConnection.getWindowContentFrameStats(windowId); in getWindowContentFrameStats()
DUiAutomationConnection.java200 public boolean clearWindowContentFrameStats(int windowId) throws RemoteException { in clearWindowContentFrameStats() argument
209 IBinder token = mAccessibilityManager.getWindowToken(windowId, callingUserId); in clearWindowContentFrameStats()
220 public WindowContentFrameStats getWindowContentFrameStats(int windowId) throws RemoteException { in getWindowContentFrameStats() argument
229 IBinder token = mAccessibilityManager.getWindowToken(windowId, callingUserId); in getWindowContentFrameStats()
DActivity.java8434 int windowId) { in autofillClientFindViewByAccessibilityIdTraversal() argument
8439 if (rootView != null && rootView.getAccessibilityWindowId() == windowId) { in autofillClientFindViewByAccessibilityIdTraversal()
/frameworks/base/core/java/android/transition/
DTransition.java1679 WindowId windowId = sceneRoot.getWindowId(); in pause() local
1682 if (info.view != null && windowId != null && windowId.equals(info.windowId)) { in pause()
1712 WindowId windowId = sceneRoot.getWindowId(); in resume() local
1715 if (info.view != null && windowId != null && windowId.equals(info.windowId)) { in resume()
1745 WindowId windowId = sceneRoot.getWindowId(); in playTransition() local
1750 if (oldInfo != null && oldInfo.view != null && oldInfo.windowId == windowId) { in playTransition()
1956 WindowId windowId = sceneRoot.getWindowId(); in forceToEnd() local
1962 if (info.view != null && windowId != null && windowId.equals(info.windowId)) { in forceToEnd()
2363 WindowId windowId; field in Transition.AnimationInfo
2367 WindowId windowId, TransitionValues values) { in AnimationInfo() argument
[all …]
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java381 int windowId = mCommand - Const.CODE_C1_CW0; in parseC1() local
382 emitCaptionEvent(new CaptionEvent(CAPTION_EMIT_TYPE_COMMAND_CWX, windowId)); in parseC1()
384 Log.d(TAG, String.format("CaptionCommand CWX windowId: %d", windowId)); in parseC1()
586 int windowId = mCommand - Const.CODE_C1_DF0; in parseC1() local
601 new CaptionWindow(windowId, visible, rowLock, columnLock, priority, in parseC1()
611 windowId, priority, columnLock, rowLock, visible, anchorVertical, in parseC1()
1477 private void setCurrentWindowLayout(int windowId) { in setCurrentWindowLayout() argument
1478 if (windowId < 0 || windowId >= mCaptionWindowLayouts.length) { in setCurrentWindowLayout()
1481 CCWindowLayout windowLayout = mCaptionWindowLayouts[windowId]; in setCurrentWindowLayout()
1486 Log.d(TAG, "setCurrentWindowLayout to " + windowId); in setCurrentWindowLayout()
[all …]
/frameworks/base/core/java/android/view/autofill/
DAutofillManager.java631 @Nullable View autofillClientFindViewByAccessibilityIdTraversal(int viewId, int windowId); in autofillClientFindViewByAccessibilityIdTraversal() argument
2710 final int windowId = event.getWindowId(); in onAccessibilityEvent() local
2712 if (notifyViewEntered(windowId, nodeId, mFocusedBounds)) { in onAccessibilityEvent()
2713 mFocusedWindowId = windowId; in onAccessibilityEvent()
2750 private boolean notifyViewEntered(int windowId, long nodeId, Rect focusedBounds) { in notifyViewEntered() argument
2755 final View view = findViewByAccessibilityId(windowId, nodeId); in notifyViewEntered()
2776 private void notifyViewExited(int windowId, long nodeId) { in notifyViewExited() argument
2781 final View view = findViewByAccessibilityId(windowId, nodeId); in notifyViewExited()
2788 private void notifyValueChanged(int windowId, long nodeId) { in notifyValueChanged() argument
2793 final View view = findViewByAccessibilityId(windowId, nodeId); in notifyValueChanged()
[all …]
/frameworks/base/core/java/android/accessibilityservice/
DIAccessibilityServiceConnection.aidl61 AccessibilityWindowInfo getWindow(int windowId); in getWindow() argument
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.cpp388 req->mCaptureRequest.streamAndWindowIds[i].windowId = requestSurfaceIdxList[i]; in allocateCaptureRequestLocked()
847 int32_t windowId = streamAndWindowId.windowId; in onCaptureErrorLocked() local
848 if (utils::isWindowNativeHandleEqual(windowHandles[windowId],outHandle)) { in onCaptureErrorLocked()
850 const_cast<native_handle_t *>(windowHandles[windowId].getNativeHandle()); in onCaptureErrorLocked()
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraDeviceUser.cpp155 request->mSurfaceIdxList.push_back(streamAndWindowId.windowId); in convertRequestFromHidl()
/frameworks/hardware/interfaces/cameraservice/device/2.0/
Dtypes.hal210 int32_t windowId;
225 * A list of (streamId, windowId) pairs which uniquely identifies the
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp260 captureRequest->streamAndWindowIds[0].windowId = 0; in initializeCaptureRequestPartial()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt71265 Landroid/transition/Transition$AnimationInfo;->windowId:Landroid/view/WindowId;