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


Java VisibleRegion.writeToParcel方法代码示例

本文整理汇总了Java中com.google.android.gms.maps.model.VisibleRegion.writeToParcel方法的典型用法代码示例。如果您正苦于以下问题:Java VisibleRegion.writeToParcel方法的具体用法?Java VisibleRegion.writeToParcel怎么用?Java VisibleRegion.writeToParcel使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.google.android.gms.maps.model.VisibleRegion的用法示例。


在下文中一共展示了VisibleRegion.writeToParcel方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: onTransact

import com.google.android.gms.maps.model.VisibleRegion; //导入方法依赖的package包/类
public boolean onTransact(int paramInt1, Parcel paramParcel1, Parcel paramParcel2, int paramInt2)
{
  switch (paramInt1)
  {
  default: 
    return super.onTransact(paramInt1, paramParcel1, paramParcel2, paramInt2);
  case 1598968902: 
    paramParcel2.writeString("com.google.android.gms.maps.internal.IProjectionDelegate");
    return true;
  case 1: 
    paramParcel1.enforceInterface("com.google.android.gms.maps.internal.IProjectionDelegate");
    LatLng localLatLng2 = a(eva.a(paramParcel1.readStrongBinder()));
    paramParcel2.writeNoException();
    if (localLatLng2 != null)
    {
      paramParcel2.writeInt(1);
      localLatLng2.writeToParcel(paramParcel2, 1);
    }
    for (;;)
    {
      return true;
      paramParcel2.writeInt(0);
    }
  case 2: 
    paramParcel1.enforceInterface("com.google.android.gms.maps.internal.IProjectionDelegate");
    if (paramParcel1.readInt() != 0) {}
    for (LatLng localLatLng1 = fkg.a(paramParcel1);; localLatLng1 = null)
    {
      euz localeuz = a(localLatLng1);
      paramParcel2.writeNoException();
      IBinder localIBinder = null;
      if (localeuz != null) {
        localIBinder = localeuz.asBinder();
      }
      paramParcel2.writeStrongBinder(localIBinder);
      return true;
    }
  }
  paramParcel1.enforceInterface("com.google.android.gms.maps.internal.IProjectionDelegate");
  VisibleRegion localVisibleRegion = a();
  paramParcel2.writeNoException();
  if (localVisibleRegion != null)
  {
    paramParcel2.writeInt(1);
    localVisibleRegion.writeToParcel(paramParcel2, 1);
  }
  for (;;)
  {
    return true;
    paramParcel2.writeInt(0);
  }
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:53,代码来源:ffq.java

示例2: onTransact

import com.google.android.gms.maps.model.VisibleRegion; //导入方法依赖的package包/类
public boolean onTransact(int paramInt1, Parcel paramParcel1, Parcel paramParcel2, int paramInt2)
{
  switch (paramInt1)
  {
  default:
    break;
  case 1598968902:
    paramParcel2.writeString("com.google.android.gms.maps.internal.IProjectionDelegate");
    return true;
  case 1:
    paramParcel1.enforceInterface("com.google.android.gms.maps.internal.IProjectionDelegate");
    LatLng localLatLng2 = fromScreenLocation(b.a.E(paramParcel1.readStrongBinder()));
    paramParcel2.writeNoException();
    if (localLatLng2 != null)
    {
      paramParcel2.writeInt(1);
      localLatLng2.writeToParcel(paramParcel2, 1);
    }
    else
    {
      paramParcel2.writeInt(0);
    }
    return true;
  case 2:
    paramParcel1.enforceInterface("com.google.android.gms.maps.internal.IProjectionDelegate");
    LatLng localLatLng1;
    if (paramParcel1.readInt() != 0)
      localLatLng1 = LatLng.CREATOR.createFromParcel(paramParcel1);
    else
      localLatLng1 = null;
    b localb = toScreenLocation(localLatLng1);
    paramParcel2.writeNoException();
    IBinder localIBinder;
    if (localb != null)
      localIBinder = localb.asBinder();
    else
      localIBinder = null;
    paramParcel2.writeStrongBinder(localIBinder);
    return true;
  case 3:
    paramParcel1.enforceInterface("com.google.android.gms.maps.internal.IProjectionDelegate");
    VisibleRegion localVisibleRegion = getVisibleRegion();
    paramParcel2.writeNoException();
    if (localVisibleRegion != null)
    {
      paramParcel2.writeInt(1);
      localVisibleRegion.writeToParcel(paramParcel2, 1);
    }
    else
    {
      paramParcel2.writeInt(0);
    }
    return true;
  }
  return super.onTransact(paramInt1, paramParcel1, paramParcel2, paramInt2);
}
 
开发者ID:mmmsplay10,项目名称:QuizUpWinner,代码行数:57,代码来源:IProjectionDelegate.java

示例3: onTransact

import com.google.android.gms.maps.model.VisibleRegion; //导入方法依赖的package包/类
public boolean onTransact(int paramInt1, Parcel paramParcel1, Parcel paramParcel2, int paramInt2)
{
  switch (paramInt1)
  {
  default:
    return super.onTransact(paramInt1, paramParcel1, paramParcel2, paramInt2);
  case 1598968902:
    paramParcel2.writeString("com.google.android.gms.maps.internal.IProjectionDelegate");
    return true;
  case 1:
    paramParcel1.enforceInterface("com.google.android.gms.maps.internal.IProjectionDelegate");
    LatLng localLatLng2 = a(ah.a(paramParcel1.readStrongBinder()));
    paramParcel2.writeNoException();
    if (localLatLng2 != null)
    {
      paramParcel2.writeInt(1);
      localLatLng2.writeToParcel(paramParcel2, 1);
    }
    while (true)
    {
      return true;
      paramParcel2.writeInt(0);
    }
  case 2:
    paramParcel1.enforceInterface("com.google.android.gms.maps.internal.IProjectionDelegate");
    if (paramParcel1.readInt() != 0);
    for (LatLng localLatLng1 = h.a(paramParcel1); ; localLatLng1 = null)
    {
      af localaf = a(localLatLng1);
      paramParcel2.writeNoException();
      IBinder localIBinder = null;
      if (localaf != null)
        localIBinder = localaf.asBinder();
      paramParcel2.writeStrongBinder(localIBinder);
      return true;
    }
  case 3:
  }
  paramParcel1.enforceInterface("com.google.android.gms.maps.internal.IProjectionDelegate");
  VisibleRegion localVisibleRegion = a();
  paramParcel2.writeNoException();
  if (localVisibleRegion != null)
  {
    paramParcel2.writeInt(1);
    localVisibleRegion.writeToParcel(paramParcel2, 1);
  }
  while (true)
  {
    return true;
    paramParcel2.writeInt(0);
  }
}
 
开发者ID:isnuryusuf,项目名称:ingress-indonesia-dev,代码行数:53,代码来源:q.java


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