• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * Copyright (c) 2024, The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package android.os;
18 
19 /**
20  * Represents an icon that can be used as a mouse pointer.
21  * Please look at frameworks/base/core/java/android/view/PointerIcon.java for the detailed
22  * explanation of each constant.
23  * @hide
24  */
25 @Backing(type="int")
26 enum PointerIconType {
27     CUSTOM                  = -1,
28     TYPE_NULL               = 0,
29     NOT_SPECIFIED           = 1,
30     ARROW                   = 1000,
31     CONTEXT_MENU            = 1001,
32     HAND                    = 1002,
33     HELP                    = 1003,
34     WAIT                    = 1004,
35     CELL                    = 1006,
36     CROSSHAIR               = 1007,
37     TEXT                    = 1008,
38     VERTICAL_TEXT           = 1009,
39     ALIAS                   = 1010,
40     COPY                    = 1011,
41     NO_DROP                 = 1012,
42     ALL_SCROLL              = 1013,
43     HORIZONTAL_DOUBLE_ARROW = 1014,
44     VERTICAL_DOUBLE_ARROW   = 1015,
45     TOP_RIGHT_DOUBLE_ARROW  = 1016,
46     TOP_LEFT_DOUBLE_ARROW   = 1017,
47     ZOOM_IN                 = 1018,
48     ZOOM_OUT                = 1019,
49     GRAB                    = 1020,
50     GRABBING                = 1021,
51     HANDWRITING             = 1022,
52 
53     SPOT_HOVER              = 2000,
54     SPOT_TOUCH              = 2001,
55     SPOT_ANCHOR             = 2002,
56 }
57