BitmojiOrientation.java 956 Bytes
package com.bitstrips.imoji.keyboard;

import android.content.Context;
import android.view.Display;
import android.view.WindowManager;
import java.lang.annotation.Annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

public class BitmojiOrientation
{
  public static final int LANDSCAPE = 1;
  public static final int PORTRAIT = 0;
  
  @KeyboardOrientation
  static int a(Context paramContext)
  {
    switch (((WindowManager)paramContext.getSystemService("window")).getDefaultDisplay().getOrientation())
    {
    default: 
      return 1;
    case 0: 
      return 0;
    case 1: 
      return 1;
    }
    return 0;
  }
  
  @Retention(RetentionPolicy.RUNTIME)
  public static @interface KeyboardOrientation {}
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/keyboard/BitmojiOrientation.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */