HomeSort by relevance Sort by last modified time
    Searched refs:PointerIcon (Results 1 - 25 of 26) sorted by null

1 2

  /frameworks/base/core/java/android/view/
PointerIcon.aidl 19 parcelable PointerIcon;
PointerIcon.java 43 public final class PointerIcon implements Parcelable {
44 private static final String TAG = "PointerIcon";
140 private static final PointerIcon gNullIcon = new PointerIcon(TYPE_NULL);
141 private static final SparseArray<PointerIcon> gSystemIcons = new SparseArray<PointerIcon>();
154 private PointerIcon(int type) {
166 public static PointerIcon getNullIcon() {
179 public static PointerIcon getDefaultIcon(@NonNull Context context) {
193 public static PointerIcon getSystemIcon(@NonNull Context context, int type)
    [all...]
InputDevice.java 791 public void setCustomPointerIcon(PointerIcon icon) {
    [all...]
ViewRootImpl.java 362 private int mPointerIconType = PointerIcon.TYPE_NOT_SPECIFIED;
363 private PointerIcon mCustomPointerIcon = null;
    [all...]
ViewGroup.java     [all...]
View.java     [all...]
  /frameworks/support/compat/api24/android/support/v4/view/
ViewCompatApi24.java 19 import android.view.PointerIcon;
23 public static void setPointerIcon(View view, Object pointerIcon) {
24 view.setPointerIcon((PointerIcon)pointerIcon);
PointerIconCompatApi24.java 22 import android.view.PointerIcon;
26 return PointerIcon.getSystemIcon(context, style);
30 return PointerIcon.create(bitmap, hotSpotX, hotSpotY);
34 return PointerIcon.load(resources, resourceId);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
SystemPointerIconButton.java 22 import android.view.PointerIcon;
45 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) {
55 type = PointerIcon.TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW;
58 type = PointerIcon.TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW;
61 type = PointerIcon.TYPE_HORIZONTAL_DOUBLE_ARROW;
64 type = PointerIcon.TYPE_VERTICAL_DOUBLE_ARROW;
67 type = PointerIcon.TYPE_ALL_SCROLL;
69 return PointerIcon.getSystemIcon(getContext(), type);
ResourcePointerIconButton.java 22 import android.view.PointerIcon;
27 private PointerIcon mCustomIcon;
47 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) {
49 mCustomIcon = PointerIcon.load(getResources(), R.drawable.custom_pointer_icon);
StaticPointerIconButton.java 24 import android.view.PointerIcon;
29 PointerIcon mCustomIcon;
49 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) {
55 mCustomIcon = PointerIcon.create(bitmapDrawable.getBitmap(), hotSpotX, hotSpotY);
LivePointerIconButton.java 26 import android.view.PointerIcon;
48 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) {
83 return PointerIcon.create(bitmap, hotSpotX, hotSpotY);
  /frameworks/base/core/jni/
android_view_PointerIcon.h 30 * Must match the definition in android.view.PointerIcon.
65 struct PointerIcon {
66 inline PointerIcon() {
98 jobject pointerIconObj, jobject contextObj, PointerIcon* outPointerIcon);
102 PointerIcon* outPointerIcon);
108 jobject contextObj, int32_t style, PointerIcon* outPointerIcon);
android_view_PointerIcon.cpp 17 #define LOG_TAG "PointerIcon-JNI"
61 PointerIcon* outPointerIcon) {
80 PointerIcon* outPointerIcon) {
108 int32_t style, PointerIcon* outPointerIcon) {
125 jclass clazz = FindClassOrDie(env, "android/view/PointerIcon");
147 "getSystemIcon", "(Landroid/content/Context;I)Landroid/view/PointerIcon;");
150 "load", "(Landroid/content/Context;)Landroid/view/PointerIcon;");
  /frameworks/base/core/java/android/hardware/input/
IInputManager.aidl 27 import android.view.PointerIcon;
83 void setCustomPointerIcon(in PointerIcon icon);
InputManager.java 42 import android.view.PointerIcon;
875 * {@link PointerIcon.TYPE_ARROW} and {@link PointerIcon.TYPE_GRABBING}.
888 public void setCustomPointerIcon(PointerIcon icon) {
    [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
TaskTapPointerEventListener.java 29 import static android.view.PointerIcon.TYPE_NOT_SPECIFIED;
30 import static android.view.PointerIcon.TYPE_DEFAULT;
31 import static android.view.PointerIcon.TYPE_HORIZONTAL_DOUBLE_ARROW;
32 import static android.view.PointerIcon.TYPE_VERTICAL_DOUBLE_ARROW;
33 import static android.view.PointerIcon.TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW;
34 import static android.view.PointerIcon.TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW;
DragState.java 45 import android.view.PointerIcon;
595 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_GRABBING);
WindowManagerService.java 92 import android.view.PointerIcon;
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ViewTest.java 63 import android.view.PointerIcon;
391 // First view has pointerIcon="help"
392 assertEquals(PointerIcon.getSystemIcon(mActivity, PointerIcon.TYPE_HELP),
395 // Second view inherits pointerIcon="crosshair" from the parent
397 assertEquals(PointerIcon.getSystemIcon(mActivity, PointerIcon.TYPE_CROSSHAIR),
404 // Parent view has pointerIcon="crosshair"
406 assertEquals(PointerIcon.getSystemIcon(mActivity, PointerIcon.TYPE_CROSSHAIR)
    [all...]
MockView.java 30 import android.view.PointerIcon;
613 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DividerView.java 19 import static android.view.PointerIcon.TYPE_HORIZONTAL_DOUBLE_ARROW;
20 import static android.view.PointerIcon.TYPE_VERTICAL_DOUBLE_ARROW;
41 import android.view.PointerIcon;
292 mHandle.setPointerIcon(PointerIcon.getSystemIcon(getContext(),
    [all...]
  /frameworks/base/services/core/jni/
com_android_server_input_InputManagerService.cpp 156 PointerIcon* outPointerIcon, SpriteIcon* outSpriteIcon) {
168 PointerIcon pointerIcon;
169 loadSystemIconAsSpriteWithPointerIcon(env, contextObj, style, &pointerIcon, outSpriteIcon);
    [all...]
  /frameworks/base/services/core/java/com/android/server/input/
InputManagerService.java 90 import android.view.PointerIcon;
232 private static native void nativeSetCustomPointerIcon(long ptr, PointerIcon icon);
    [all...]
  /frameworks/base/core/java/android/widget/
TextView.java 123 import android.view.PointerIcon;
    [all...]

Completed in 1009 milliseconds

1 2