资源简介
代码片段和文件信息
/*
* Copyright (C) 2009 The Android Open Source Project
*
* Licensed under the Apache License Version 2.0 (the “License“);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing software
* distributed under the License is distributed on an “AS IS“ BASIS
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package android.accessibilityservice;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.os.IBinder;
import android.os.Looper;
import android.os.Message;
import android.os.RemoteException;
import android.util.Log;
import android.view.KeyEvent;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityInteractionClient;
import android.view.accessibility.AccessibilityNodeInfo;
import com.android.internal.os.HandlerCaller;
/**
* An accessibility service runs in the background and receives callbacks by the system
* when {@link AccessibilityEvent}s are fired. Such events denote some state transition
* in the user interface for example the focus has changed a button has been clicked
* etc. Such a service can optionally request the capability for querying the content
* of the active window. Development of an accessibility service requires extending this
* class and implementing its abstract methods.
*
*
* Developer Guides
* For more information about creating AccessibilityServices read the
* Accessibility
* developer guide.
*
*
* Lifecycle
*
* The lifecycle of an accessibility service is managed exclusively by the system and
* follows the established service life cycle. Additionally starting or stopping an
* accessibility service is triggered exclusively by an explicit user action through
* enabling or disabling it in the device settings. After the system binds to a service it
* calls {@link AccessibilityService#onServiceConnected()}. This method can be
* overriden by clients that want to perform post binding setup.
*
* Declaration
*
* An accessibility is declared as any other service in an AndroidManifest.xml but it
* must also specify that it handles the “android.accessibilityservice.AccessibilityService“
* {@link android.content.Intent}. Failure to declare this intent will cause the system to
* ignore the accessibility service. Additionally an accessibility service must request the
* {@link android.Manifest.permission#BIND_ACCESSIBILITY_SERVICE} permission to ensure
* that only the system
* can bind to it. Failure to declare this intent will cause the syste
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 27947 2015-03-27 14:44 android-19\android\accessibilityservice\AccessibilityService.java
文件 37720 2015-03-27 14:44 android-19\android\accessibilityservice\AccessibilityServiceInfo.java
文件 27026 2015-03-27 14:44 android-19\android\accounts\AbstractAccountAuthenticator.java
文件 2574 2015-03-27 14:44 android-19\android\accounts\Account.java
文件 1430 2015-03-27 14:44 android-19\android\accounts\AccountAndUser.java
文件 3381 2015-03-27 14:44 android-19\android\accounts\AccountAuthenticatorActivity.java
文件 3260 2015-03-27 14:44 android-19\android\accounts\AccountAuthenticatorResponse.java
文件 99998 2015-03-27 14:44 android-19\android\accounts\AccountManager.java
文件 739 2015-03-27 14:44 android-19\android\accounts\AccountManagerCallback.java
文件 5847 2015-03-27 14:44 android-19\android\accounts\AccountManagerFuture.java
文件 2283 2015-03-27 14:44 android-19\android\accounts\AccountManagerResponse.java
文件 1010 2015-03-27 14:44 android-19\android\accounts\AccountsException.java
文件 5142 2015-03-27 14:44 android-19\android\accounts\AuthenticatorDesc
文件 1044 2015-03-27 14:44 android-19\android\accounts\AuthenticatorException.java
文件 1175 2015-03-27 14:44 android-19\android\accounts\CantAddAccountActivity.java
文件 6782 2015-03-27 14:44 android-19\android\accounts\ChooseAccountActivity.java
文件 8010 2015-03-27 14:44 android-19\android\accounts\ChooseAccountTypeActivity.java
文件 24850 2015-03-27 14:44 android-19\android\accounts\ChooseTypeAndAccountActivity.java
文件 7796 2015-03-27 14:44 android-19\android\accounts\GrantCredentialsPermissionActivity.java
文件 1037 2015-03-27 14:44 android-19\android\accounts\NetworkErrorException.java
文件 979 2015-03-27 14:44 android-19\android\accounts\OnAccountsUpdateListener.java
文件 1063 2015-03-27 14:44 android-19\android\accounts\OperationCanceledException.java
文件 6413 2015-03-27 14:44 android-19\android\animation\AnimationThread.java
文件 15088 2015-03-27 14:44 android-19\android\animation\Animator.java
文件 12043 2015-03-27 14:44 android-19\android\animation\AnimatorInflater.java
文件 1765 2015-03-27 14:44 android-19\android\animation\AnimatorListenerAdapter.java
文件 48195 2015-03-27 14:44 android-19\android\animation\AnimatorSet.java
文件 2870 2015-03-27 14:44 android-19\android\animation\AnimatorSetEventsTest.java
文件 2524 2015-03-27 14:44 android-19\android\animation\ArgbEvaluator.java
文件 7025 2015-03-27 14:44 android-19\android\animation\AutoCancelTest.java
............此处省略8833个文件信息
相关资源
- 17673110resources_zh.jar
- Android Studio 2.3中文汉化包resources_cn.
- netty-all-4.1.32.Final-sources.jar 最新版ne
- IntelliJ IDEA 汉化包-resources_cn.jar
- resources_cn.jar153442
- android-5.0.1-sources
- resources_cn.jar
- resources_zh_CN_idea2019.jar
- universal-image-loader-1.8.6-with-sources.jar
- spring-data-jpa-1.4.2.RELEASE-sources.jar
- spring-data-commons-1.6.2.RELEASE-sources.jar
- spring-orm-4.2.4.RELEASE-sources.jar
- gson-2.8.0包括sources和javadoc
- log4j-1.2.15-sources.jar
- json-lib-2.4-jdk15-sources.jar
- javax.servlet-api-3.0.1-sources.jar
- recyclerview-v7-25.3.1-sources.jar 最新版 r
- geronimo-jms_1.1_spec-1.1.1-sources.jar
- aopalliance-1.0-sources
- junit-4.9官方
- commons-dbutils-1.7-sources.jar
- recyclerview-v7-26.1.0-sources.jar
- xwork-core-2.2.1-sources.jar 源码
- MPAndroidChart-v3.1.0-sources.jar
- maven-resources-plugin-2.5.jar
- intellij idea 中文语言包resources_zh_CN_I
- commons-lang3-3.7.jar 和sources.jar
- com.springsource.org.apache.commons.logging-so
- org.eclipse.core.resources.jar
- ActiveMQ 中javax.jms的源码 javax.jms-sourc
评论
共有 条评论