本文整理匯總了Java中android.view.ActionProvider類的典型用法代碼示例。如果您正苦於以下問題:Java ActionProvider類的具體用法?Java ActionProvider怎麽用?Java ActionProvider使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ActionProvider類屬於android.view包,在下文中一共展示了ActionProvider類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: m2253a
import android.view.ActionProvider; //導入依賴的package包/類
public void m2253a(C0163p c0163p) {
VisibilityListener visibilityListener;
this.f1053c = c0163p;
ActionProvider actionProvider = this.a;
if (c0163p == null) {
visibilityListener = null;
}
actionProvider.setVisibilityListener(visibilityListener);
}
示例2: type
import android.view.ActionProvider; //導入依賴的package包/類
public static SubjectFactory<ActionProviderSubject, ActionProvider> type() {
return new SubjectFactory<ActionProviderSubject, ActionProvider>() {
@Override
public ActionProviderSubject getSubject(FailureStrategy fs, ActionProvider that) {
return new ActionProviderSubject(fs, that);
}
};
}
示例3: getActionProvider
import android.view.ActionProvider; //導入依賴的package包/類
public ActionProvider getActionProvider()
{
ll localll = ((hc)this.d).a();
if ((localll instanceof xr)) {
return ((xr)localll).d;
}
return null;
}
示例4: setActionProvider
import android.view.ActionProvider; //導入依賴的package包/類
public MenuItem setActionProvider(ActionProvider paramActionProvider)
{
hc localhc = (hc)this.d;
if (paramActionProvider != null) {}
for (xr localxr = a(paramActionProvider);; localxr = null)
{
localhc.a(localxr);
return this;
}
}
示例5: setVisibilityListener
import android.view.ActionProvider; //導入依賴的package包/類
public void setVisibilityListener(android.support.v4.view.iderWrapperJB iderwrapperjb)
{
mListener = iderwrapperjb;
ActionProvider actionprovider = mInner;
if (iderwrapperjb != null)
{
iderwrapperjb = this;
} else
{
iderwrapperjb = null;
}
actionprovider.setVisibilityListener(iderwrapperjb);
}
示例6: getActionProvider
import android.view.ActionProvider; //導入依賴的package包/類
public ActionProvider getActionProvider()
{
android.support.v4.view.ActionProvider actionprovider = ((SupportMenuItem)mWrappedObject).getSupportActionProvider();
if (actionprovider instanceof ActionProviderWrapper)
{
return ((ActionProviderWrapper)actionprovider).mInner;
} else
{
return null;
}
}
示例7: setActionProvider
import android.view.ActionProvider; //導入依賴的package包/類
public MenuItem setActionProvider(ActionProvider actionprovider)
{
SupportMenuItem supportmenuitem = (SupportMenuItem)mWrappedObject;
if (actionprovider != null)
{
actionprovider = createActionProviderWrapper(actionprovider);
} else
{
actionprovider = null;
}
supportmenuitem.setSupportActionProvider(actionprovider);
return this;
}
示例8: setVisibilityListener
import android.view.ActionProvider; //導入依賴的package包/類
public void setVisibilityListener(android.support.v4.view.ActionProvider.VisibilityListener visibilitylistener)
{
mListener = visibilitylistener;
ActionProvider actionprovider = mInner;
if (visibilitylistener != null)
{
visibilitylistener = this;
} else
{
visibilitylistener = null;
}
actionprovider.setVisibilityListener(visibilitylistener);
}
示例9: setActionProvider
import android.view.ActionProvider; //導入依賴的package包/類
@Deprecated
@Override
public MenuItem setActionProvider(ActionProvider actionProvider) {
throw new RuntimeException("Not implemented");
}
示例10: getActionProvider
import android.view.ActionProvider; //導入依賴的package包/類
@Deprecated
@Override
public ActionProvider getActionProvider() {
throw new RuntimeException("Not implemented");
}
示例11: setActionProvider
import android.view.ActionProvider; //導入依賴的package包/類
public MenuItem setActionProvider(ActionProvider actionProvider) {
throw new UnsupportedOperationException();
}
示例12: getActionProvider
import android.view.ActionProvider; //導入依賴的package包/類
public ActionProvider getActionProvider() {
throw new UnsupportedOperationException();
}
示例13: getSupportActionProvider
import android.view.ActionProvider; //導入依賴的package包/類
public android.support.v4.view.ActionProvider getSupportActionProvider() {
return null;
}
示例14: setSupportActionProvider
import android.view.ActionProvider; //導入依賴的package包/類
public SupportMenuItem setSupportActionProvider(android.support.v4.view.ActionProvider actionProvider) {
throw new UnsupportedOperationException();
}
示例15: setActionProvider
import android.view.ActionProvider; //導入依賴的package包/類
@Override
public MenuItem setActionProvider(ActionProvider actionProvider) {
throw new AssertionError("not mocked");
}