📄 m.java
字号:
// pica客户端J2ME源码,100%可运行可修改,J2ME逆向工程经典作品
// 作者:fangji999
// QQ:57979471 Email:fangji999@163.com
// 博客:http://hi.baidu.com/ccall_net
// QQ群:51719370
// 如用此源码重新改写的软件或转载,请保留本人联系方式,作品原创作者
package pica;
import javax.microedition.lcdui.Graphics;
// Referenced classes of package pica:
// o, Pica, ad, v,
// c
public final class m extends o
{
public String a;
public String b;
public String c;
public String d;
public String q;
public c r;
public byte s;
public byte t;
public boolean u;
public String vss[][];//public String v[][];
public boolean w;
public m(String s1, String s2, byte byte0, byte byte1, String as[][], boolean flag, c c1,
String s3, String s4, String s5)
{
a = null;
b = null;
c = null;
d = null;
q = null;
s = 15;
u = false;
w = false;
if (c1 != null)
r = c1;
a = s2;
t = byte0;
s = 15;
super.p = byte1;
w = flag;
b = s3;
d = s4.toUpperCase();
if (s3.equals("yes"))
c = "*";
else
c = "";
q = s5;
if (as != null)
{
vss = new String[20][5];
for (int i = 0; i < as.length; i++)
{
for (int j = 0; j < 5; j++)
vss[i][j] = as[i][j];
}
}
if (a == null || a.length() == 0)
if (s1.indexOf('@') > 0)
a = s1.substring(0, s1.indexOf('@'));
else
a = s1;
super.j = s1.toLowerCase();
}
public final void a(Graphics g, int i)
{
int j = o.h - (super.p % 5) * 18;
int k = i - 9 - (super.p / 5) * 18;
boolean flag = false;
int l = 0;
int i1 = (i + 9) - 10;
switch (s)
{
case 15: // '\017'
j = o.h - 72;
k = i - 9 - 18;
break;
case 1: // '\001'
flag = true;
l = (o.h + 18) - 5;
break;
case 2: // '\002'
flag = true;
l = (o.h + 18) - 5 - 10;
break;
}
if (t == 1)
{
flag = true;
l = (o.h + 18) - 5 - 20;
}
g.setClip(o.h, i - 9, 18, 18);
if (vss == null)
{
if (t == 11)
g.drawImage(Pica.x, j, k, 20);
else
g.drawImage(Pica.t, j, k, 20);
} else
{
if (vss[0][1].equals("msg"))
g.drawImage(Pica.x, j, k, 20);
if (vss[0][1].equals("sms"))
g.drawImage(Pica.x, j - 18, k, 20);
if (vss[0][1].equals("wap"))
g.drawImage(Pica.x, j - 36, k, 20);
if (vss[0][1].equals("ivr"))
g.drawImage(Pica.x, j - 54, k, 20);
}
g.setClip(0, 0, v.a, v.b);
if (flag)
{
g.setClip((o.h + 18) - 5, i1, 10, 10);
g.drawImage(Pica.u, l, i1, 20);
g.setClip(0, 0, v.a, v.b);
}
g.setClip(o.f, i - 9, 18, 18);
if (c.length() > 0 && vss == null && t != 11)
g.drawImage(Pica.A, o.f - 72, i - 9, 20);
g.setClip(0, 0, v.a, v.b);
ad.a(a, null, g, o.g + o.h, i - Pica.r / 2, true);
}
//重载equals比较符可以和唯一标识比较
public final boolean equals(Object obj)
{
if (obj == null)
return false;
if (obj instanceof String)
return super.j.equals(((String)obj).toLowerCase());
if (obj instanceof m)
return super.j.equals(((o) ((m)obj)).j);
else
return false;
}
public final int a(m m1)
{
if (s != m1.s)
return s - m1.s;
return !u ? 1 : -1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -