Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_47647075
emmagee
提交
a43524f3
E
emmagee
项目概览
weixin_47647075
/
emmagee
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
emmagee
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
a43524f3
编写于
11月 25, 2013
作者:
A
andrewleo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
issue #10:Memory above 1000;Improvement:List the application with alphabet order
上级
2e1bdf67
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
11 addition
and
1 deletion
+11
-1
.classpath
.classpath
+1
-0
src/com/netease/qa/emmagee/utils/CpuInfo.java
src/com/netease/qa/emmagee/utils/CpuInfo.java
+1
-0
src/com/netease/qa/emmagee/utils/ProcessInfo.java
src/com/netease/qa/emmagee/utils/ProcessInfo.java
+2
-0
src/com/netease/qa/emmagee/utils/Programe.java
src/com/netease/qa/emmagee/utils/Programe.java
+7
-1
未找到文件。
.classpath
浏览文件 @
a43524f3
...
...
@@ -8,5 +8,6 @@
<classpathentry
kind=
"lib"
path=
"libs/mail.jar"
/>
<classpathentry
kind=
"lib"
path=
"libs/additionnal.jar"
/>
<classpathentry
kind=
"lib"
path=
"libs/android-support-v4.jar"
/>
<classpathentry
exported=
"true"
kind=
"con"
path=
"com.android.ide.eclipse.adt.DEPENDENCIES"
/>
<classpathentry
kind=
"output"
path=
"bin/classes"
/>
</classpath>
src/com/netease/qa/emmagee/utils/CpuInfo.java
浏览文件 @
a43524f3
...
...
@@ -144,6 +144,7 @@ public class CpuInfo {
String
currentBatt
,
String
temperature
,
String
voltage
)
{
DecimalFormat
fomart
=
new
DecimalFormat
();
// fomart.setGroupingUsed(false);
fomart
.
setMaximumFractionDigits
(
2
);
fomart
.
setMinimumFractionDigits
(
2
);
...
...
src/com/netease/qa/emmagee/utils/ProcessInfo.java
浏览文件 @
a43524f3
...
...
@@ -17,6 +17,7 @@
package
com.netease.qa.emmagee.utils
;
import
java.util.ArrayList
;
import
java.util.Collections
;
import
java.util.List
;
import
android.app.ActivityManager
;
...
...
@@ -81,6 +82,7 @@ public class ProcessInfo {
}
progressList
.
add
(
programe
);
}
Collections
.
sort
(
progressList
);
return
progressList
;
}
...
...
src/com/netease/qa/emmagee/utils/Programe.java
浏览文件 @
a43524f3
...
...
@@ -16,6 +16,7 @@
*/
package
com.netease.qa.emmagee.utils
;
import
android.graphics.drawable.Drawable
;
/**
...
...
@@ -24,7 +25,7 @@ import android.graphics.drawable.Drawable;
*
* @author andrewleo
*/
public
class
Programe
{
public
class
Programe
implements
Comparable
<
Programe
>
{
private
Drawable
icon
;
private
String
processName
;
private
String
packageName
;
...
...
@@ -71,4 +72,9 @@ public class Programe {
public
void
setPid
(
int
pid
)
{
this
.
pid
=
pid
;
}
@Override
public
int
compareTo
(
Programe
arg0
)
{
return
(
this
.
getProcessName
().
compareTo
(
arg0
.
getProcessName
()));
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录