Exploit databaseDownload repository ZIP
GH-87d78a8273b7c916c0f9f9ca25ca743e
trinadh465/frameworks_base_aosp10_r33_cve-2022-20007
Sources for CVE-2022-20007
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files40
trinadh465/frameworks_base_aosp10_r33_cve-2022-20007Revision d046b4eb34eb
- ↑..Parent directory
- collection/
- logging/
- row/
- stack/
- AboveShelfChangedListener.java
- AboveShelfObserver.java
- ActionListTransformState.java
- ActivityLaunchAnimator.java
- AnimatableProperty.java
- BypassHeadsUpNotifier.kt
- CustomInterpolatorTransformation.java
- DynamicPrivacyController.java
- FakeShadowView.java
- ImageGradientColorizer.java
- ImageTransformState.java
- InflationException.java
- InstantAppNotifier.java
- MediaNotificationProcessor.java
- MessagingImageTransformState.java
- MessagingLayoutTransformState.java
- NotificationActivityStarter.java
- NotificationAlertingManager.java
- NotificationClicker.java
- NotificationDozeHelper.java
- NotificationEntryListener.java
- NotificationEntryManager.java
- NotificationFilter.java
- NotificationIconDozeHelper.java
- NotificationInterruptionStateProvider.java
- NotificationListController.java
- NotificationUtils.java
- NotificationWakeUpCoordinator.kt
- ProgressTransformState.java
- PropertyAnimator.java
- ShadeViewRefactor.java
- TextViewTransformState.java
- TransformState.java
- ViewGroupFadeHelper.kt
- VisibilityLocationProvider.java
- VisualStabilityManager.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
packages/SystemUI/src/com/android/systemui/statusbar/notification/CustomInterpolatorTransformation.java
Java · 2,513 bytes/*
* Copyright (C) 2017 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 android.view.View;
import com.android.systemui.statusbar.CrossFadeHelper;
import com.android.systemui.statusbar.TransformableView;
import com.android.systemui.statusbar.ViewTransformationHelper;
/**
* A custom transformation that modifies the interpolator
*/
public abstract class CustomInterpolatorTransformation
extends ViewTransformationHelper.CustomTransformation {
private final int mViewType;
public CustomInterpolatorTransformation(int viewType) {
mViewType = viewType;
}
@Override
public boolean transformTo(TransformState ownState, TransformableView notification,
float transformationAmount) {
if (!hasCustomTransformation()) {
return false;
}
TransformState otherState = notification.getCurrentState(mViewType);
if (otherState == null) {
return false;
}
View view = ownState.getTransformedView();
CrossFadeHelper.fadeOut(view, transformationAmount);
ownState.transformViewFullyTo(otherState, this, transformationAmount);
otherState.recycle();
return true;
}
protected boolean hasCustomTransformation() {
return true;
}
@Override
public boolean transformFrom(TransformState ownState,
TransformableView notification, float transformationAmount) {
if (!hasCustomTransformation()) {
return false;
}
TransformState otherState = notification.getCurrentState(mViewType);
if (otherState == null) {
return false;
}
View view = ownState.getTransformedView();
CrossFadeHelper.fadeIn(view, transformationAmount);
ownState.transformViewFullyFrom(otherState, this, transformationAmount);
otherState.recycle();
return true;
}
}