Java 类com.google.android.gms.maps.model.StreetViewPanoramaOrientation 实例源码

项目:RxGoogleMapsBinding    文件:StreetViewPanoramaLongClickOnSubscribe.java   
@Override public void call(final Subscriber<? super StreetViewPanoramaOrientation> subscriber) {
  MainThreadSubscription.verifyMainThread();

  StreetViewPanorama.OnStreetViewPanoramaLongClickListener listener =
      new StreetViewPanorama.OnStreetViewPanoramaLongClickListener() {
        @Override public void onStreetViewPanoramaLongClick(
            StreetViewPanoramaOrientation streetViewPanoramaOrientation) {
          if (!subscriber.isUnsubscribed()) {
            subscriber.onNext(streetViewPanoramaOrientation);
          }
        }
      };

  streetViewPanorama.setOnStreetViewPanoramaLongClickListener(listener);

  subscriber.add(new MainThreadSubscription() {
    @Override protected void onUnsubscribe() {
      streetViewPanorama.setOnStreetViewPanoramaLongClickListener(null);
    }
  });
}
项目:RxGoogleMapsBinding    文件:StreetViewPanoramaClickOnSubscribe.java   
@Override public void call(final Subscriber<? super StreetViewPanoramaOrientation> subscriber) {
  MainThreadSubscription.verifyMainThread();

  StreetViewPanorama.OnStreetViewPanoramaClickListener listener =
      new StreetViewPanorama.OnStreetViewPanoramaClickListener() {
        @Override public void onStreetViewPanoramaClick(
            StreetViewPanoramaOrientation streetViewPanoramaOrientation) {
          if (!subscriber.isUnsubscribed()) {
            subscriber.onNext(streetViewPanoramaOrientation);
          }
        }
      };

  streetViewPanorama.setOnStreetViewPanoramaClickListener(listener);

  subscriber.add(new MainThreadSubscription() {
    @Override protected void onUnsubscribe() {
      streetViewPanorama.setOnStreetViewPanoramaClickListener(null);
    }
  });
}
项目:FMTech    文件:fik.java   
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.IOnStreetViewPanoramaLongClickListener");
    return true;
  }
  paramParcel1.enforceInterface("com.google.android.gms.maps.internal.IOnStreetViewPanoramaLongClickListener");
  if (paramParcel1.readInt() != 0) {}
  for (StreetViewPanoramaOrientation localStreetViewPanoramaOrientation = fko.a(paramParcel1);; localStreetViewPanoramaOrientation = null)
  {
    a(localStreetViewPanoramaOrientation);
    paramParcel2.writeNoException();
    return true;
  }
}
项目:FMTech    文件:fih.java   
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.IOnStreetViewPanoramaClickListener");
    return true;
  }
  paramParcel1.enforceInterface("com.google.android.gms.maps.internal.IOnStreetViewPanoramaClickListener");
  if (paramParcel1.readInt() != 0) {}
  for (StreetViewPanoramaOrientation localStreetViewPanoramaOrientation = fko.a(paramParcel1);; localStreetViewPanoramaOrientation = null)
  {
    a(localStreetViewPanoramaOrientation);
    paramParcel2.writeNoException();
    return true;
  }
}
项目:FMTech    文件:fko.java   
public static StreetViewPanoramaOrientation a(Parcel paramParcel)
{
  float f1 = 0.0F;
  int i = efj.a(paramParcel);
  int j = 0;
  float f2 = 0.0F;
  while (paramParcel.dataPosition() < i)
  {
    int k = paramParcel.readInt();
    switch (0xFFFF & k)
    {
    default: 
      efj.b(paramParcel, k);
      break;
    case 1: 
      efj.a(paramParcel, k, 4);
      j = paramParcel.readInt();
      break;
    case 2: 
      efj.a(paramParcel, k, 4);
      f2 = paramParcel.readFloat();
      break;
    case 3: 
      efj.a(paramParcel, k, 4);
      f1 = paramParcel.readFloat();
    }
  }
  if (paramParcel.dataPosition() != i) {
    throw new bm("Overread allowed size end=" + i, paramParcel);
  }
  return new StreetViewPanoramaOrientation(j, f2, f1);
}
项目:HereAStory-Android    文件:StreetViewPanoramaEventsDemoActivity.java   
@Override
public void onStreetViewPanoramaClick(StreetViewPanoramaOrientation orientation) {
    Point point = svp.orientationToPoint(orientation);
    if (point != null) {
        mPanoClickTextView.setText(
            "Times clicked=" + ++mPanoClickTimes + " :" + point.toString());
        svp.animateTo(new StreetViewPanoramaCamera.Builder().orientation(orientation)
            .zoom(svp.getPanoramaCamera().zoom).build(), 1000);
    }
}
项目:RxGoogleMapsBinding    文件:RxStreetViewPanorama.java   
/**
 * Create an observable which emits on {@code streetViewPanorama} click events.
 * <p>
 * <em>Warning:</em> The created observable keeps a strong reference to {@code
 * streetViewPanorama}. Unsubscribe to free this reference.
 * </p>
 */
@CheckResult @NonNull
public static Observable<StreetViewPanoramaOrientation> streetViewPanoramaClicks(
    StreetViewPanorama streetViewPanorama) {
  checkNotNull(streetViewPanorama, "streetViewPanorama == null");
  return Observable.create(new StreetViewPanoramaClickOnSubscribe(streetViewPanorama));
}
项目:RxGoogleMapsBinding    文件:RxStreetViewPanorama.java   
/**
 * Create an observable which emits on {@code streetViewPanorama} long-click events.
 * <p>
 * <em>Warning:</em> The created observable keeps a strong reference to {@code
 * streetViewPanorama}. Unsubscribe to free this reference.
 * </p>
 */
@CheckResult @NonNull
public static Observable<StreetViewPanoramaOrientation> streetViewPanoramaLongClicks(
    @NonNull StreetViewPanorama streetViewPanorama) {
  checkNotNull(streetViewPanorama, "streetViewPanorama == null");
  return Observable.create(new StreetViewPanoramaLongClickOnSubscribe(streetViewPanorama));
}
项目:FMTech    文件:ffs.java   
public abstract StreetViewPanoramaOrientation a(euz parameuz);
项目:FMTech    文件:ffs.java   
public abstract euz a(StreetViewPanoramaOrientation paramStreetViewPanoramaOrientation);
项目:FMTech    文件:fij.java   
public abstract void a(StreetViewPanoramaOrientation paramStreetViewPanoramaOrientation);
项目:FMTech    文件:fig.java   
public abstract void a(StreetViewPanoramaOrientation paramStreetViewPanoramaOrientation);