BitmojiOrientation.java
956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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
*/