use of android.view.SurfaceSession in project android_frameworks_base by ResurrectionRemix.
the class Session method windowAddedLocked.
void windowAddedLocked() {
if (mSurfaceSession == null) {
if (WindowManagerService.localLOGV)
Slog.v(TAG_WM, "First window added to " + this + ", creating SurfaceSession");
mSurfaceSession = new SurfaceSession();
if (SHOW_TRANSACTIONS)
Slog.i(TAG_WM, " NEW SURFACE SESSION " + mSurfaceSession);
mService.mSessions.add(this);
if (mLastReportedAnimatorScale != mService.getCurrentAnimatorScale()) {
mService.dispatchNewAnimatorScaleLocked(this);
}
}
mNumWindow++;
}
use of android.view.SurfaceSession in project android_frameworks_base by crdroidandroid.
the class Session method windowAddedLocked.
void windowAddedLocked() {
if (mSurfaceSession == null) {
if (WindowManagerService.localLOGV)
Slog.v(TAG_WM, "First window added to " + this + ", creating SurfaceSession");
mSurfaceSession = new SurfaceSession();
if (SHOW_TRANSACTIONS)
Slog.i(TAG_WM, " NEW SURFACE SESSION " + mSurfaceSession);
mService.mSessions.add(this);
if (mLastReportedAnimatorScale != mService.getCurrentAnimatorScale()) {
mService.dispatchNewAnimatorScaleLocked(this);
}
}
mNumWindow++;
}
Aggregations