List of usage examples for android.view.accessibility AccessibilityNodeInfo setClassName
public void setClassName(CharSequence className)
From source file:com.albedinsky.android.support.ui.widget.ScrollViewWidget.java
/** *///from w w w .j a v a2s .c o m @Override public void onInitializeAccessibilityNodeInfo(@NonNull AccessibilityNodeInfo info) { super.onInitializeAccessibilityNodeInfo(info); info.setClassName(ScrollViewWidget.class.getName()); }
From source file:CookieVideoView.java
@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH) @Override//from www . j a va2 s. c o m public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) { super.onInitializeAccessibilityNodeInfo(info); info.setClassName(CookieVideoView.class.getName()); }
From source file:com.albedinsky.android.support.ui.widget.HorizontalScrollViewWidget.java
/** *//*from w ww . j a v a 2s . co m*/ @Override public void onInitializeAccessibilityNodeInfo(@NonNull AccessibilityNodeInfo info) { super.onInitializeAccessibilityNodeInfo(info); info.setClassName(HorizontalScrollViewWidget.class.getName()); }
From source file:com.massivekinetics.ow.ui.views.timepicker.TimePicker.java
@Override public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { super.onInitializeAccessibilityNodeInfo(info); info.setClassName(TimePicker.class.getName()); }//from w ww . j a v a 2s . com }
From source file:com.tasomaniac.openwith.resolver.ResolverDrawerLayout.java
@SuppressWarnings("deprecation") @SuppressLint("InlinedApi") @Override/*from www . j a v a 2s. co m*/ public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) { super.onInitializeAccessibilityNodeInfo(info); info.setClassName(ResolverDrawerLayout.class.getName()); if (isEnabled()) { if (mCollapseOffset != 0) { info.addAction(AccessibilityNodeInfo.ACTION_SCROLL_FORWARD); info.setScrollable(true); } } }
From source file:com.atomjack.vcfp.VideoControllerView.java
@Override public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) { super.onInitializeAccessibilityNodeInfo(info); info.setClassName(VideoControllerView.class.getName()); }
From source file:com.albedinsky.android.support.ui.widget.ViewPagerWidget.java
/** *//*from w w w. j av a 2 s . co m*/ @Override public void onInitializeAccessibilityNodeInfo(@NonNull AccessibilityNodeInfo info) { super.onInitializeAccessibilityNodeInfo(info); info.setClassName(ViewPagerWidget.class.getName()); }
From source file:com.albedinsky.android.ui.widget.ViewPagerWidget.java
/** *//*from ww w . j a v a 2 s. co m*/ @Override @TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH) public void onInitializeAccessibilityNodeInfo(@NonNull AccessibilityNodeInfo info) { super.onInitializeAccessibilityNodeInfo(info); info.setClassName(ViewPagerWidget.class.getName()); }
From source file:lewa.support.v7.widget.SwitchCompat.java
@Override public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) { if (Build.VERSION.SDK_INT >= 14) { super.onInitializeAccessibilityNodeInfo(info); info.setClassName(SwitchCompat.class.getName()); CharSequence switchText = isChecked() ? mTextOn : mTextOff; if (!TextUtils.isEmpty(switchText)) { CharSequence oldText = info.getText(); if (TextUtils.isEmpty(oldText)) { info.setText(switchText); } else { StringBuilder newText = new StringBuilder(); newText.append(oldText).append(' ').append(switchText); info.setText(newText);//from w ww . ja v a 2 s. co m } } } }
From source file:com.grottworkshop.gwsmaterialcalendarview.MaterialCalendarView.java
@Override public void onInitializeAccessibilityNodeInfo(@NonNull AccessibilityNodeInfo info) { super.onInitializeAccessibilityNodeInfo(info); info.setClassName(MaterialCalendarView.class.getName()); }