當前位置: 首頁>>代碼示例>>Java>>正文


Java ActionProvider類代碼示例

本文整理匯總了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);
}
 
開發者ID:Qwaz,項目名稱:solved-hacking-problem,代碼行數:10,代碼來源:C0280u.java

示例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);
    }
  };
}
 
開發者ID:pkware,項目名稱:truth-android,代碼行數:9,代碼來源:ActionProviderSubject.java

示例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;
}
 
開發者ID:ChiangC,項目名稱:FMTech,代碼行數:9,代碼來源:xq.java

示例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;
  }
}
 
開發者ID:ChiangC,項目名稱:FMTech,代碼行數:11,代碼來源:xq.java

示例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);
}
 
開發者ID:Hamz-a,項目名稱:MyCTFWriteUps,代碼行數:14,代碼來源:MenuItemWrapperJB$ActionProviderWrapperJB.java

示例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;
    }
}
 
開發者ID:Hamz-a,項目名稱:MyCTFWriteUps,代碼行數:12,代碼來源:MenuItemWrapperICS.java

示例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;
}
 
開發者ID:Hamz-a,項目名稱:MyCTFWriteUps,代碼行數:14,代碼來源:MenuItemWrapperICS.java

示例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);
}
 
開發者ID:Hamz-a,項目名稱:MyCTFWriteUps,代碼行數:14,代碼來源:MenuItemWrapperJB.java

示例9: setActionProvider

import android.view.ActionProvider; //導入依賴的package包/類
@Deprecated
@Override
public MenuItem setActionProvider(ActionProvider actionProvider) {
    throw new RuntimeException("Not implemented");
}
 
開發者ID:kobakei,項目名稱:MaterialFabSpeedDial,代碼行數:6,代碼來源:FabSpeedDialMenuItem.java

示例10: getActionProvider

import android.view.ActionProvider; //導入依賴的package包/類
@Deprecated
@Override
public ActionProvider getActionProvider() {
    throw new RuntimeException("Not implemented");
}
 
開發者ID:kobakei,項目名稱:MaterialFabSpeedDial,代碼行數:6,代碼來源:FabSpeedDialMenuItem.java

示例11: setActionProvider

import android.view.ActionProvider; //導入依賴的package包/類
public MenuItem setActionProvider(ActionProvider actionProvider) {
    throw new UnsupportedOperationException();
}
 
開發者ID:JackChan1999,項目名稱:boohee_v5.6,代碼行數:4,代碼來源:ActionMenuItem.java

示例12: getActionProvider

import android.view.ActionProvider; //導入依賴的package包/類
public ActionProvider getActionProvider() {
    throw new UnsupportedOperationException();
}
 
開發者ID:JackChan1999,項目名稱:boohee_v5.6,代碼行數:4,代碼來源:ActionMenuItem.java

示例13: getSupportActionProvider

import android.view.ActionProvider; //導入依賴的package包/類
public android.support.v4.view.ActionProvider getSupportActionProvider() {
    return null;
}
 
開發者ID:JackChan1999,項目名稱:boohee_v5.6,代碼行數:4,代碼來源:ActionMenuItem.java

示例14: setSupportActionProvider

import android.view.ActionProvider; //導入依賴的package包/類
public SupportMenuItem setSupportActionProvider(android.support.v4.view.ActionProvider actionProvider) {
    throw new UnsupportedOperationException();
}
 
開發者ID:JackChan1999,項目名稱:boohee_v5.6,代碼行數:4,代碼來源:ActionMenuItem.java

示例15: setActionProvider

import android.view.ActionProvider; //導入依賴的package包/類
@Override
public MenuItem setActionProvider(ActionProvider actionProvider) {
    throw new AssertionError("not mocked");
}
 
開發者ID:v2rc,項目名稱:Badger,代碼行數:5,代碼來源:TestMenuItem.java


注:本文中的android.view.ActionProvider類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。