Home
last modified time | relevance | path

Searched refs:mTargets (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java69 private final ArrayList<SnapTarget> mTargets = new ArrayList<>(); field in DividerSnapAlgorithm
135 mFirstSplitTarget = mTargets.get(1); in DividerSnapAlgorithm()
136 mLastSplitTarget = mTargets.get(mTargets.size() - 2); in DividerSnapAlgorithm()
137 mDismissStartTarget = mTargets.get(0); in DividerSnapAlgorithm()
138 mDismissEndTarget = mTargets.get(mTargets.size() - 1); in DividerSnapAlgorithm()
139 mMiddleTarget = mTargets.get(mTargets.size() / 2); in DividerSnapAlgorithm()
252 int size = mTargets.size(); in snap()
254 SnapTarget target = mTargets.get(i); in snap()
264 return mTargets.get(minIndex); in snap()
268 mTargets.clear(); in calculateTargets()
[all …]
/frameworks/support/palette/src/main/java/androidx/palette/graphics/
DPalette.java151 private final List<Target> mTargets; field in Palette
160 mTargets = targets; in Palette()
181 return Collections.unmodifiableList(mTargets); in getTargets()
355 for (int i = 0, count = mTargets.size(); i < count; i++) { in generate()
356 final Target target = mTargets.get(i); in generate()
604 private final List<Target> mTargets = new ArrayList<>(); field in Palette.Builder
625 mTargets.add(Target.LIGHT_VIBRANT); in Builder()
626 mTargets.add(Target.VIBRANT); in Builder()
627 mTargets.add(Target.DARK_VIBRANT); in Builder()
628 mTargets.add(Target.LIGHT_MUTED); in Builder()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTouchAnimator.java35 private final Object[] mTargets; field in TouchAnimator
46 mTargets = targets; in TouchAnimator()
73 for (int i = 0; i < mTargets.length; i++) { in setPosition()
74 mKeyframeSets[i].setValue(t, mTargets[i]); in setPosition()
123 private List<Object> mTargets = new ArrayList<>(); field in TouchAnimator.Builder
142 mTargets.add(target); in add()
196 return new TouchAnimator(mTargets.toArray(new Object[mTargets.size()]), in build()
/frameworks/base/core/java/com/android/internal/app/
DAccessibilityButtonChooserActivity.java53 private List<AccessibilityButtonTarget> mTargets = null; field in AccessibilityButtonChooserActivity
76 mTargets = getServiceAccessibilityButtonTargets(this); in onCreate()
79 mTargets.add(mMagnificationTarget); in onCreate()
82 if (mTargets.size() < 2) { in onCreate()
90 onTargetSelected(mTargets.get(position)); in onCreate()
123 return mTargets.size(); in getCount()
140 final AccessibilityButtonTarget target = mTargets.get(position); in getView()
DResolverComparator.java101 private ArrayList<ResolverTarget> mTargets; field in ResolverComparator
124 if (receivedTargets != null && mTargets != null
125 && receivedTargets.size() == mTargets.size()) {
126 final int size = mTargets.size();
131 if (predictedProb != mTargets.get(i).getSelectProbability()) {
132 mTargets.get(i).setSelectProbability(predictedProb);
284 mTargets = new ArrayList<>(mTargetsDict.values()); in compute()
285 for (ResolverTarget target : mTargets) { in compute()
296 predictSelectProbabilities(mTargets); in compute()
380 if (selectedPos >= 0 && mTargets != null) { in updateModel()
[all …]
/frameworks/base/core/java/com/android/internal/graphics/palette/
DPalette.java151 private final List<Target> mTargets; field in Palette
160 mTargets = targets; in Palette()
181 return Collections.unmodifiableList(mTargets); in getTargets()
355 for (int i = 0, count = mTargets.size(); i < count; i++) { in generate()
356 final Target target = mTargets.get(i); in generate()
607 private final List<Target> mTargets = new ArrayList<>(); field in Palette.Builder
630 mTargets.add(Target.LIGHT_VIBRANT); in Builder()
631 mTargets.add(Target.VIBRANT); in Builder()
632 mTargets.add(Target.DARK_VIBRANT); in Builder()
633 mTargets.add(Target.LIGHT_MUTED); in Builder()
[all …]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DParallaxEffect.java49 final List<ParallaxTarget> mTargets = new ArrayList<ParallaxTarget>(4); field in ParallaxEffect
140 mTargets.add(target); in addTarget()
150 mTargets.add(target); in target()
163 mTargets.add(new ParallaxTarget.PropertyValuesHolderTarget(targetObject, values)); in target()
180 mTargets.add(new ParallaxTarget.DirectPropertyTarget(targetObject, targetProperty)); in target()
190 return mTargets; in getTargets()
198 mTargets.remove(target); in removeTarget()
216 for (int i = 0; i < mTargets.size(); i++) { in performMapping()
217 ParallaxTarget target = mTargets.get(i); in performMapping()
/frameworks/base/services/core/java/com/android/server/am/
DPreBootBroadcaster.java59 private final List<ResolveInfo> mTargets; field in PreBootBroadcaster
73 mTargets = mService.mContext.getPackageManager().queryBroadcastReceiversAsUser(mIntent, in PreBootBroadcaster()
78 if (mIndex >= mTargets.size()) { in sendNext()
92 mHandler.obtainMessage(MSG_SHOW, mTargets.size(), mIndex).sendToTarget(); in sendNext()
95 final ResolveInfo ri = mTargets.get(mIndex++); in sendNext()
101 mProgress.setProgress(mIndex, mTargets.size(), in sendNext()
/frameworks/base/core/java/android/transition/
DTransition.java182 ArrayList<View> mTargets = new ArrayList<View>(); field in Transition
830 if (mTargetIds.size() == 0 && mTargets.size() == 0 && in isValidTarget()
835 if (mTargetIds.contains(targetId) || mTargets.contains(target)) { in isValidTarget()
1314 mTargets.add(target); in addTarget()
1330 mTargets.remove(target); in removeTarget()
1377 return mTargets; in getTargets()
1425 if ((mTargetIds.size() > 0 || mTargets.size() > 0) in captureValues()
1448 for (int i = 0; i < mTargets.size(); ++i) { in captureValues()
1449 View view = mTargets.get(i); in captureValues()
2264 if (mTargetIds.size() > 0 || mTargets.size() > 0) { in toString()
[all …]
/frameworks/support/transition/src/main/java/androidx/transition/
DTransition.java186 ArrayList<View> mTargets = new ArrayList<>(); field in Transition
834 if (mTargetIds.size() == 0 && mTargets.size() == 0 in isValidTarget()
839 if (mTargetIds.contains(targetId) || mTargets.contains(target)) { in isValidTarget()
997 mTargets.add(target); in addTarget()
1095 mTargets.remove(target); in removeTarget()
1425 return mTargets; in getTargets()
1468 if ((mTargetIds.size() > 0 || mTargets.size() > 0) in captureValues()
1491 for (int i = 0; i < mTargets.size(); ++i) { in captureValues()
1492 View view = mTargets.get(i); in captureValues()
2255 if (mTargetIds.size() > 0 || mTargets.size() > 0) { in toString()
[all …]