/** * 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; }
/** * 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; }
@Override public AccessibilityNodeProvider getAccessibilityNodeProvider() { if (!mHasSelectorWheel) { return super.getAccessibilityNodeProvider(); } if (mAccessibilityNodeProvider == null) { mAccessibilityNodeProvider = new SupportAccessibilityNodeProvider(); } return mAccessibilityNodeProvider.mProvider; }
@Override public AccessibilityNodeProvider getAccessibilityNodeProvider() { if (!mHasSelectorWheel) { return super.getAccessibilityNodeProvider(); } if (mAccessibilityNodeProvider == null) { mAccessibilityNodeProvider = new AccessibilityNodeProviderImpl(); } return mAccessibilityNodeProvider; }
public final AccessibilityNodeProviderCompat getAccessibilityNodeProvider(Object paramObject, View paramView) { AccessibilityNodeProvider localAccessibilityNodeProvider = ((View.AccessibilityDelegate)paramObject).getAccessibilityNodeProvider(paramView); if (localAccessibilityNodeProvider != null) { return new AccessibilityNodeProviderCompat(localAccessibilityNodeProvider); } return null; }
public final qb a(Object paramObject, View paramView) { AccessibilityNodeProvider localAccessibilityNodeProvider = ((View.AccessibilityDelegate)paramObject).getAccessibilityNodeProvider(paramView); if (localAccessibilityNodeProvider != null) { return new qb(localAccessibilityNodeProvider); } return null; }
@Override public AccessibilityNodeProvider getAccessibilityNodeProvider() { AccessibilityNodeProvider provider = mContentViewCore.getAccessibilityNodeProvider(); if (provider != null) { return provider; } else { return super.getAccessibilityNodeProvider(); } }
@Override @TargetApi(Build.VERSION_CODES.JELLY_BEAN) public AccessibilityNodeProvider getAccessibilityNodeProvider() { if (!mHasSelectorWheel) { return super.getAccessibilityNodeProvider(); } if (mAccessibilityNodeProvider == null) { mAccessibilityNodeProvider = new SupportAccessibilityNodeProvider(); } return mAccessibilityNodeProvider.mProvider; }
/** * @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; } }
@Override public AccessibilityNodeProvider getAccessibilityNodeProvider() { if (mAccessibilityNodeProvider == null) { mAccessibilityNodeProvider = new VirtualTreeProvider(); } return mAccessibilityNodeProvider; }
@Override public AccessibilityNodeProvider getAccessibilityNodeProvider() { AccessibilityNodeProvider provider = getContentViewCore().getAccessibilityNodeProvider(); if (provider != null) { return provider; } else { return super.getAccessibilityNodeProvider(); } }
/** * 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; } }
/** * {@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; }
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(); }
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; }
@Override public AccessibilityNodeProvider getAccessibilityNodeProvider() { return (AccessibilityNodeProvider) getAccessibilityNodeProviderCompat().getProvider(); }
public AccessibilityNodeProvider getAccessibilityNodeProvider(View view) { return (AccessibilityNodeProvider) this.f475a.m1304a(view); }
public final AccessibilityNodeProvider getAccessibilityNodeProvider(View paramView) { return (AccessibilityNodeProvider)this.a.a(paramView); }
/** * @return An AccessibilityNodeProvider. */ public AccessibilityNodeProvider getAccessibilityNodeProvider() { return mAccessibilityNodeProvider; }
public final AccessibilityNodeProvider getAccessibilityNodeProvider(View paramView) { return (AccessibilityNodeProvider)this.ˊ.ˊ(paramView); }
@Override public AccessibilityNodeProvider getAccessibilityNodeProvider() { return mAccessibilityNodeProvider; }