Home
last modified time | relevance | path

Searched refs:targetMap (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/view/
DTouchDelegate.java219 final ArrayMap<Region, View> targetMap = new ArrayMap<>(1); in getTouchDelegateInfo() local
224 targetMap.put(new Region(bounds), mDelegateView); in getTouchDelegateInfo()
225 mTouchDelegateInfo = new TouchDelegateInfo(targetMap); in getTouchDelegateInfo()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java5029 public TouchDelegateInfo(@NonNull Map<Region, View> targetMap) { in TouchDelegateInfo() argument
5030 Preconditions.checkArgument(!targetMap.isEmpty() in TouchDelegateInfo()
5031 && !targetMap.containsKey(null) && !targetMap.containsValue(null)); in TouchDelegateInfo()
5032 mTargetMap = new ArrayMap<>(targetMap.size()); in TouchDelegateInfo()
5033 for (final Region region : targetMap.keySet()) { in TouchDelegateInfo()
5034 final View view = targetMap.get(region); in TouchDelegateInfo()
5048 TouchDelegateInfo(@NonNull ArrayMap<Region, Long> targetMap, boolean doCopy) { in TouchDelegateInfo() argument
5049 Preconditions.checkArgument(!targetMap.isEmpty() in TouchDelegateInfo()
5050 && !targetMap.containsKey(null) && !targetMap.containsValue(null)); in TouchDelegateInfo()
5052 mTargetMap = new ArrayMap<>(targetMap.size()); in TouchDelegateInfo()
[all …]