Search in sources :

Example 26 with StatusBarManagerInternal

use of com.android.server.statusbar.StatusBarManagerInternal in project android_frameworks_base by DirtyUnicorns.

the class PhoneWindowManager method preloadRecentApps.

private void preloadRecentApps() {
    mPreloadedRecentApps = true;
    StatusBarManagerInternal statusbar = getStatusBarManagerInternal();
    if (statusbar != null) {
        statusbar.preloadRecentApps();
    }
}
Also used : StatusBarManagerInternal(com.android.server.statusbar.StatusBarManagerInternal)

Example 27 with StatusBarManagerInternal

use of com.android.server.statusbar.StatusBarManagerInternal in project android_frameworks_base by DirtyUnicorns.

the class PhoneWindowManager method setCurrentUserLw.

@Override
public void setCurrentUserLw(int newUserId) {
    mCurrentUserId = newUserId;
    if (mKeyguardDelegate != null) {
        mKeyguardDelegate.setCurrentUser(newUserId);
    }
    StatusBarManagerInternal statusBar = getStatusBarManagerInternal();
    if (statusBar != null) {
        statusBar.setCurrentUser(newUserId);
    }
    setLastInputMethodWindowLw(null, null);
}
Also used : StatusBarManagerInternal(com.android.server.statusbar.StatusBarManagerInternal)

Example 28 with StatusBarManagerInternal

use of com.android.server.statusbar.StatusBarManagerInternal in project android_frameworks_base by ResurrectionRemix.

the class PhoneWindowManager method toggleRecentApps.

private void toggleRecentApps() {
    // preloading no longer needs to be canceled
    mPreloadedRecentApps = false;
    StatusBarManagerInternal statusbar = getStatusBarManagerInternal();
    if (statusbar != null) {
        statusbar.toggleRecentApps();
    }
}
Also used : StatusBarManagerInternal(com.android.server.statusbar.StatusBarManagerInternal)

Example 29 with StatusBarManagerInternal

use of com.android.server.statusbar.StatusBarManagerInternal in project android_frameworks_base by ResurrectionRemix.

the class PhoneWindowManager method hideRecentApps.

private void hideRecentApps(boolean triggeredFromAltTab, boolean triggeredFromHome) {
    // preloading no longer needs to be canceled
    mPreloadedRecentApps = false;
    StatusBarManagerInternal statusbar = getStatusBarManagerInternal();
    if (statusbar != null) {
        statusbar.hideRecentApps(triggeredFromAltTab, triggeredFromHome);
    }
}
Also used : StatusBarManagerInternal(com.android.server.statusbar.StatusBarManagerInternal)

Example 30 with StatusBarManagerInternal

use of com.android.server.statusbar.StatusBarManagerInternal in project android_frameworks_base by ResurrectionRemix.

the class PhoneWindowManager method cancelPreloadRecentApps.

private void cancelPreloadRecentApps() {
    if (mPreloadedRecentApps) {
        mPreloadedRecentApps = false;
        StatusBarManagerInternal statusbar = getStatusBarManagerInternal();
        if (statusbar != null) {
            statusbar.cancelPreloadRecentApps();
        }
    }
}
Also used : StatusBarManagerInternal(com.android.server.statusbar.StatusBarManagerInternal)

Aggregations

StatusBarManagerInternal (com.android.server.statusbar.StatusBarManagerInternal)31 SearchManager (android.app.SearchManager)3 Rect (android.graphics.Rect)3 Bundle (android.os.Bundle)3 Point (android.graphics.Point)2 Intent (android.content.Intent)1 RecognizerIntent (android.speech.RecognizerIntent)1