/packages/SystemUI/src/com/android/systemui/statusbar/tv/TvStatusBar.java

https://github.com/aizuzi/platform_frameworks_base · Java · 151 lines · 99 code · 34 blank · 18 comment · 0 complexity · e86b249e8b4f3092bc6497b4ac5204fc MD5 · raw file

  1. /*
  2. * Copyright (C) 2012 The Android Open Source Project
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. package com.android.systemui.statusbar.tv;
  17. import android.os.IBinder;
  18. import android.service.notification.StatusBarNotification;
  19. import android.view.View;
  20. import android.view.ViewGroup.LayoutParams;
  21. import android.view.WindowManager;
  22. import com.android.internal.statusbar.StatusBarIcon;
  23. import com.android.systemui.statusbar.BaseStatusBar;
  24. /*
  25. * Status bar implementation for "large screen" products that mostly present no on-screen nav
  26. */
  27. public class TvStatusBar extends BaseStatusBar {
  28. @Override
  29. public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon) {
  30. }
  31. @Override
  32. public void updateIcon(String slot, int index, int viewIndex, StatusBarIcon old,
  33. StatusBarIcon icon) {
  34. }
  35. @Override
  36. public void removeIcon(String slot, int index, int viewIndex) {
  37. }
  38. @Override
  39. public void addNotification(IBinder key, StatusBarNotification notification) {
  40. }
  41. @Override
  42. public void updateNotification(IBinder key, StatusBarNotification notification) {
  43. }
  44. @Override
  45. public void removeNotification(IBinder key) {
  46. }
  47. @Override
  48. public void disable(int state) {
  49. }
  50. @Override
  51. public void animateExpandNotificationsPanel() {
  52. }
  53. @Override
  54. public void animateCollapsePanels(int flags) {
  55. }
  56. @Override
  57. public void setSystemUiVisibility(int vis, int mask) {
  58. }
  59. @Override
  60. public void topAppWindowChanged(boolean visible) {
  61. }
  62. @Override
  63. public void setImeWindowStatus(IBinder token, int vis, int backDisposition) {
  64. }
  65. @Override
  66. public void setHardKeyboardStatus(boolean available, boolean enabled) {
  67. }
  68. @Override
  69. public void toggleRecentApps() {
  70. }
  71. @Override // CommandQueue
  72. public void setWindowState(int window, int state) {
  73. }
  74. @Override
  75. protected void createAndAddWindows() {
  76. }
  77. @Override
  78. protected WindowManager.LayoutParams getSearchLayoutParams(
  79. LayoutParams layoutParams) {
  80. return null;
  81. }
  82. @Override
  83. protected void haltTicker() {
  84. }
  85. @Override
  86. protected void setAreThereNotifications() {
  87. }
  88. @Override
  89. protected void updateNotificationIcons() {
  90. }
  91. @Override
  92. protected void tick(IBinder key, StatusBarNotification n, boolean firstTime) {
  93. }
  94. @Override
  95. protected void updateExpandedViewPos(int expandedPosition) {
  96. }
  97. @Override
  98. protected int getExpandedViewMaxHeight() {
  99. return 0;
  100. }
  101. @Override
  102. protected boolean shouldDisableNavbarGestures() {
  103. return true;
  104. }
  105. public View getStatusBarView() {
  106. return null;
  107. }
  108. @Override
  109. public void resetHeadsUpDecayTimer() {
  110. }
  111. @Override
  112. public void animateExpandSettingsPanel() {
  113. }
  114. @Override
  115. protected void refreshLayout(int layoutDirection) {
  116. }
  117. }