Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2015 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.qs.customize; |
| 17 | |
Jason Monk | b9c0019 | 2015-10-07 11:45:33 -0400 | [diff] [blame] | 18 | import android.animation.Animator; |
Jason Monk | 62b63a0 | 2016-02-02 15:15:31 -0500 | [diff] [blame] | 19 | import android.animation.Animator.AnimatorListener; |
Jason Monk | 77a2c5f | 2016-02-22 15:18:36 -0500 | [diff] [blame] | 20 | import android.animation.AnimatorListenerAdapter; |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 21 | import android.content.Context; |
Jason Monk | 931f546 | 2016-05-25 11:19:04 -0400 | [diff] [blame] | 22 | import android.content.res.Configuration; |
Jason Monk | 62b63a0 | 2016-02-02 15:15:31 -0500 | [diff] [blame] | 23 | import android.support.v7.widget.DefaultItemAnimator; |
| 24 | import android.support.v7.widget.GridLayoutManager; |
| 25 | import android.support.v7.widget.RecyclerView; |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 26 | import android.util.AttributeSet; |
Jason Monk | b53b6c5 | 2016-02-24 17:25:49 -0500 | [diff] [blame] | 27 | import android.util.TypedValue; |
Jason Monk | 5db8a41 | 2015-10-21 15:16:23 -0700 | [diff] [blame] | 28 | import android.view.ContextThemeWrapper; |
Jason Monk | a8321e6 | 2016-03-11 08:56:25 -0500 | [diff] [blame] | 29 | import android.view.LayoutInflater; |
Jason Monk | b53b6c5 | 2016-02-24 17:25:49 -0500 | [diff] [blame] | 30 | import android.view.Menu; |
| 31 | import android.view.MenuItem; |
Jason Monk | 5db8a41 | 2015-10-21 15:16:23 -0700 | [diff] [blame] | 32 | import android.view.View; |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 33 | import android.widget.LinearLayout; |
Jason Monk | b53b6c5 | 2016-02-24 17:25:49 -0500 | [diff] [blame] | 34 | import android.widget.Toolbar; |
| 35 | import android.widget.Toolbar.OnMenuItemClickListener; |
Jason Monk | 46767b7 | 2016-08-18 10:58:04 -0400 | [diff] [blame] | 36 | |
Jason Monk | 96defbe | 2016-03-29 16:51:03 -0400 | [diff] [blame] | 37 | import com.android.internal.logging.MetricsLogger; |
Tamas Berghammer | 383db5eb | 2016-06-22 15:21:38 +0100 | [diff] [blame] | 38 | import com.android.internal.logging.nano.MetricsProto; |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 39 | import com.android.systemui.R; |
Jason Monk | 0ceef21 | 2016-11-02 14:05:23 -0400 | [diff] [blame] | 40 | import com.android.systemui.plugins.qs.QS; |
Jason Monk | b9c0019 | 2015-10-07 11:45:33 -0400 | [diff] [blame] | 41 | import com.android.systemui.qs.QSDetailClipper; |
Jason Monk | 62b63a0 | 2016-02-02 15:15:31 -0500 | [diff] [blame] | 42 | import com.android.systemui.qs.QSTile; |
Jason Monk | 8b9d67f | 2016-03-02 08:59:08 -0500 | [diff] [blame] | 43 | import com.android.systemui.statusbar.phone.NotificationsQuickSettingsContainer; |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 44 | import com.android.systemui.statusbar.phone.PhoneStatusBar; |
| 45 | import com.android.systemui.statusbar.phone.QSTileHost; |
Jason Monk | 181d3fe | 2016-06-06 16:18:50 -0400 | [diff] [blame] | 46 | import com.android.systemui.statusbar.policy.KeyguardMonitor.Callback; |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 47 | |
| 48 | import java.util.ArrayList; |
Jason Monk | 62b63a0 | 2016-02-02 15:15:31 -0500 | [diff] [blame] | 49 | import java.util.List; |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 50 | |
| 51 | /** |
| 52 | * Allows full-screen customization of QS, through show() and hide(). |
| 53 | * |
| 54 | * This adds itself to the status bar window, so it can appear on top of quick settings and |
| 55 | * *someday* do fancy animations to get into/out of it. |
| 56 | */ |
Jason Monk | b53b6c5 | 2016-02-24 17:25:49 -0500 | [diff] [blame] | 57 | public class QSCustomizer extends LinearLayout implements OnMenuItemClickListener { |
| 58 | |
| 59 | private static final int MENU_RESET = Menu.FIRST; |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 60 | |
Jason Monk | b9c0019 | 2015-10-07 11:45:33 -0400 | [diff] [blame] | 61 | private final QSDetailClipper mClipper; |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 62 | |
| 63 | private PhoneStatusBar mPhoneStatusBar; |
| 64 | |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 65 | private boolean isShown; |
Jason Monk | bbadff8 | 2015-11-06 15:47:26 -0500 | [diff] [blame] | 66 | private QSTileHost mHost; |
Jason Monk | 62b63a0 | 2016-02-02 15:15:31 -0500 | [diff] [blame] | 67 | private RecyclerView mRecyclerView; |
| 68 | private TileAdapter mTileAdapter; |
Jason Monk | b53b6c5 | 2016-02-24 17:25:49 -0500 | [diff] [blame] | 69 | private Toolbar mToolbar; |
Jason Monk | 8b9d67f | 2016-03-02 08:59:08 -0500 | [diff] [blame] | 70 | private boolean mCustomizing; |
| 71 | private NotificationsQuickSettingsContainer mNotifQsContainer; |
Jason Monk | 0ceef21 | 2016-11-02 14:05:23 -0400 | [diff] [blame] | 72 | private QS mQs; |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 73 | |
| 74 | public QSCustomizer(Context context, AttributeSet attrs) { |
Jason Monk | a8321e6 | 2016-03-11 08:56:25 -0500 | [diff] [blame] | 75 | super(new ContextThemeWrapper(context, R.style.edit_theme), attrs); |
Jason Monk | b9c0019 | 2015-10-07 11:45:33 -0400 | [diff] [blame] | 76 | mClipper = new QSDetailClipper(this); |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 77 | |
Jason Monk | a8321e6 | 2016-03-11 08:56:25 -0500 | [diff] [blame] | 78 | LayoutInflater.from(getContext()).inflate(R.layout.qs_customize_panel_content, this); |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 79 | |
Jason Monk | b53b6c5 | 2016-02-24 17:25:49 -0500 | [diff] [blame] | 80 | mToolbar = (Toolbar) findViewById(com.android.internal.R.id.action_bar); |
| 81 | TypedValue value = new TypedValue(); |
| 82 | mContext.getTheme().resolveAttribute(android.R.attr.homeAsUpIndicator, value, true); |
| 83 | mToolbar.setNavigationIcon( |
Jason Monk | 04fd249 | 2016-02-29 14:29:26 -0500 | [diff] [blame] | 84 | getResources().getDrawable(value.resourceId, mContext.getTheme())); |
Jason Monk | b53b6c5 | 2016-02-24 17:25:49 -0500 | [diff] [blame] | 85 | mToolbar.setNavigationOnClickListener(new OnClickListener() { |
| 86 | @Override |
| 87 | public void onClick(View v) { |
Jason Monk | b53b6c5 | 2016-02-24 17:25:49 -0500 | [diff] [blame] | 88 | hide((int) v.getX() + v.getWidth() / 2, (int) v.getY() + v.getHeight() / 2); |
| 89 | } |
| 90 | }); |
| 91 | mToolbar.setOnMenuItemClickListener(this); |
| 92 | mToolbar.getMenu().add(Menu.NONE, MENU_RESET, 0, |
| 93 | mContext.getString(com.android.internal.R.string.reset)); |
Jason Monk | f923db5 | 2016-03-02 14:11:14 -0500 | [diff] [blame] | 94 | mToolbar.setTitle(R.string.qs_edit); |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 95 | |
Jason Monk | 62b63a0 | 2016-02-02 15:15:31 -0500 | [diff] [blame] | 96 | mRecyclerView = (RecyclerView) findViewById(android.R.id.list); |
| 97 | mTileAdapter = new TileAdapter(getContext()); |
| 98 | mRecyclerView.setAdapter(mTileAdapter); |
Jason Monk | b53b6c5 | 2016-02-24 17:25:49 -0500 | [diff] [blame] | 99 | mTileAdapter.getItemTouchHelper().attachToRecyclerView(mRecyclerView); |
Jason Monk | 62b63a0 | 2016-02-02 15:15:31 -0500 | [diff] [blame] | 100 | GridLayoutManager layout = new GridLayoutManager(getContext(), 3); |
| 101 | layout.setSpanSizeLookup(mTileAdapter.getSizeLookup()); |
| 102 | mRecyclerView.setLayoutManager(layout); |
| 103 | mRecyclerView.addItemDecoration(mTileAdapter.getItemDecoration()); |
| 104 | DefaultItemAnimator animator = new DefaultItemAnimator(); |
| 105 | animator.setMoveDuration(TileAdapter.MOVE_DURATION); |
| 106 | mRecyclerView.setItemAnimator(animator); |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 107 | } |
| 108 | |
Jason Monk | 931f546 | 2016-05-25 11:19:04 -0400 | [diff] [blame] | 109 | @Override |
| 110 | protected void onConfigurationChanged(Configuration newConfig) { |
| 111 | super.onConfigurationChanged(newConfig); |
| 112 | View navBackdrop = findViewById(R.id.nav_bar_background); |
| 113 | if (navBackdrop != null) { |
| 114 | boolean shouldShow = newConfig.smallestScreenWidthDp >= 600 |
| 115 | || newConfig.orientation != Configuration.ORIENTATION_LANDSCAPE; |
| 116 | navBackdrop.setVisibility(shouldShow ? View.VISIBLE : View.GONE); |
| 117 | } |
| 118 | } |
| 119 | |
Jason Monk | a8321e6 | 2016-03-11 08:56:25 -0500 | [diff] [blame] | 120 | public void setHost(QSTileHost host) { |
| 121 | mHost = host; |
| 122 | mPhoneStatusBar = host.getPhoneStatusBar(); |
Jason Monk | 63554ed | 2016-04-29 14:58:29 -0400 | [diff] [blame] | 123 | mTileAdapter.setHost(host); |
Jason Monk | a8321e6 | 2016-03-11 08:56:25 -0500 | [diff] [blame] | 124 | } |
| 125 | |
| 126 | public void setContainer(NotificationsQuickSettingsContainer notificationsQsContainer) { |
| 127 | mNotifQsContainer = notificationsQsContainer; |
| 128 | } |
| 129 | |
Jason Monk | 0ceef21 | 2016-11-02 14:05:23 -0400 | [diff] [blame] | 130 | public void setQs(QS qs) { |
| 131 | mQs = qs; |
Jason Monk | a8321e6 | 2016-03-11 08:56:25 -0500 | [diff] [blame] | 132 | } |
| 133 | |
Jason Monk | b9c0019 | 2015-10-07 11:45:33 -0400 | [diff] [blame] | 134 | public void show(int x, int y) { |
Jason Monk | 8c7e47f | 2016-02-17 10:39:31 -0500 | [diff] [blame] | 135 | if (!isShown) { |
Jason Monk | 96defbe | 2016-03-29 16:51:03 -0400 | [diff] [blame] | 136 | MetricsLogger.visible(getContext(), MetricsProto.MetricsEvent.QS_EDIT); |
Jason Monk | 8c7e47f | 2016-02-17 10:39:31 -0500 | [diff] [blame] | 137 | isShown = true; |
Jason Monk | 8c7e47f | 2016-02-17 10:39:31 -0500 | [diff] [blame] | 138 | setTileSpecs(); |
Jason Monk | 8b9d67f | 2016-03-02 08:59:08 -0500 | [diff] [blame] | 139 | setVisibility(View.VISIBLE); |
| 140 | mClipper.animateCircularClip(x, y, true, mExpandAnimationListener); |
Jason Monk | 8c7e47f | 2016-02-17 10:39:31 -0500 | [diff] [blame] | 141 | new TileQueryHelper(mContext, mHost).setListener(mTileAdapter); |
Jason Monk | 8b9d67f | 2016-03-02 08:59:08 -0500 | [diff] [blame] | 142 | mNotifQsContainer.setCustomizerAnimating(true); |
Jason Monk | 428914d | 2016-03-30 09:35:36 -0400 | [diff] [blame] | 143 | mNotifQsContainer.setCustomizerShowing(true); |
Jason Monk | 0121369 | 2016-05-04 14:44:02 -0400 | [diff] [blame] | 144 | announceForAccessibility(mContext.getString( |
| 145 | R.string.accessibility_desc_quick_settings_edit)); |
Jason Monk | 181d3fe | 2016-06-06 16:18:50 -0400 | [diff] [blame] | 146 | mHost.getKeyguardMonitor().addCallback(mKeyguardCallback); |
Jason Monk | 8c7e47f | 2016-02-17 10:39:31 -0500 | [diff] [blame] | 147 | } |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 148 | } |
| 149 | |
Jason Monk | b9c0019 | 2015-10-07 11:45:33 -0400 | [diff] [blame] | 150 | public void hide(int x, int y) { |
Jason Monk | 8c7e47f | 2016-02-17 10:39:31 -0500 | [diff] [blame] | 151 | if (isShown) { |
Jason Monk | 96defbe | 2016-03-29 16:51:03 -0400 | [diff] [blame] | 152 | MetricsLogger.hidden(getContext(), MetricsProto.MetricsEvent.QS_EDIT); |
Jason Monk | 8c7e47f | 2016-02-17 10:39:31 -0500 | [diff] [blame] | 153 | isShown = false; |
Jason Monk | df8cbc3 | 2016-03-16 16:10:56 -0400 | [diff] [blame] | 154 | mToolbar.dismissPopupMenus(); |
Jason Monk | 8b9d67f | 2016-03-02 08:59:08 -0500 | [diff] [blame] | 155 | setCustomizing(false); |
Jason Monk | 04fd249 | 2016-02-29 14:29:26 -0500 | [diff] [blame] | 156 | save(); |
Jason Monk | 77a2c5f | 2016-02-22 15:18:36 -0500 | [diff] [blame] | 157 | mClipper.animateCircularClip(x, y, false, mCollapseAnimationListener); |
Jason Monk | 8b9d67f | 2016-03-02 08:59:08 -0500 | [diff] [blame] | 158 | mNotifQsContainer.setCustomizerAnimating(true); |
Jason Monk | 428914d | 2016-03-30 09:35:36 -0400 | [diff] [blame] | 159 | mNotifQsContainer.setCustomizerShowing(false); |
Jason Monk | 0121369 | 2016-05-04 14:44:02 -0400 | [diff] [blame] | 160 | announceForAccessibility(mContext.getString( |
| 161 | R.string.accessibility_desc_quick_settings)); |
Jason Monk | 181d3fe | 2016-06-06 16:18:50 -0400 | [diff] [blame] | 162 | mHost.getKeyguardMonitor().removeCallback(mKeyguardCallback); |
Jason Monk | 8c7e47f | 2016-02-17 10:39:31 -0500 | [diff] [blame] | 163 | } |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 164 | } |
| 165 | |
Yoshinori Hirano | 1dd7d07 | 2016-09-05 16:11:59 +0900 | [diff] [blame] | 166 | public boolean isShown() { |
| 167 | return isShown; |
| 168 | } |
| 169 | |
Jason Monk | 8b9d67f | 2016-03-02 08:59:08 -0500 | [diff] [blame] | 170 | private void setCustomizing(boolean customizing) { |
| 171 | mCustomizing = customizing; |
Jason Monk | 0ceef21 | 2016-11-02 14:05:23 -0400 | [diff] [blame] | 172 | mQs.notifyCustomizeChanged(); |
Jason Monk | 8b9d67f | 2016-03-02 08:59:08 -0500 | [diff] [blame] | 173 | } |
| 174 | |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 175 | public boolean isCustomizing() { |
Jason Monk | 8b9d67f | 2016-03-02 08:59:08 -0500 | [diff] [blame] | 176 | return mCustomizing; |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 177 | } |
| 178 | |
Jason Monk | b53b6c5 | 2016-02-24 17:25:49 -0500 | [diff] [blame] | 179 | @Override |
| 180 | public boolean onMenuItemClick(MenuItem item) { |
| 181 | switch (item.getItemId()) { |
| 182 | case MENU_RESET: |
Jason Monk | 96defbe | 2016-03-29 16:51:03 -0400 | [diff] [blame] | 183 | MetricsLogger.action(getContext(), MetricsProto.MetricsEvent.ACTION_QS_EDIT_RESET); |
Jason Monk | b53b6c5 | 2016-02-24 17:25:49 -0500 | [diff] [blame] | 184 | reset(); |
| 185 | break; |
| 186 | } |
| 187 | return false; |
| 188 | } |
| 189 | |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 190 | private void reset() { |
| 191 | ArrayList<String> tiles = new ArrayList<>(); |
Jason Monk | 9d02a43 | 2016-01-20 16:33:46 -0500 | [diff] [blame] | 192 | String defTiles = mContext.getString(R.string.quick_settings_tiles_default); |
| 193 | for (String tile : defTiles.split(",")) { |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 194 | tiles.add(tile); |
| 195 | } |
Jason Monk | 62b63a0 | 2016-02-02 15:15:31 -0500 | [diff] [blame] | 196 | mTileAdapter.setTileSpecs(tiles); |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 197 | } |
| 198 | |
Jason Monk | 62b63a0 | 2016-02-02 15:15:31 -0500 | [diff] [blame] | 199 | private void setTileSpecs() { |
| 200 | List<String> specs = new ArrayList<>(); |
| 201 | for (QSTile tile : mHost.getTiles()) { |
| 202 | specs.add(tile.getTileSpec()); |
| 203 | } |
| 204 | mTileAdapter.setTileSpecs(specs); |
Jason Monk | 4efc924 | 2016-03-31 14:10:37 -0400 | [diff] [blame] | 205 | mRecyclerView.setAdapter(mTileAdapter); |
Jason Monk | f7fe83f | 2015-09-09 13:03:20 -0400 | [diff] [blame] | 206 | } |
| 207 | |
Jason Monk | bd6dbb0 | 2015-09-03 15:46:25 -0400 | [diff] [blame] | 208 | private void save() { |
Jason Monk | 62b63a0 | 2016-02-02 15:15:31 -0500 | [diff] [blame] | 209 | mTileAdapter.saveSpecs(mHost); |
Jason Monk | 2681dcb | 2015-09-09 13:50:34 -0400 | [diff] [blame] | 210 | } |
Jason Monk | b9c0019 | 2015-10-07 11:45:33 -0400 | [diff] [blame] | 211 | |
Jason Monk | 181d3fe | 2016-06-06 16:18:50 -0400 | [diff] [blame] | 212 | private final Callback mKeyguardCallback = new Callback() { |
| 213 | @Override |
| 214 | public void onKeyguardChanged() { |
| 215 | if (mHost.getKeyguardMonitor().isShowing()) { |
| 216 | hide(0, 0); |
| 217 | } |
| 218 | } |
| 219 | }; |
| 220 | |
Jason Monk | 8b9d67f | 2016-03-02 08:59:08 -0500 | [diff] [blame] | 221 | private final AnimatorListener mExpandAnimationListener = new AnimatorListenerAdapter() { |
| 222 | @Override |
| 223 | public void onAnimationEnd(Animator animation) { |
Yoshinori Hirano | 1dd7d07 | 2016-09-05 16:11:59 +0900 | [diff] [blame] | 224 | if (isShown) { |
| 225 | setCustomizing(true); |
| 226 | } |
Jason Monk | 8b9d67f | 2016-03-02 08:59:08 -0500 | [diff] [blame] | 227 | mNotifQsContainer.setCustomizerAnimating(false); |
| 228 | } |
| 229 | |
| 230 | @Override |
| 231 | public void onAnimationCancel(Animator animation) { |
| 232 | mNotifQsContainer.setCustomizerAnimating(false); |
| 233 | } |
| 234 | }; |
| 235 | |
Jason Monk | 77a2c5f | 2016-02-22 15:18:36 -0500 | [diff] [blame] | 236 | private final AnimatorListener mCollapseAnimationListener = new AnimatorListenerAdapter() { |
| 237 | @Override |
| 238 | public void onAnimationEnd(Animator animation) { |
| 239 | if (!isShown) { |
Jason Monk | 8b9d67f | 2016-03-02 08:59:08 -0500 | [diff] [blame] | 240 | setVisibility(View.GONE); |
Jason Monk | 77a2c5f | 2016-02-22 15:18:36 -0500 | [diff] [blame] | 241 | } |
Jason Monk | 8b9d67f | 2016-03-02 08:59:08 -0500 | [diff] [blame] | 242 | mNotifQsContainer.setCustomizerAnimating(false); |
Jason Monk | b213ac4 | 2016-06-20 10:27:27 -0400 | [diff] [blame] | 243 | mRecyclerView.setAdapter(mTileAdapter); |
Jason Monk | b9c0019 | 2015-10-07 11:45:33 -0400 | [diff] [blame] | 244 | } |
Jason Monk | b9c0019 | 2015-10-07 11:45:33 -0400 | [diff] [blame] | 245 | |
Jason Monk | 77a2c5f | 2016-02-22 15:18:36 -0500 | [diff] [blame] | 246 | @Override |
| 247 | public void onAnimationCancel(Animator animation) { |
| 248 | if (!isShown) { |
Jason Monk | 8b9d67f | 2016-03-02 08:59:08 -0500 | [diff] [blame] | 249 | setVisibility(View.GONE); |
Jason Monk | 77a2c5f | 2016-02-22 15:18:36 -0500 | [diff] [blame] | 250 | } |
Jason Monk | 8b9d67f | 2016-03-02 08:59:08 -0500 | [diff] [blame] | 251 | mNotifQsContainer.setCustomizerAnimating(false); |
Jason Monk | b9c0019 | 2015-10-07 11:45:33 -0400 | [diff] [blame] | 252 | } |
Jason Monk | 77a2c5f | 2016-02-22 15:18:36 -0500 | [diff] [blame] | 253 | }; |
Jason Monk | 62b63a0 | 2016-02-02 15:15:31 -0500 | [diff] [blame] | 254 | } |