本文整理汇总了Java中android.support.v4.view.accessibility.AccessibilityNodeProviderCompat类的典型用法代码示例。如果您正苦于以下问题:Java AccessibilityNodeProviderCompat类的具体用法?Java AccessibilityNodeProviderCompat怎么用?Java AccessibilityNodeProviderCompat使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
AccessibilityNodeProviderCompat类属于android.support.v4.view.accessibility包,在下文中一共展示了AccessibilityNodeProviderCompat类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getAccessibilityNodeProvider
import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat; //导入依赖的package包/类
public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(Object delegate, View host) {
Object provider = AccessibilityDelegateCompatJellyBean.getAccessibilityNodeProvider(delegate, host);
if (provider != null) {
return new AccessibilityNodeProviderCompat(provider);
}
return null;
}
示例2: getAccessibilityNodeProvider
import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat; //导入依赖的package包/类
public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(View view) {
Object compat = ViewCompatJB.getAccessibilityNodeProvider(view);
if (compat != null) {
return new AccessibilityNodeProviderCompat(compat);
}
return null;
}
示例3: getAccessibilityNodeProvider
import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat; //导入依赖的package包/类
public final AccessibilityNodeProviderCompat getAccessibilityNodeProvider(Object paramObject, View paramView)
{
AccessibilityNodeProvider localAccessibilityNodeProvider = ((View.AccessibilityDelegate)paramObject).getAccessibilityNodeProvider(paramView);
if (localAccessibilityNodeProvider != null) {
return new AccessibilityNodeProviderCompat(localAccessibilityNodeProvider);
}
return null;
}
示例4: getAccessibilityNodeProvider
import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat; //导入依赖的package包/类
@Override
public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(Object delegate,
View host) {
Object provider = AccessibilityDelegateCompatJellyBean.getAccessibilityNodeProvider(
delegate, host);
if (provider != null) {
return new AccessibilityNodeProviderCompat(provider);
}
return null;
}
示例5: getAccessibilityNodeProvider
import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat; //导入依赖的package包/类
@Override
public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(View view) {
Object compat = ViewCompatJB.getAccessibilityNodeProvider(view);
if (compat != null) {
return new AccessibilityNodeProviderCompat(compat);
}
return null;
}
示例6: getAccessibilityNodeProvider
import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat; //导入依赖的package包/类
/**
* Returns the {@link AccessibilityNodeProviderCompat} for this helper.
*
* @param host View whose logical children are exposed by this helper.
* @return The accessibility node provider for this helper.
*/
@Override
public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(View host) {
if (mNodeProvider == null) {
mNodeProvider = new ExploreByTouchNodeProvider();
}
return mNodeProvider;
}
示例7: getAccessibilityNodeProvider
import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat; //导入依赖的package包/类
public Object getAccessibilityNodeProvider(View view)
{
AccessibilityNodeProviderCompat accessibilitynodeprovidercompat = a.getAccessibilityNodeProvider(view);
if (accessibilitynodeprovidercompat != null)
{
return accessibilitynodeprovidercompat.getProvider();
} else
{
return null;
}
}
示例8: getAccessibilityNodeProvider
import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat; //导入依赖的package包/类
public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(View view)
{
if (i == null)
{
i = new o(this, null);
}
return i;
}
示例9: getAccessibilityNodeProvider
import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat; //导入依赖的package包/类
public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(Object obj, View view)
{
obj = AccessibilityDelegateCompatJellyBean.getAccessibilityNodeProvider(obj, view);
if (obj != null)
{
return new AccessibilityNodeProviderCompat(obj);
} else
{
return null;
}
}
示例10: getAccessibilityNodeProvider
import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat; //导入依赖的package包/类
public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(View view)
{
view = ((View) (ViewCompatJB.getAccessibilityNodeProvider(view)));
if (view != null)
{
return new AccessibilityNodeProviderCompat(view);
} else
{
return null;
}
}
示例11: getAccessibilityNodeProvider
import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat; //导入依赖的package包/类
public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(View view)
{
if (mNodeProvider == null)
{
mNodeProvider = new ExploreByTouchNodeProvider();
}
return mNodeProvider;
}