You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-impl: misc stubs for WhatsApp
This commit is contained in:
@@ -56,4 +56,6 @@ public class EditText extends TextView {
|
||||
|
||||
@Override
|
||||
public void setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) {}
|
||||
|
||||
public void selectAll() {}
|
||||
}
|
||||
|
||||
10
src/api-impl/android/widget/ListPopupWindow.java
Normal file
10
src/api-impl/android/widget/ListPopupWindow.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package android.widget;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public class ListPopupWindow {
|
||||
|
||||
public ListPopupWindow(Context context) {}
|
||||
|
||||
public void setAdapter(ListAdapter adapter) {}
|
||||
}
|
||||
@@ -99,4 +99,6 @@ public class PopupWindow {
|
||||
}
|
||||
|
||||
public void setAnimationStyle(int animationStyle) {}
|
||||
|
||||
public void setTouchModal(boolean touchModal) {}
|
||||
}
|
||||
|
||||
@@ -89,6 +89,10 @@ public class ProgressBar extends View {
|
||||
native_setProgress(widget, progress / (float)max);
|
||||
}
|
||||
|
||||
public void setProgress(int progress, boolean animate) {
|
||||
setProgress(progress);
|
||||
}
|
||||
|
||||
public void setSecondaryProgress(int secondaryProgress) {}
|
||||
|
||||
public int getProgress() {
|
||||
|
||||
@@ -366,4 +366,6 @@ public class TextView extends View {
|
||||
public void setAutoSizeTextTypeUniformWithPresetSizes(int[] presetSizes, int unit) {}
|
||||
|
||||
public void setCompoundDrawableTintList(ColorStateList tint) {}
|
||||
|
||||
public void setIncludeFontPadding(boolean includePadding) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user