Remove ShadeViewRefactor annotation and uses
NOTE: I removed the class and the usages were removed by the IDE. Fixes: 281080274 Test: atest SystemUiTests Change-Id: Ibcdf29154ebaa6c02cf5a7456efe1c4acd67bea0
This commit is contained in:
@@ -1,39 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2018 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License
|
||||
*/
|
||||
|
||||
package com.android.systemui.statusbar.notification;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
public @interface ShadeViewRefactor {
|
||||
/**
|
||||
* Returns the refactor component.
|
||||
* @return the refactor component.
|
||||
*/
|
||||
RefactorComponent value();
|
||||
|
||||
public enum RefactorComponent {
|
||||
ADAPTER,
|
||||
LAYOUT_ALGORITHM,
|
||||
STATE_RESOLVER,
|
||||
DECORATOR,
|
||||
INPUT,
|
||||
COORDINATOR,
|
||||
SHADE_VIEW
|
||||
}
|
||||
}
|
||||
@@ -27,7 +27,6 @@ import android.view.View;
|
||||
import android.view.animation.Interpolator;
|
||||
|
||||
import com.android.app.animation.Interpolators;
|
||||
import com.android.systemui.statusbar.notification.ShadeViewRefactor;
|
||||
import com.android.systemui.statusbar.notification.row.ExpandableView;
|
||||
|
||||
/**
|
||||
@@ -90,7 +89,6 @@ public class NotificationSection {
|
||||
}
|
||||
|
||||
|
||||
@ShadeViewRefactor(ShadeViewRefactor.RefactorComponent.STATE_RESOLVER)
|
||||
private void startTopAnimation(boolean animate) {
|
||||
int previousEndValue = mEndAnimationRect.top;
|
||||
int newEndValue = mBounds.top;
|
||||
@@ -139,7 +137,6 @@ public class NotificationSection {
|
||||
mTopAnimator = animator;
|
||||
}
|
||||
|
||||
@ShadeViewRefactor(ShadeViewRefactor.RefactorComponent.STATE_RESOLVER)
|
||||
private void startBottomAnimation(boolean animate) {
|
||||
int previousStartValue = mStartAnimationRect.bottom;
|
||||
int previousEndValue = mEndAnimationRect.bottom;
|
||||
@@ -188,13 +185,11 @@ public class NotificationSection {
|
||||
mBottomAnimator = animator;
|
||||
}
|
||||
|
||||
@ShadeViewRefactor(ShadeViewRefactor.RefactorComponent.SHADE_VIEW)
|
||||
private void setBackgroundTop(int top) {
|
||||
mCurrentBounds.top = top;
|
||||
mOwningView.invalidate();
|
||||
}
|
||||
|
||||
@ShadeViewRefactor(ShadeViewRefactor.RefactorComponent.SHADE_VIEW)
|
||||
private void setBackgroundBottom(int bottom) {
|
||||
mCurrentBounds.bottom = bottom;
|
||||
mOwningView.invalidate();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user