18643aa0179e598e78d938c59035389054535a229Svetoslav Ganov/* 28643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * Copyright (C) 2011 The Android Open Source Project 38643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * 48643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * Licensed under the Apache License, Version 2.0 (the "License"); 58643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * you may not use this file except in compliance with the License. 68643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * You may obtain a copy of the License at 78643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * 88643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * http://www.apache.org/licenses/LICENSE-2.0 98643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * 108643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * Unless required by applicable law or agreed to in writing, software 118643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * distributed under the License is distributed on an "AS IS" BASIS, 128643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 138643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * See the License for the specific language governing permissions and 148643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * limitations under the License. 158643aa0179e598e78d938c59035389054535a229Svetoslav Ganov */ 168643aa0179e598e78d938c59035389054535a229Svetoslav Ganov 178643aa0179e598e78d938c59035389054535a229Svetoslav Ganovpackage android.view.accessibility; 188643aa0179e598e78d938c59035389054535a229Svetoslav Ganov 198643aa0179e598e78d938c59035389054535a229Svetoslav Ganovimport android.view.accessibility.AccessibilityNodeInfo; 208643aa0179e598e78d938c59035389054535a229Svetoslav Ganovimport android.view.accessibility.IAccessibilityInteractionConnectionCallback; 218643aa0179e598e78d938c59035389054535a229Svetoslav Ganov 228643aa0179e598e78d938c59035389054535a229Svetoslav Ganov/** 238643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * Interface for interaction between the AccessibilityManagerService 248643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * and the ViewRoot in a given window. 258643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * 268643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * @hide 278643aa0179e598e78d938c59035389054535a229Svetoslav Ganov */ 288643aa0179e598e78d938c59035389054535a229Svetoslav Ganovoneway interface IAccessibilityInteractionConnection { 298643aa0179e598e78d938c59035389054535a229Svetoslav Ganov 308643aa0179e598e78d938c59035389054535a229Svetoslav Ganov void findAccessibilityNodeInfoByAccessibilityId(int accessibilityViewId, int interactionId, 318bd69610aafc6995126965d1d23b771fe02a9084Svetoslav Ganov IAccessibilityInteractionConnectionCallback callback, 328bd69610aafc6995126965d1d23b771fe02a9084Svetoslav Ganov int interrogatingPid, long interrogatingTid); 338643aa0179e598e78d938c59035389054535a229Svetoslav Ganov 348643aa0179e598e78d938c59035389054535a229Svetoslav Ganov void findAccessibilityNodeInfoByViewId(int id, int interactionId, 358bd69610aafc6995126965d1d23b771fe02a9084Svetoslav Ganov IAccessibilityInteractionConnectionCallback callback, 368bd69610aafc6995126965d1d23b771fe02a9084Svetoslav Ganov int interrogatingPid, long interrogatingTid); 378643aa0179e598e78d938c59035389054535a229Svetoslav Ganov 38eeee4d2c01d3c4ed99e4891dbc75c7de69a803faSvetoslav Ganov void findAccessibilityNodeInfosByViewText(String text, int accessibilityViewId, 398bd69610aafc6995126965d1d23b771fe02a9084Svetoslav Ganov int interactionId, IAccessibilityInteractionConnectionCallback callback, 408bd69610aafc6995126965d1d23b771fe02a9084Svetoslav Ganov int interrogatingPid, long interrogatingTid); 418643aa0179e598e78d938c59035389054535a229Svetoslav Ganov 428643aa0179e598e78d938c59035389054535a229Svetoslav Ganov void performAccessibilityAction(int accessibilityId, int action, int interactionId, 438bd69610aafc6995126965d1d23b771fe02a9084Svetoslav Ganov IAccessibilityInteractionConnectionCallback callback, int interrogatingPid, 448bd69610aafc6995126965d1d23b771fe02a9084Svetoslav Ganov long interrogatingTid); 458643aa0179e598e78d938c59035389054535a229Svetoslav Ganov} 46