Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/
DPointerIcon.java50 public final class PointerIcon implements Parcelable { class
147 private static final PointerIcon gNullIcon = new PointerIcon(TYPE_NULL);
148 private static final SparseArray<SparseArray<PointerIcon>> gSystemIconsByDisplay =
149 new SparseArray<SparseArray<PointerIcon>>();
174 private PointerIcon(int type) { in PointerIcon() method in PointerIcon
186 public static PointerIcon getNullIcon() { in getNullIcon()
199 public static PointerIcon getDefaultIcon(@NonNull Context context) { in getDefaultIcon()
213 public static PointerIcon getSystemIcon(@NonNull Context context, int type) { in getSystemIcon()
227 SparseArray<PointerIcon> systemIcons = gSystemIconsByDisplay.get(displayId); in getSystemIcon()
233 PointerIcon icon = systemIcons.get(type); in getSystemIcon()
[all …]
DPointerIcon.aidl19 parcelable PointerIcon;
DOWNERS14 per-file PointerIcon.java = michaelwr@google.com, svv@google.com
DInputDevice.java852 public void setCustomPointerIcon(PointerIcon icon) { in setCustomPointerIcon()
DViewRootImpl.java613 private int mPointerIconType = PointerIcon.TYPE_NOT_SPECIFIED;
614 private PointerIcon mCustomPointerIcon = null;
6035 mPointerIconType = PointerIcon.TYPE_NOT_SPECIFIED; in maybeUpdatePointerIcon()
6041 mPointerIconType = PointerIcon.TYPE_NOT_SPECIFIED; in maybeUpdatePointerIcon()
6080 mPointerIconType = PointerIcon.TYPE_NOT_SPECIFIED; in resetPointerIcon()
6098 final PointerIcon pointerIcon = mView.onResolvePointerIcon(event, pointerIndex); in updatePointerIcon()
6100 pointerIcon.getType() : PointerIcon.TYPE_DEFAULT; in updatePointerIcon()
6105 if (mPointerIconType != PointerIcon.TYPE_CUSTOM) { in updatePointerIcon()
6110 if (mPointerIconType == PointerIcon.TYPE_CUSTOM && in updatePointerIcon()
DViewGroup.java2035 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
2039 return PointerIcon.getSystemIcon(mContext, PointerIcon.TYPE_ARROW); in onResolvePointerIcon()
2073 final PointerIcon pointerIcon = in onResolvePointerIcon()
2088 private PointerIcon dispatchResolvePointerIcon(MotionEvent event, int pointerIndex, in dispatchResolvePointerIcon()
2090 final PointerIcon pointerIcon; in dispatchResolvePointerIcon()
/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/
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()
DButton.java23 import android.view.PointerIcon;
175 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
177 return PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND); in onResolvePointerIcon()
DTabWidget.java30 import android.view.PointerIcon;
534 child.setPointerIcon(PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND)); in addView()
551 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
DSpinner.java42 import android.view.PointerIcon;
922 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
924 return PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND); in onResolvePointerIcon()
DSimpleMonthView.java43 import android.view.PointerIcon;
1036 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
1045 return PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND); in onResolvePointerIcon()
DRadialTimePickerView.java42 import android.view.PointerIcon;
1059 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
1065 return PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND); in onResolvePointerIcon()
DFastScroller.java42 import android.view.PointerIcon;
1459 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
1461 return PointerIcon.getSystemIcon(mList.getContext(), PointerIcon.TYPE_ARROW); in onResolvePointerIcon()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskTapPointerEventListener.java19 import static android.view.PointerIcon.TYPE_HORIZONTAL_DOUBLE_ARROW;
20 import static android.view.PointerIcon.TYPE_NOT_SPECIFIED;
21 import static android.view.PointerIcon.TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW;
22 import static android.view.PointerIcon.TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW;
23 import static android.view.PointerIcon.TYPE_VERTICAL_DOUBLE_ARROW;
DDragState.java52 import android.view.PointerIcon;
679 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_GRABBING); in overridePointerIconLocked()
/frameworks/base/core/java/android/hardware/input/
DIInputManager.aidl29 import android.view.PointerIcon;
90 void setCustomPointerIcon(in PointerIcon icon); in setCustomPointerIcon()
DInputManager.java49 import android.view.PointerIcon;
952 public void setCustomPointerIcon(PointerIcon icon) { in setCustomPointerIcon()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java34 import android.view.PointerIcon;
142 InputManager.getInstance().setPointerIconType(PointerIcon.TYPE_NOT_SPECIFIED); in updatePointerIcon()
/frameworks/layoutlib/bridge/src/android/view/
DPointerIcon_Delegate.java27 /*package*/ static void loadResource(PointerIcon icon, Context context, Resources resources, in loadResource()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java80 import android.view.PointerIcon;
247 private static native void nativeSetCustomPointerIcon(long ptr, PointerIcon icon); in nativeSetCustomPointerIcon()
1661 PointerIcon.setUseLargeIcons(accessibilityConfig == 1); in updateAccessibilityLargePointerFromSettings()
1781 public void setCustomPointerIcon(PointerIcon icon) { in setCustomPointerIcon()
2134 private PointerIcon getPointerIcon(int displayId) { in getPointerIcon()
2135 return PointerIcon.getDefaultIcon(getContextForDisplay(displayId)); in getPointerIcon()
/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;
312 mHandle.setPointerIcon(PointerIcon.getSystemIcon(getContext(), in onFinishInflate()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp157 PointerIcon* outPointerIcon, SpriteIcon* outSpriteIcon) { in loadSystemIconAsSpriteWithPointerIcon()
170 PointerIcon pointerIcon; in loadSystemIconAsSprite()
1188 PointerIcon pointerIcon; in loadPointerIcon()
1224 PointerIcon pointerIcon; in loadAdditionalMouseResources()
1720 PointerIcon pointerIcon; in nativeSetCustomPointerIcon()
/frameworks/base/config/
Ddirty-image-objects223 android.view.PointerIcon

12