/frameworks/support/compat/tests/java/android/support/v4/view/ |
D | PointerIconCompatTest.java | 31 import android.view.PointerIcon; 59 assertEquals(PointerIcon.getSystemIcon(mActivity, type), mView.getPointerIcon()); in compareSystemIcon() 65 compareSystemIcon(PointerIcon.TYPE_ALIAS, PointerIconCompat.TYPE_ALIAS); in testSystemIcon() 66 compareSystemIcon(PointerIcon.TYPE_ALL_SCROLL, PointerIconCompat.TYPE_ALL_SCROLL); in testSystemIcon() 67 compareSystemIcon(PointerIcon.TYPE_ARROW, PointerIconCompat.TYPE_ARROW); in testSystemIcon() 68 compareSystemIcon(PointerIcon.TYPE_CELL, PointerIconCompat.TYPE_CELL); in testSystemIcon() 69 compareSystemIcon(PointerIcon.TYPE_CONTEXT_MENU, PointerIconCompat.TYPE_CONTEXT_MENU); in testSystemIcon() 70 compareSystemIcon(PointerIcon.TYPE_COPY, PointerIconCompat.TYPE_COPY); in testSystemIcon() 71 compareSystemIcon(PointerIcon.TYPE_CROSSHAIR, PointerIconCompat.TYPE_CROSSHAIR); in testSystemIcon() 72 compareSystemIcon(PointerIcon.TYPE_DEFAULT, PointerIconCompat.TYPE_DEFAULT); in testSystemIcon() [all …]
|
/frameworks/base/core/java/android/view/ |
D | PointerIcon.java | 43 public final class PointerIcon implements Parcelable { class 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) { in PointerIcon() method in PointerIcon 166 public static PointerIcon getNullIcon() { in getNullIcon() 179 public static PointerIcon getDefaultIcon(@NonNull Context context) { in getDefaultIcon() 193 public static PointerIcon getSystemIcon(@NonNull Context context, int type) { in getSystemIcon() 202 PointerIcon icon = gSystemIcons.get(type); in getSystemIcon() 225 icon = new PointerIcon(type); in getSystemIcon() 257 public static PointerIcon create(@NonNull Bitmap bitmap, float hotSpotX, float hotSpotY) { in create() [all …]
|
D | PointerIcon.aidl | 19 parcelable PointerIcon;
|
/frameworks/base/core/jni/ |
D | android_view_PointerIcon.h | 65 struct PointerIcon { struct 66 inline PointerIcon() { in PointerIcon() argument 98 jobject pointerIconObj, jobject contextObj, PointerIcon* outPointerIcon); argument 102 PointerIcon* outPointerIcon); 108 jobject contextObj, int32_t style, PointerIcon* outPointerIcon);
|
D | android_view_PointerIcon.cpp | 61 PointerIcon* outPointerIcon) { in android_view_PointerIcon_load() 80 PointerIcon* outPointerIcon) { in android_view_PointerIcon_getLoadedIcon() 111 int32_t style, PointerIcon* outPointerIcon) { in android_view_PointerIcon_loadSystemIcon()
|
/frameworks/base/core/java/android/widget/ |
D | Button.java | 22 import android.view.PointerIcon; 181 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon() 183 return PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND); in onResolvePointerIcon()
|
D | ImageButton.java | 22 import android.view.PointerIcon; 101 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon() 103 return PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND); in onResolvePointerIcon()
|
D | TabWidget.java | 29 import android.view.PointerIcon; 500 child.setPointerIcon(PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND)); in addView() 517 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
|
D | Spinner.java | 41 import android.view.PointerIcon; 909 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon() 911 return PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND); in onResolvePointerIcon()
|
D | SimpleMonthView.java | 42 import android.view.PointerIcon; 1030 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon() 1039 return PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND); in onResolvePointerIcon()
|
D | RadialTimePickerView.java | 42 import android.view.PointerIcon; 1057 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon() 1063 return PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND); in onResolvePointerIcon()
|
D | FastScroller.java | 41 import android.view.PointerIcon; 1445 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon() 1447 return PointerIcon.getSystemIcon(mList.getContext(), PointerIcon.TYPE_ARROW); in onResolvePointerIcon()
|
/frameworks/support/compat/java/android/support/v4/view/ |
D | PointerIconCompat.java | 26 import android.view.PointerIcon; 129 return new PointerIconCompat(PointerIcon.getSystemIcon(context, style)); in getSystemIcon() 150 return new PointerIconCompat(PointerIcon.create(bitmap, hotSpotX, hotSpotY)); in create() 179 return new PointerIconCompat(PointerIcon.load(resources, resourceId)); in load()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskTapPointerEventListener.java | 27 import static android.view.PointerIcon.TYPE_NOT_SPECIFIED; 28 import static android.view.PointerIcon.TYPE_HORIZONTAL_DOUBLE_ARROW; 29 import static android.view.PointerIcon.TYPE_VERTICAL_DOUBLE_ARROW; 30 import static android.view.PointerIcon.TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW; 31 import static android.view.PointerIcon.TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW;
|
D | DragState.java | 45 import android.view.PointerIcon; 622 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_GRABBING); in overridePointerIconLw()
|
/frameworks/base/core/java/android/hardware/input/ |
D | IInputManager.aidl | 27 import android.view.PointerIcon; 83 void setCustomPointerIcon(in PointerIcon icon); in setCustomPointerIcon()
|
D | InputManager.java | 46 import android.view.PointerIcon; 891 public void setCustomPointerIcon(PointerIcon icon) { in setCustomPointerIcon()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | BaseIWindow.java | 28 import android.view.PointerIcon; 99 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_NOT_SPECIFIED); in updatePointerIcon()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | PointerIcon_Delegate.java | 27 /*package*/ static void loadResource(PointerIcon icon, Context context, Resources resources, in loadResource()
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | TabLayoutTest.java | 52 import android.view.PointerIcon; 207 final PointerIcon expectedIcon = in testPointerIcon() 208 PointerIcon.getSystemIcon(mActivityTestRule.getActivity(), PointerIcon.TYPE_HAND); in testPointerIcon()
|
D | BottomNavigationViewTest.java | 57 import android.view.PointerIcon; 389 final PointerIcon expectedIcon = PointerIcon.getSystemIcon(activity, PointerIcon.TYPE_HAND); in testPointerIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | RecentsViewTouchHandler.java | 25 import android.view.PointerIcon; 165 device.setPointerType(PointerIcon.TYPE_GRABBING); in onBusEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | DividerView.java | 19 import static android.view.PointerIcon.TYPE_HORIZONTAL_DOUBLE_ARROW; 20 import static android.view.PointerIcon.TYPE_VERTICAL_DOUBLE_ARROW; 42 import android.view.PointerIcon; 296 mHandle.setPointerIcon(PointerIcon.getSystemIcon(getContext(), in onFinishInflate()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 95 import android.view.PointerIcon; 237 private static native void nativeSetCustomPointerIcon(long ptr, PointerIcon icon); in nativeSetCustomPointerIcon() 1663 PointerIcon.setUseLargeIcons(accessibilityConfig == 1); in updateAccessibilityLargePointerFromSettings() 1755 public void setCustomPointerIcon(PointerIcon icon) { in setCustomPointerIcon() 2021 private PointerIcon getPointerIcon() { in getPointerIcon() 2022 return PointerIcon.getDefaultIcon(mContext); in getPointerIcon()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 157 PointerIcon* outPointerIcon, SpriteIcon* outSpriteIcon) { in loadSystemIconAsSpriteWithPointerIcon() 169 PointerIcon pointerIcon; in loadSystemIconAsSprite() 1117 PointerIcon pointerIcon; in loadPointerIcon() 1144 PointerIcon pointerIcon; in loadAdditionalMouseResources() 1546 PointerIcon pointerIcon; in nativeSetCustomPointerIcon()
|