Home
last modified time | relevance | path

Searched refs:newTargetFeatures (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuView.java254 private void onTargetFeaturesChanged(List<AccessibilityTarget> newTargetFeatures) { in onTargetFeaturesChanged() argument
260 mTargetFeatures.addAll(newTargetFeatures); in onTargetFeaturesChanged()
261 mMenuViewAppearance.setTargetFeaturesSize(newTargetFeatures.size()); in onTargetFeaturesChanged()
264 new MenuTargetsCallback(targetFeatures, newTargetFeatures)).dispatchUpdatesTo( in onTargetFeaturesChanged()
272 mFeaturesChangeListener.onChange(newTargetFeatures); in onTargetFeaturesChanged()
434 void onChange(List<AccessibilityTarget> newTargetFeatures); in onChange() argument
DMenuViewLayer.java293 mMenuView.setOnTargetFeaturesChangeListener(newTargetFeatures -> { in MenuViewLayer()
296 if (newTargetFeatures.size() > 0) { in MenuViewLayer()
300 if (newTargetFeatures.size() < 1) { in MenuViewLayer()
313 messageText.setText(getMessageText(newTargetFeatures)); in MenuViewLayer()
344 private String getMessageText(List<AccessibilityTarget> newTargetFeatures) { in getMessageText() argument
345 Preconditions.checkArgument(newTargetFeatures.size() > 0, in getMessageText()
348 final int featuresSize = newTargetFeatures.size(); in getMessageText()
353 newTargetFeatures.get(0).getLabel()); in getMessageText()
DMenuViewModel.java53 public void onTargetFeaturesChanged(List<AccessibilityTarget> newTargetFeatures) { in onTargetFeaturesChanged() argument
54 mTargetFeaturesData.setValue(newTargetFeatures); in onTargetFeaturesChanged()
DMenuInfoRepository.java287 void onTargetFeaturesChanged(List<AccessibilityTarget> newTargetFeatures); in onTargetFeaturesChanged() argument