add more stubs

This commit is contained in:
Julian Winkler
2023-11-08 21:40:39 +01:00
parent 9f74ab811e
commit 72a8b3a047
21 changed files with 128 additions and 34 deletions

View File

@@ -2,6 +2,7 @@ package android.view;
import android.animation.StateListAnimator;
import android.content.Context;
import android.content.res.ColorStateList;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.Canvas;
@@ -1537,4 +1538,14 @@ public class View extends Object {
public float getZ() {return 0.f;}
protected void onSizeChanged(int w, int h, int oldw, int oldh) {}
public void setBackgroundTintList(ColorStateList tint) {}
protected int computeHorizontalScrollRange() {
return getWidth();
}
protected int computeHorizontalScrollExtent() {
return getWidth();
}
}