Methods Summary |
---|
static void | callScreenCreated()
if (PROFILE) {
sTimeCallScreenCreated = SystemClock.uptimeMillis();
dumpCallScreenStat();
}
|
static void | callScreenOnCreate()
if (PROFILE) {
sTimeCallScreenOnCreate = SystemClock.uptimeMillis();
}
|
static void | callScreenRequested()
if (PROFILE) {
sTimeCallScreenRequested = SystemClock.uptimeMillis();
}
|
private static void | dumpCallScreenStat()
if (PROFILE) {
log(">>> call screen perf stats <<<");
log(">>> request -> onCreate = " +
(sTimeCallScreenOnCreate - sTimeCallScreenRequested));
log(">>> onCreate -> created = " +
(sTimeCallScreenCreated - sTimeCallScreenOnCreate));
}
|
private static void | dumpIncomingCallPanelStat()
if (PROFILE) {
log(">>> incoming call panel perf stats <<<");
log(">>> request -> onCreate = " +
(sTimeIncomingCallPanelOnCreate - sTimeIncomingCallPanelRequested));
log(">>> onCreate -> created = " +
(sTimeIncomingCallPanelCreated - sTimeIncomingCallPanelOnCreate));
}
|
static void | incomingCallPanelCreated()
if (PROFILE) {
sTimeIncomingCallPanelCreated = SystemClock.uptimeMillis();
dumpIncomingCallPanelStat();
}
|
static void | incomingCallPanelOnCreate()
if (PROFILE) {
sTimeIncomingCallPanelOnCreate = SystemClock.uptimeMillis();
}
|
static void | incomingCallPanelRequested()
if (PROFILE) {
sTimeIncomingCallPanelRequested = SystemClock.uptimeMillis();
}
|
private static void | log(java.lang.String msg)
Log.d(LOG_TAG, "[Profiler] " + msg);
|
static void | profileViewCreate(android.view.Window win, java.lang.String tag)
if (false) {
ViewParent p = (ViewParent) win.getDecorView();
while (p instanceof View) {
p = ((View) p).getParent();
}
//((ViewRoot)p).profile();
//((ViewRoot)p).setProfileTag(tag);
}
|