@Override
 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
   super.onInitializeAccessibilityNodeInfo(info);
   info.setClassName(MaterialCompoundButton.class.getName());
   info.setCheckable(true);
   info.setChecked(mButtonView.isChecked());
 }
 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo paramAccessibilityNodeInfo)
 {
   if (Build.VERSION.SDK_INT >= 14)
   {
     super.onInitializeAccessibilityNodeInfo(paramAccessibilityNodeInfo);
     paramAccessibilityNodeInfo.setClassName(LinearLayoutCompat.class.getName());
   }
 }
Пример #3
0
 @SuppressLint("NewApi")
 @Override
 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
   super.onInitializeAccessibilityNodeInfo(info);
   info.setClassName(AdapterView.class.getName());
   info.setScrollable(isScrollableForAccessibility());
   View selectedView = getSelectedView();
   if (selectedView != null) {
     info.setEnabled(selectedView.isEnabled());
   }
 }
 @Override
 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
   super.onInitializeAccessibilityNodeInfo(info);
   if (!TextUtils.isEmpty(mAccessibilityClass)) {
     info.setClassName(mAccessibilityClass);
     if (Switch.class.getName().equals(mAccessibilityClass)) {
       String label =
           getResources().getString(mTileState ? R.string.switch_bar_on : R.string.switch_bar_off);
       info.setText(label);
       info.setChecked(mTileState);
       info.setCheckable(true);
     }
   }
 }
Пример #5
0
 @Override
 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
   super.onInitializeAccessibilityNodeInfo(info);
   info.setClassName(VideoView.class.getName());
 }
Пример #6
0
 @Override
 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
   super.onInitializeAccessibilityNodeInfo(info);
   info.setClassName(MmsMediaController.class.getName());
 }
 public void a(Object paramObject, CharSequence paramCharSequence) {
   ((AccessibilityNodeInfo) paramObject).setClassName(paramCharSequence);
 }
Пример #8
0
 @Override
 public void onInitializeAccessibilityNodeInfo(@NonNull AccessibilityNodeInfo info) {
   super.onInitializeAccessibilityNodeInfo(info);
   info.setClassName(MonthView.class.getName());
 }
 @Override
 public void onInitializeAccessibilityNodeInfo(final AccessibilityNodeInfo info) {
   super.onInitializeAccessibilityNodeInfo(info);
   info.setClassName(MediaFensterPlayerController.class.getName());
 }
Пример #10
0
 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
   super.onInitializeAccessibilityNodeInfo(info);
   info.setClassName(LinearLayout.class.getName());
 }
 public static void a(Object obj, CharSequence charsequence) {
   ((AccessibilityNodeInfo) obj).setClassName(charsequence);
 }
Пример #12
0
 /** This is required to make the View findable by uiautomator */
 @Override
 public void onInitializeAccessibilityNodeInfo(final AccessibilityNodeInfo info) {
   super.onInitializeAccessibilityNodeInfo(info);
   info.setClassName(SoundLevels.class.getCanonicalName());
 }
 @Override
 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
   super.onInitializeAccessibilityNodeInfo(info);
   info.setClassName(AwContents.class.getName());
   mAwContents.onInitializeAccessibilityNodeInfo(info);
 }