IAccessibilityInteractionConnection.aidl revision 9ae9ed24aa252acbc2e6288068b991dd5291967b
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 199ae9ed24aa252acbc2e6288068b991dd5291967bSvetoslavimport android.graphics.Region; 20aa780c110922148a6a4ba06734bb2b0bb8c98f93Svetoslav Ganovimport android.os.Bundle; 21152e9bb81aa5b2ab4637f4b2dae04b3ce89fa891Svetoslav Ganovimport android.view.MagnificationSpec; 228643aa0179e598e78d938c59035389054535a229Svetoslav Ganovimport android.view.accessibility.AccessibilityNodeInfo; 238643aa0179e598e78d938c59035389054535a229Svetoslav Ganovimport android.view.accessibility.IAccessibilityInteractionConnectionCallback; 248643aa0179e598e78d938c59035389054535a229Svetoslav Ganov 258643aa0179e598e78d938c59035389054535a229Svetoslav Ganov/** 268643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * Interface for interaction between the AccessibilityManagerService 278643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * and the ViewRoot in a given window. 288643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * 298643aa0179e598e78d938c59035389054535a229Svetoslav Ganov * @hide 308643aa0179e598e78d938c59035389054535a229Svetoslav Ganov */ 318643aa0179e598e78d938c59035389054535a229Svetoslav Ganovoneway interface IAccessibilityInteractionConnection { 328643aa0179e598e78d938c59035389054535a229Svetoslav Ganov 339ae9ed24aa252acbc2e6288068b991dd5291967bSvetoslav void findAccessibilityNodeInfoByAccessibilityId(long accessibilityNodeId, in Region bounds, 349ae9ed24aa252acbc2e6288068b991dd5291967bSvetoslav int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, 359ae9ed24aa252acbc2e6288068b991dd5291967bSvetoslav int interrogatingPid, long interrogatingTid, in MagnificationSpec spec); 368643aa0179e598e78d938c59035389054535a229Svetoslav Ganov 3780943d8daa6ab31ab5c486d57aea406aa0730d58Svetoslav Ganov void findAccessibilityNodeInfosByViewId(long accessibilityNodeId, String viewId, 389ae9ed24aa252acbc2e6288068b991dd5291967bSvetoslav in Region bounds, int interactionId, IAccessibilityInteractionConnectionCallback callback, 399ae9ed24aa252acbc2e6288068b991dd5291967bSvetoslav int flags, int interrogatingPid, long interrogatingTid, in MagnificationSpec spec); 409ae9ed24aa252acbc2e6288068b991dd5291967bSvetoslav 419ae9ed24aa252acbc2e6288068b991dd5291967bSvetoslav void findAccessibilityNodeInfosByText(long accessibilityNodeId, String text, in Region bounds, 4280943d8daa6ab31ab5c486d57aea406aa0730d58Svetoslav Ganov int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, 4380943d8daa6ab31ab5c486d57aea406aa0730d58Svetoslav Ganov int interrogatingPid, long interrogatingTid, in MagnificationSpec spec); 448643aa0179e598e78d938c59035389054535a229Svetoslav Ganov 459ae9ed24aa252acbc2e6288068b991dd5291967bSvetoslav void findFocus(long accessibilityNodeId, int focusType, in Region bounds, int interactionId, 46c9c9a48e7bafae63cb35a9aa69255e80aba83988Svetoslav Ganov IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, 47152e9bb81aa5b2ab4637f4b2dae04b3ce89fa891Svetoslav Ganov long interrogatingTid, in MagnificationSpec spec); 484213804541a8b05cd0587b138a2fd9a3b7fd9350Svetoslav Ganov 499ae9ed24aa252acbc2e6288068b991dd5291967bSvetoslav void focusSearch(long accessibilityNodeId, int direction, in Region bounds, int interactionId, 50c9c9a48e7bafae63cb35a9aa69255e80aba83988Svetoslav Ganov IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, 51152e9bb81aa5b2ab4637f4b2dae04b3ce89fa891Svetoslav Ganov long interrogatingTid, in MagnificationSpec spec); 528643aa0179e598e78d938c59035389054535a229Svetoslav Ganov 53aa780c110922148a6a4ba06734bb2b0bb8c98f93Svetoslav Ganov void performAccessibilityAction(long accessibilityNodeId, int action, in Bundle arguments, 54aa780c110922148a6a4ba06734bb2b0bb8c98f93Svetoslav Ganov int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, 55aa780c110922148a6a4ba06734bb2b0bb8c98f93Svetoslav Ganov int interrogatingPid, long interrogatingTid); 568643aa0179e598e78d938c59035389054535a229Svetoslav Ganov} 57