Skip to content

Commit 6aa3138

Browse files
sganovAndroid (Google) Code Review
authored andcommitted
Merge "Remove accessibility gestures for clockwise and counter clock wise circle." into jb-dev
2 parents fb58a6d + 65d98ad commit 6aa3138

File tree

2 files changed

+20
-32
lines changed

2 files changed

+20
-32
lines changed

api/current.txt

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2006,26 +2006,24 @@ package android.accessibilityservice {
20062006
method protected void onServiceConnected();
20072007
method public final boolean performGlobalAction(int);
20082008
method public final void setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo);
2009-
field public static final int GESTURE_CLOCKWISE_CIRCLE = 9; // 0x9
2010-
field public static final int GESTURE_COUNTER_CLOCKWISE_CIRCLE = 10; // 0xa
20112009
field public static final int GESTURE_SWIPE_DOWN = 2; // 0x2
2012-
field public static final int GESTURE_SWIPE_DOWN_AND_LEFT = 17; // 0x11
2013-
field public static final int GESTURE_SWIPE_DOWN_AND_RIGHT = 18; // 0x12
2010+
field public static final int GESTURE_SWIPE_DOWN_AND_LEFT = 15; // 0xf
2011+
field public static final int GESTURE_SWIPE_DOWN_AND_RIGHT = 16; // 0x10
20142012
field public static final int GESTURE_SWIPE_DOWN_AND_UP = 8; // 0x8
20152013
field public static final int GESTURE_SWIPE_LEFT = 3; // 0x3
2016-
field public static final int GESTURE_SWIPE_LEFT_AND_DOWN = 12; // 0xc
2014+
field public static final int GESTURE_SWIPE_LEFT_AND_DOWN = 10; // 0xa
20172015
field public static final int GESTURE_SWIPE_LEFT_AND_RIGHT = 5; // 0x5
2018-
field public static final int GESTURE_SWIPE_LEFT_AND_UP = 11; // 0xb
2016+
field public static final int GESTURE_SWIPE_LEFT_AND_UP = 9; // 0x9
20192017
field public static final int GESTURE_SWIPE_RIGHT = 4; // 0x4
2020-
field public static final int GESTURE_SWIPE_RIGHT_AND_DOWN = 14; // 0xe
2018+
field public static final int GESTURE_SWIPE_RIGHT_AND_DOWN = 12; // 0xc
20212019
field public static final int GESTURE_SWIPE_RIGHT_AND_LEFT = 6; // 0x6
2022-
field public static final int GESTURE_SWIPE_RIGHT_AND_UP = 13; // 0xd
2020+
field public static final int GESTURE_SWIPE_RIGHT_AND_UP = 11; // 0xb
20232021
field public static final int GESTURE_SWIPE_UP = 1; // 0x1
20242022
field public static final int GESTURE_SWIPE_UP_AND_DOWN = 7; // 0x7
2025-
field public static final int GESTURE_SWIPE_UP_AND_LEFT = 15; // 0xf
2026-
field public static final int GESTURE_SWIPE_UP_AND_RIGHT = 16; // 0x10
2027-
field public static final int GESTURE_TWO_FINGER_LONG_PRESS = 20; // 0x14
2028-
field public static final int GESTURE_TWO_FINGER_TAP = 19; // 0x13
2023+
field public static final int GESTURE_SWIPE_UP_AND_LEFT = 13; // 0xd
2024+
field public static final int GESTURE_SWIPE_UP_AND_RIGHT = 14; // 0xe
2025+
field public static final int GESTURE_TWO_FINGER_LONG_PRESS = 18; // 0x12
2026+
field public static final int GESTURE_TWO_FINGER_TAP = 17; // 0x11
20292027
field public static final int GLOBAL_ACTION_BACK = 1; // 0x1
20302028
field public static final int GLOBAL_ACTION_HOME = 2; // 0x2
20312029
field public static final int GLOBAL_ACTION_NOTIFICATIONS = 4; // 0x4

core/java/android/accessibilityservice/AccessibilityService.java

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -243,65 +243,55 @@ public abstract class AccessibilityService extends Service {
243243
*/
244244
public static final int GESTURE_SWIPE_DOWN_AND_UP = 8;
245245

246-
/**
247-
* The user has performed a clockwise circle gesture on the touch screen.
248-
*/
249-
public static final int GESTURE_CLOCKWISE_CIRCLE = 9;
250-
251-
/**
252-
* The user has performed a counter clockwise circle gesture on the touch screen.
253-
*/
254-
public static final int GESTURE_COUNTER_CLOCKWISE_CIRCLE = 10;
255-
256246
/**
257247
* The user has performed a left and up gesture on the touch screen.
258248
*/
259-
public static final int GESTURE_SWIPE_LEFT_AND_UP = 11;
249+
public static final int GESTURE_SWIPE_LEFT_AND_UP = 9;
260250

261251
/**
262252
* The user has performed a left and down gesture on the touch screen.
263253
*/
264-
public static final int GESTURE_SWIPE_LEFT_AND_DOWN = 12;
254+
public static final int GESTURE_SWIPE_LEFT_AND_DOWN = 10;
265255

266256
/**
267257
* The user has performed a right and up gesture on the touch screen.
268258
*/
269-
public static final int GESTURE_SWIPE_RIGHT_AND_UP = 13;
259+
public static final int GESTURE_SWIPE_RIGHT_AND_UP = 11;
270260

271261
/**
272262
* The user has performed a right and down gesture on the touch screen.
273263
*/
274-
public static final int GESTURE_SWIPE_RIGHT_AND_DOWN = 14;
264+
public static final int GESTURE_SWIPE_RIGHT_AND_DOWN = 12;
275265

276266
/**
277267
* The user has performed an up and left gesture on the touch screen.
278268
*/
279-
public static final int GESTURE_SWIPE_UP_AND_LEFT = 15;
269+
public static final int GESTURE_SWIPE_UP_AND_LEFT = 13;
280270

281271
/**
282272
* The user has performed an up and right gesture on the touch screen.
283273
*/
284-
public static final int GESTURE_SWIPE_UP_AND_RIGHT = 16;
274+
public static final int GESTURE_SWIPE_UP_AND_RIGHT = 14;
285275

286276
/**
287277
* The user has performed an down and left gesture on the touch screen.
288278
*/
289-
public static final int GESTURE_SWIPE_DOWN_AND_LEFT = 17;
279+
public static final int GESTURE_SWIPE_DOWN_AND_LEFT = 15;
290280

291281
/**
292282
* The user has performed an down and right gesture on the touch screen.
293283
*/
294-
public static final int GESTURE_SWIPE_DOWN_AND_RIGHT = 18;
284+
public static final int GESTURE_SWIPE_DOWN_AND_RIGHT = 16;
295285

296286
/**
297287
* The user has performed a two finger tap gesture on the touch screen.
298288
*/
299-
public static final int GESTURE_TWO_FINGER_TAP = 19;
289+
public static final int GESTURE_TWO_FINGER_TAP = 17;
300290

301291
/**
302292
* The user has performed a two finger long press gesture on the touch screen.
303293
*/
304-
public static final int GESTURE_TWO_FINGER_LONG_PRESS = 20;
294+
public static final int GESTURE_TWO_FINGER_LONG_PRESS = 18;
305295

306296
/**
307297
* The {@link Intent} that must be declared as handled by the service.

0 commit comments

Comments
 (0)