Example usage for android.accessibilityservice AccessibilityService subclass-usage

List of usage examples for android.accessibilityservice AccessibilityService subclass-usage

Introduction

In this page you can find the example usage for android.accessibilityservice AccessibilityService subclass-usage.

Usage

From source file com.rosthouse.vibrobag.NotificationListener.java

/**
 * This class listens to all notifications that Android sends
 *
 * @author Patrick
 */
public class NotificationListener extends AccessibilityService {

From source file com.farmerbb.taskbar.service.PowerMenuService.java

public class PowerMenuService extends AccessibilityService {

    private BroadcastReceiver powerMenuReceiver = new BroadcastReceiver() {
        @Override
        public void onReceive(Context context, Intent intent) {
            if (!performGlobalAction(intent.getIntExtra("action", -1)))

From source file me.spadival.podmode.PodNotifyService.java

@SuppressLint("UseSparseArrays")
public class PodNotifyService extends AccessibilityService {

    final static String THIS_PACKAGE = "me.spadival.podmode";
    final static String ANDROID_PACKAGE = "android";

From source file com.android.switchaccess.SwitchAccessService.java

/**
 * Enable a user to perform touch gestures using keyboards with only a small number of keys. These
 * keyboards may be adapted to match a user's capabilities, for example with very large buttons,
 * proximity sensors around the head, or sip/puff switches.
 */
@TargetApi(Build.VERSION_CODES.LOLLIPOP)

From source file com.hrs.filltheform.service.MyAccessibilityService.java

/**
 * MyAccessibilityService initializes ServiceConfiguration. After successful configuration loading it sends loaded package names to the MainActivity.
 * This services also receives the Accessibility Events. It uses EventResolver and ServiceConfiguration to process these events.
 * When data for a specific AccessibilityNode is available it shows FillTheFormDialog to the user.
 */
public class MyAccessibilityService extends android.accessibilityservice.AccessibilityService

From source file net.grayswander.rotationmanager.RotationManagerService.java

public class RotationManagerService extends AccessibilityService {
    public RotationManagerService() {
    }

    String currentPackage = null;
    boolean lastSetRotation = false;

From source file org.sufficientlysecure.keychain.gm.GmAccessibilityService.java

public class GmAccessibilityService extends AccessibilityService {

    private static final String WEB_VIEW_CLASS_NAME = "android.webkit.WebView";
    private static final String VIEW_CLASS_NAME = "android.view.View";

    private static final String BEGIN_PGP_MESSAGE = "-----BEGIN PGP MESSAGE-----";

From source file com.googlecode.eyesfree.brailleback.BrailleBackService.java

/**
 * An accessibility service that provides feedback through a braille
 * display.
 */
public class BrailleBackService extends AccessibilityService implements Display.OnConnectionStateChangeListener,
        DisplayManager.OnMappedInputEventListener, DisplayManager.OnPanOverflowListener,

From source file com.myStress.handlers.NotificationHandlerService.java

/**
 * Class to implement the myStress accessibility service
 */
@SuppressLint("InlinedApi")
public class NotificationHandlerService extends AccessibilityService {
    private double typingStartTime, typingEndTime;

From source file com.mattprecious.notisync.service.NotificationService.java

public class NotificationService extends AccessibilityService {
    private final static String TAG = "NotificationService";

    private final static List<String> gtalkPackageNames = Arrays.asList(new String[] { "com.google.android.talk",
            "com.google.android.apps.gtalkservice", "com.google.android.gsf", });