mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-15 10:27:17 +01:00
21 lines
739 B
Java
21 lines
739 B
Java
package com.google.android.material.shape;
|
|
|
|
import android.view.View;
|
|
import androidx.annotation.NonNull;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes7.dex */
|
|
class ShapeableDelegateV14 extends ShapeableDelegate {
|
|
@Override // com.google.android.material.shape.ShapeableDelegate
|
|
public void invalidateClippingMethod(@NonNull View view) {
|
|
if (this.shapeAppearanceModel == null || this.maskBounds.isEmpty() || !shouldUseCompatClipping()) {
|
|
return;
|
|
}
|
|
view.invalidate();
|
|
}
|
|
|
|
@Override // com.google.android.material.shape.ShapeableDelegate
|
|
public boolean shouldUseCompatClipping() {
|
|
return true;
|
|
}
|
|
}
|