Java 类android.view.accessibility.AccessibilityNodeProvider 实例源码

项目:365browser    文件:ContentViewCore.java   
/**
 * If native accessibility is enabled and no other views are temporarily
 * obscuring this one, returns an AccessibilityNodeProvider that
 * implements native accessibility for this view. Returns null otherwise.
 * Lazily initializes native accessibility here if it's allowed.
 * @return The AccessibilityNodeProvider, if available, or null otherwise.
 */
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (mIsObscuredByAnotherView) return null;

    if (mBrowserAccessibilityManager != null) {
        return mBrowserAccessibilityManager.getAccessibilityNodeProvider();
    }

    if (mNativeAccessibilityAllowed && !mNativeAccessibilityEnabled
            && mNativeContentViewCore != 0) {
        mNativeAccessibilityEnabled = true;
        nativeSetAccessibilityEnabled(mNativeContentViewCore, true);
    }

    return null;
}
项目:android-chromium    文件:ContentViewCore.java   
/**
 * If native accessibility (not script injection) is enabled, and if this is
 * running on JellyBean or later, returns an AccessibilityNodeProvider that
 * implements native accessibility for this view. Returns null otherwise.
 * Lazily initializes native accessibility here if it's allowed.
 * @return The AccessibilityNodeProvider, if available, or null otherwise.
 */
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (mBrowserAccessibilityManager != null) {
        return mBrowserAccessibilityManager.getAccessibilityNodeProvider();
    }

    if (mNativeAccessibilityAllowed &&
            !mNativeAccessibilityEnabled &&
            mNativeContentViewCore != 0 &&
            Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
        mNativeAccessibilityEnabled = true;
        nativeSetAccessibilityEnabled(mNativeContentViewCore, true);
    }

    return null;
}
项目:chromium_webview    文件:ContentViewCore.java   
/**
 * If native accessibility (not script injection) is enabled, and if this is
 * running on JellyBean or later, returns an AccessibilityNodeProvider that
 * implements native accessibility for this view. Returns null otherwise.
 * Lazily initializes native accessibility here if it's allowed.
 * @return The AccessibilityNodeProvider, if available, or null otherwise.
 */
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (mBrowserAccessibilityManager != null) {
        return mBrowserAccessibilityManager.getAccessibilityNodeProvider();
    }

    if (mNativeAccessibilityAllowed &&
            !mNativeAccessibilityEnabled &&
            mNativeContentViewCore != 0 &&
            Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
        mNativeAccessibilityEnabled = true;
        nativeSetAccessibilityEnabled(mNativeContentViewCore, true);
    }

    return null;
}
项目:cordova-android-chromium    文件:ContentViewCore.java   
/**
 * If native accessibility (not script injection) is enabled, and if this is
 * running on JellyBean or later, returns an AccessibilityNodeProvider that
 * implements native accessibility for this view. Returns null otherwise.
 * Lazily initializes native accessibility here if it's allowed.
 * @return The AccessibilityNodeProvider, if available, or null otherwise.
 */
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (mBrowserAccessibilityManager != null) {
        return mBrowserAccessibilityManager.getAccessibilityNodeProvider();
    }

    if (mNativeAccessibilityAllowed &&
            !mNativeAccessibilityEnabled &&
            mNativeContentViewCore != 0 &&
            Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
        mNativeAccessibilityEnabled = true;
        nativeSetAccessibilityEnabled(mNativeContentViewCore, true);
    }

    return null;
}
项目:Hotspot-master-devp    文件:NumberPicker.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (!mHasSelectorWheel) {
        return super.getAccessibilityNodeProvider();
    }
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new SupportAccessibilityNodeProvider();
    }
    return mAccessibilityNodeProvider.mProvider;
}
项目:LimitedDatePicker    文件:NumberPicker.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (!mHasSelectorWheel) {
        return super.getAccessibilityNodeProvider();
    }
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new SupportAccessibilityNodeProvider();
    }
    return mAccessibilityNodeProvider.mProvider;
}
项目:DateTimePicker    文件:NumberPicker.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (!mHasSelectorWheel) {
        return super.getAccessibilityNodeProvider();
    }
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new AccessibilityNodeProviderImpl();
    }

    return mAccessibilityNodeProvider;
}
项目:ticdesign    文件:NumberPicker.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (!mHasSelectorWheel) {
        return super.getAccessibilityNodeProvider();
    }
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new AccessibilityNodeProviderImpl();
    }
    return mAccessibilityNodeProvider;
}
项目:NewXmPluginSDK    文件:NumberPicker.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (!mHasSelectorWheel) {
        return super.getAccessibilityNodeProvider();
    }
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new AccessibilityNodeProviderImpl();
    }
    return mAccessibilityNodeProvider;
}
项目:FMTech    文件:AccessibilityDelegateCompat.java   
public final AccessibilityNodeProviderCompat getAccessibilityNodeProvider(Object paramObject, View paramView)
{
  AccessibilityNodeProvider localAccessibilityNodeProvider = ((View.AccessibilityDelegate)paramObject).getAccessibilityNodeProvider(paramView);
  if (localAccessibilityNodeProvider != null) {
    return new AccessibilityNodeProviderCompat(localAccessibilityNodeProvider);
  }
  return null;
}
项目:FMTech    文件:lg.java   
public final qb a(Object paramObject, View paramView)
{
  AccessibilityNodeProvider localAccessibilityNodeProvider = ((View.AccessibilityDelegate)paramObject).getAccessibilityNodeProvider(paramView);
  if (localAccessibilityNodeProvider != null) {
    return new qb(localAccessibilityNodeProvider);
  }
  return null;
}
项目:GifAssistant    文件:TextPicker.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (!mHasSelectorWheel) {
        return super.getAccessibilityNodeProvider();
    }
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new SupportAccessibilityNodeProvider();
    }
    return mAccessibilityNodeProvider.mProvider;
}
项目:Utopia    文件:NumberPicker.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (!mHasSelectorWheel) {
        return super.getAccessibilityNodeProvider();
    }
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new SupportAccessibilityNodeProvider();
    }
    return mAccessibilityNodeProvider.mProvider;
}
项目:365browser    文件:ContentView.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    AccessibilityNodeProvider provider = mContentViewCore.getAccessibilityNodeProvider();
    if (provider != null) {
        return provider;
    } else {
        return super.getAccessibilityNodeProvider();
    }
}
项目:vuze-remote-for-android    文件:NumberPicker.java   
@Override
@TargetApi(Build.VERSION_CODES.JELLY_BEAN)
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (!mHasSelectorWheel) {
        return super.getAccessibilityNodeProvider();
    }
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new SupportAccessibilityNodeProvider();
    }
    return mAccessibilityNodeProvider.mProvider;
}
项目:bhammer-android-old    文件:BNumberPicker.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (!mHasSelectorWheel) {
        return super.getAccessibilityNodeProvider();
    }
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new SupportAccessibilityNodeProvider();
    }
    return mAccessibilityNodeProvider.mProvider;
}
项目:android-numberpicker    文件:NumberPicker.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (!mHasSelectorWheel) {
        return super.getAccessibilityNodeProvider();
    }
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new SupportAccessibilityNodeProvider();
    }
    return mAccessibilityNodeProvider.mProvider;
}
项目:droidel    文件:View.java   
/**
 * @see #createAccessibilityNodeInfo()
 */
AccessibilityNodeInfo createAccessibilityNodeInfoInternal() {
    AccessibilityNodeProvider provider = getAccessibilityNodeProvider();
    if (provider != null) {
        return provider.createAccessibilityNodeInfo(View.NO_ID);
    } else {
        AccessibilityNodeInfo info = AccessibilityNodeInfo.obtain(this);
        onInitializeAccessibilityNodeInfo(info);
        return info;
    }
}
项目:MultiSlider    文件:MultiSlider.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new VirtualTreeProvider();
    }
    return mAccessibilityNodeProvider;
}
项目:zen4android    文件:NumberPicker.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (!mHasSelectorWheel) {
        return super.getAccessibilityNodeProvider();
    }
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new SupportAccessibilityNodeProvider();
    }
    return mAccessibilityNodeProvider.mProvider;
}
项目:Webkiosk    文件:NumberPicker.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (!mHasSelectorWheel) {
        return super.getAccessibilityNodeProvider();
    }
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new SupportAccessibilityNodeProvider();
    }
    return mAccessibilityNodeProvider.mProvider;
}
项目:android-chromium-view    文件:JellyBeanContentView.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    AccessibilityNodeProvider provider = getContentViewCore().getAccessibilityNodeProvider();
    if (provider != null) {
        return provider;
    } else {
        return super.getAccessibilityNodeProvider();
    }
}
项目:android-chromium-view    文件:ContentViewCore.java   
/**
 * If native accessibility (not script injection) is enabled, and if this is
 * running on JellyBean or later, returns an AccessibilityNodeProvider that
 * implements native accessibility for this view. Returns null otherwise.
 * @return The AccessibilityNodeProvider, if available, or null otherwise.
 */
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (mBrowserAccessibilityManager != null) {
        return mBrowserAccessibilityManager.getAccessibilityNodeProvider();
    } else {
        return null;
    }
}
项目:android-chromium    文件:JellyBeanContentView.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    AccessibilityNodeProvider provider = getContentViewCore().getAccessibilityNodeProvider();
    if (provider != null) {
        return provider;
    } else {
        return super.getAccessibilityNodeProvider();
    }
}
项目:tnc1-android-config    文件:NumberPicker.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (!mHasSelectorWheel) {
        return super.getAccessibilityNodeProvider();
    }
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new SupportAccessibilityNodeProvider();
    }
    return mAccessibilityNodeProvider.mProvider;
}
项目:MEng    文件:AccessibilityNodeProviderActivity.java   
/**
 * {@inheritDoc}
 */
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    // Instantiate the provide only when requested. Since the system
    // will call this method multiple times it is a good practice to
    // cache the provider instance.
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new VirtualDescendantsProvider();
    }
    return mAccessibilityNodeProvider;
}
项目:chromium_webview    文件:JellyBeanContentView.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    AccessibilityNodeProvider provider = getContentViewCore().getAccessibilityNodeProvider();
    if (provider != null) {
        return provider;
    } else {
        return super.getAccessibilityNodeProvider();
    }
}
项目:chromium_webview    文件:WebViewChromium.java   
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    mFactory.startYourEngines(false);
    if (checkNeedsPost()) {
        AccessibilityNodeProvider ret = runOnUiThreadBlocking(
                new Callable<AccessibilityNodeProvider>() {
            @Override
            public AccessibilityNodeProvider call() {
                return getAccessibilityNodeProvider();
            }
        });
        return ret;
    }
    return mAwContents.getAccessibilityNodeProvider();
}
项目:android-holo-colors-sample    文件:NumberPicker.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (!mHasSelectorWheel) {
        return super.getAccessibilityNodeProvider();
    }
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new SupportAccessibilityNodeProvider();
    }
    return mAccessibilityNodeProvider.mProvider;
}
项目:deview-2013-samples    文件:AccessibilityNodeProviderActivity.java   
/**
 * {@inheritDoc}
 */
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    // Instantiate the provide only when requested. Since the system
    // will call this method multiple times it is a good practice to
    // cache the provider instance.
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new VirtualDescendantsProvider();
    }
    return mAccessibilityNodeProvider;
}
项目:cordova-android-chromium    文件:JellyBeanContentView.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    AccessibilityNodeProvider provider = getContentViewCore().getAccessibilityNodeProvider();
    if (provider != null) {
        return provider;
    } else {
        return super.getAccessibilityNodeProvider();
    }
}
项目:android-all    文件:NumberPicker.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    if (!mHasSelectorWheel) {
        return super.getAccessibilityNodeProvider();
    }
    if (mAccessibilityNodeProvider == null) {
        mAccessibilityNodeProvider = new SupportAccessibilityNodeProvider();
    }
    return mAccessibilityNodeProvider.mProvider;
}
项目:ingress-indonesia-dev    文件:e.java   
public final android.support.v4.view.a.f a(Object paramObject, View paramView)
{
  AccessibilityNodeProvider localAccessibilityNodeProvider = ((View.AccessibilityDelegate)paramObject).getAccessibilityNodeProvider(paramView);
  if (localAccessibilityNodeProvider != null)
    return new android.support.v4.view.a.f(localAccessibilityNodeProvider);
  return null;
}
项目:android-numberpickercompat    文件:NumberPicker.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    return (AccessibilityNodeProvider) getAccessibilityNodeProviderCompat().getProvider();
}
项目:solved-hacking-problem    文件:C0160l.java   
public AccessibilityNodeProvider getAccessibilityNodeProvider(View view) {
    return (AccessibilityNodeProvider) this.f475a.m1304a(view);
}
项目:solved-hacking-problem    文件:C0160l.java   
public AccessibilityNodeProvider getAccessibilityNodeProvider(View view) {
    return (AccessibilityNodeProvider) this.f475a.m1304a(view);
}
项目:FMTech    文件:lj.java   
public final AccessibilityNodeProvider getAccessibilityNodeProvider(View paramView)
{
  return (AccessibilityNodeProvider)this.a.a(paramView);
}
项目:365browser    文件:BrowserAccessibilityManager.java   
/**
 * @return An AccessibilityNodeProvider.
 */
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    return mAccessibilityNodeProvider;
}
项目:QuizUpWinner    文件:Ôπ≥$1.java   
public final AccessibilityNodeProvider getAccessibilityNodeProvider(View paramView)
{
  return (AccessibilityNodeProvider)this.ˊ.ˊ(paramView);
}
项目:android-chromium-view    文件:JellyBeanBrowserAccessibilityManager.java   
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
    return mAccessibilityNodeProvider;
}