Loading packages/SystemUI/res/layout-xlarge/status_bar.xml +8 −16 Original line number Diff line number Diff line Loading @@ -35,6 +35,14 @@ android:layout_alignParentRight="true" android:orientation="horizontal" > <com.android.systemui.statusbar.tablet.InputMethodButton android:id="@+id/imeSwitchButton" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_marginLeft="8dip" android:src="@drawable/ic_sysbar_ime_default" android:visibility="invisible" /> <com.android.systemui.statusbar.tablet.NotificationIconArea android:id="@+id/notificationIcons" android:layout_width="wrap_content" Loading Loading @@ -191,22 +199,6 @@ android:visibility="gone" /> </com.android.systemui.statusbar.tablet.ShirtPocket> <com.android.systemui.statusbar.tablet.InputMethodButton android:id="@+id/imeSwitchButton" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_marginLeft="8dip" android:src="@drawable/ic_sysbar_ime_default" android:visibility="invisible" /> <com.android.systemui.statusbar.tablet.InputMethodButton android:id="@+id/imeShortcutButton" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_marginLeft="8dip" android:src="@drawable/ic_sysbar_ime_default" android:visibility="invisible" /> </LinearLayout> <!-- lights out mode: "shadow" views --> Loading packages/SystemUI/src/com/android/systemui/statusbar/tablet/InputMethodButton.java +2 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,8 @@ public class InputMethodButton extends ImageView { private static final boolean DEBUG = false; private static final int ID_IME_SWITCH_BUTTON = R.id.imeSwitchButton; private static final int ID_IME_SHORTCUT_BUTTON = R.id.imeShortcutButton; // IME shortcut button is disabled. private static final int ID_IME_SHORTCUT_BUTTON = 0; // other services we wish to talk to private final InputMethodManager mImm; Loading packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java +0 −3 Original line number Diff line number Diff line Loading @@ -108,7 +108,6 @@ public class TabletStatusBar extends StatusBar { View mRecentButton; InputMethodButton mInputMethodSwitchButton; InputMethodButton mInputMethodShortcutButton; NotificationPanel mNotificationPanel; NotificationPeekPanel mNotificationPeekWindow; Loading Loading @@ -304,7 +303,6 @@ public class TabletStatusBar extends StatusBar { // The bar contents buttons mInputMethodSwitchButton = (InputMethodButton) sb.findViewById(R.id.imeSwitchButton); mInputMethodShortcutButton = (InputMethodButton) sb.findViewById(R.id.imeShortcutButton); // "shadows" of the status bar features, for lights-out mode mBackShadow = sb.findViewById(R.id.back_shadow); Loading Loading @@ -698,7 +696,6 @@ public class TabletStatusBar extends StatusBar { Slog.d(TAG, (visible?"showing":"hiding") + " the IME button"); } mInputMethodSwitchButton.setIMEButtonVisible(token, visible); mInputMethodShortcutButton.setIMEButtonVisible(token, visible); mBackButton.setImageResource( visible ? R.drawable.ic_sysbar_back_ime : R.drawable.ic_sysbar_back); } Loading Loading
packages/SystemUI/res/layout-xlarge/status_bar.xml +8 −16 Original line number Diff line number Diff line Loading @@ -35,6 +35,14 @@ android:layout_alignParentRight="true" android:orientation="horizontal" > <com.android.systemui.statusbar.tablet.InputMethodButton android:id="@+id/imeSwitchButton" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_marginLeft="8dip" android:src="@drawable/ic_sysbar_ime_default" android:visibility="invisible" /> <com.android.systemui.statusbar.tablet.NotificationIconArea android:id="@+id/notificationIcons" android:layout_width="wrap_content" Loading Loading @@ -191,22 +199,6 @@ android:visibility="gone" /> </com.android.systemui.statusbar.tablet.ShirtPocket> <com.android.systemui.statusbar.tablet.InputMethodButton android:id="@+id/imeSwitchButton" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_marginLeft="8dip" android:src="@drawable/ic_sysbar_ime_default" android:visibility="invisible" /> <com.android.systemui.statusbar.tablet.InputMethodButton android:id="@+id/imeShortcutButton" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_marginLeft="8dip" android:src="@drawable/ic_sysbar_ime_default" android:visibility="invisible" /> </LinearLayout> <!-- lights out mode: "shadow" views --> Loading
packages/SystemUI/src/com/android/systemui/statusbar/tablet/InputMethodButton.java +2 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,8 @@ public class InputMethodButton extends ImageView { private static final boolean DEBUG = false; private static final int ID_IME_SWITCH_BUTTON = R.id.imeSwitchButton; private static final int ID_IME_SHORTCUT_BUTTON = R.id.imeShortcutButton; // IME shortcut button is disabled. private static final int ID_IME_SHORTCUT_BUTTON = 0; // other services we wish to talk to private final InputMethodManager mImm; Loading
packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java +0 −3 Original line number Diff line number Diff line Loading @@ -108,7 +108,6 @@ public class TabletStatusBar extends StatusBar { View mRecentButton; InputMethodButton mInputMethodSwitchButton; InputMethodButton mInputMethodShortcutButton; NotificationPanel mNotificationPanel; NotificationPeekPanel mNotificationPeekWindow; Loading Loading @@ -304,7 +303,6 @@ public class TabletStatusBar extends StatusBar { // The bar contents buttons mInputMethodSwitchButton = (InputMethodButton) sb.findViewById(R.id.imeSwitchButton); mInputMethodShortcutButton = (InputMethodButton) sb.findViewById(R.id.imeShortcutButton); // "shadows" of the status bar features, for lights-out mode mBackShadow = sb.findViewById(R.id.back_shadow); Loading Loading @@ -698,7 +696,6 @@ public class TabletStatusBar extends StatusBar { Slog.d(TAG, (visible?"showing":"hiding") + " the IME button"); } mInputMethodSwitchButton.setIMEButtonVisible(token, visible); mInputMethodShortcutButton.setIMEButtonVisible(token, visible); mBackButton.setImageResource( visible ? R.drawable.ic_sysbar_back_ime : R.drawable.ic_sysbar_back); } Loading