ADD week 5

This commit is contained in:
2025-03-31 16:33:42 +02:00
parent 86f265f22d
commit bf645048e6
4927 changed files with 544053 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
package com.google.android.material.internal;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.widget.FrameLayout;
/* loaded from: classes.dex */
public class TouchObserverFrameLayout extends FrameLayout {
private View.OnTouchListener onTouchListener;
@Override // android.view.View
public void setOnTouchListener(View.OnTouchListener onTouchListener) {
this.onTouchListener = onTouchListener;
}
public TouchObserverFrameLayout(Context context) {
super(context);
}
public TouchObserverFrameLayout(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
}
public TouchObserverFrameLayout(Context context, AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
}
@Override // android.view.ViewGroup
public boolean onInterceptTouchEvent(MotionEvent motionEvent) {
View.OnTouchListener onTouchListener = this.onTouchListener;
if (onTouchListener != null) {
onTouchListener.onTouch(this, motionEvent);
}
return super.onInterceptTouchEvent(motionEvent);
}
}