use of android.view.ViewManager in project android_frameworks_base by crdroidandroid.
the class PhoneWindow method closeAllPanels.
@Override
public final void closeAllPanels() {
final ViewManager wm = getWindowManager();
if (wm == null) {
return;
}
final PanelFeatureState[] panels = mPanels;
final int N = panels != null ? panels.length : 0;
for (int i = 0; i < N; i++) {
final PanelFeatureState panel = panels[i];
if (panel != null) {
closePanel(panel, true);
}
}
closeContextMenu();
}
use of android.view.ViewManager in project android_frameworks_base by crdroidandroid.
the class Activity method makeVisible.
void makeVisible() {
if (!mWindowAdded) {
ViewManager wm = getWindowManager();
wm.addView(mDecor, getWindow().getAttributes());
mWindowAdded = true;
DecorView.setAddedToWindow(mDecor);
}
mDecor.setVisibility(View.VISIBLE);
}
Aggregations