Home
last modified time | relevance | path

Searched refs:PointerIcon (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/support/compat/tests/java/android/support/v4/view/
DPointerIconCompatTest.java31 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/
DPointerIcon.java43 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 …]
DPointerIcon.aidl19 parcelable PointerIcon;
/frameworks/base/core/jni/
Dandroid_view_PointerIcon.h65 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);
Dandroid_view_PointerIcon.cpp61 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/
DButton.java22 import android.view.PointerIcon;
181 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
183 return PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND); in onResolvePointerIcon()
DImageButton.java22 import android.view.PointerIcon;
101 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
103 return PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND); in onResolvePointerIcon()
DTabWidget.java29 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()
DSpinner.java41 import android.view.PointerIcon;
909 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
911 return PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND); in onResolvePointerIcon()
DSimpleMonthView.java42 import android.view.PointerIcon;
1030 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
1039 return PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND); in onResolvePointerIcon()
DRadialTimePickerView.java42 import android.view.PointerIcon;
1057 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
1063 return PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND); in onResolvePointerIcon()
DFastScroller.java41 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/
DPointerIconCompat.java26 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/
DTaskTapPointerEventListener.java27 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;
DDragState.java45 import android.view.PointerIcon;
622 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_GRABBING); in overridePointerIconLw()
/frameworks/base/core/java/android/hardware/input/
DIInputManager.aidl27 import android.view.PointerIcon;
83 void setCustomPointerIcon(in PointerIcon icon); in setCustomPointerIcon()
DInputManager.java46 import android.view.PointerIcon;
891 public void setCustomPointerIcon(PointerIcon icon) { in setCustomPointerIcon()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java28 import android.view.PointerIcon;
99 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_NOT_SPECIFIED); in updatePointerIcon()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DPointerIcon_Delegate.java27 /*package*/ static void loadResource(PointerIcon icon, Context context, Resources resources, in loadResource()
/frameworks/support/design/tests/src/android/support/design/widget/
DTabLayoutTest.java52 import android.view.PointerIcon;
207 final PointerIcon expectedIcon = in testPointerIcon()
208 PointerIcon.getSystemIcon(mActivityTestRule.getActivity(), PointerIcon.TYPE_HAND); in testPointerIcon()
DBottomNavigationViewTest.java57 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/
DRecentsViewTouchHandler.java25 import android.view.PointerIcon;
165 device.setPointerType(PointerIcon.TYPE_GRABBING); in onBusEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java19 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/
DInputManagerService.java95 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/
Dcom_android_server_input_InputManagerService.cpp157 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()

12