当前位置: 首页>>代码示例>>Java>>正文


Java AccessibilityNodeProviderCompat类代码示例

本文整理汇总了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;
}
 
开发者ID:JackChan1999,项目名称:letv,代码行数:8,代码来源:AccessibilityDelegateCompat.java

示例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;
}
 
开发者ID:JackChan1999,项目名称:letv,代码行数:8,代码来源:ViewCompat.java

示例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;
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:9,代码来源:AccessibilityDelegateCompat.java

示例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;
}
 
开发者ID:bestarandyan,项目名称:ShoppingMall,代码行数:11,代码来源:AccessibilityDelegateCompat.java

示例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;
}
 
开发者ID:bestarandyan,项目名称:ShoppingMall,代码行数:9,代码来源:ViewCompat.java

示例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;
}
 
开发者ID:bestarandyan,项目名称:ShoppingMall,代码行数:14,代码来源:ExploreByTouchHelper.java

示例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;
    }
}
 
开发者ID:vishnudevk,项目名称:MiBandDecompiled,代码行数:12,代码来源:e.java

示例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;
}
 
开发者ID:vishnudevk,项目名称:MiBandDecompiled,代码行数:9,代码来源:ExploreByTouchHelper.java

示例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;
    }
}
 
开发者ID:Hamz-a,项目名称:MyCTFWriteUps,代码行数:12,代码来源:AccessibilityDelegateCompat.java

示例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;
    }
}
 
开发者ID:Hamz-a,项目名称:MyCTFWriteUps,代码行数:12,代码来源:ViewCompat$JBViewCompatImpl.java

示例11: getAccessibilityNodeProvider

import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat; //导入依赖的package包/类
public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(View view)
{
    if (mNodeProvider == null)
    {
        mNodeProvider = new ExploreByTouchNodeProvider();
    }
    return mNodeProvider;
}
 
开发者ID:Hamz-a,项目名称:MyCTFWriteUps,代码行数:9,代码来源:ExploreByTouchHelper.java


注:本文中的android.support.v4.view.accessibility.AccessibilityNodeProviderCompat类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。