mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-28 12:17:57 +03:00
api-impl: misc stubs to make FCM-toolbox launch
This commit is contained in:
parent
5de2c27abf
commit
cff51b230b
5 changed files with 6 additions and 4 deletions
|
@ -463,7 +463,7 @@ public class Context extends Object {
|
||||||
public ComponentName startService(Intent intent) {
|
public ComponentName startService(Intent intent) {
|
||||||
ComponentName component = intent.getComponent();
|
ComponentName component = intent.getComponent();
|
||||||
if (component == null) {
|
if (component == null) {
|
||||||
Slog.w(TAG, "startService: component is null");
|
Slog.w(TAG, "startService: component is null for intent: " + intent);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2203,4 +2203,6 @@ public class View implements Drawable.Callback {
|
||||||
public void setAccessibilityPaneTitle(CharSequence paneTitle) {}
|
public void setAccessibilityPaneTitle(CharSequence paneTitle) {}
|
||||||
|
|
||||||
public void setAccessibilityHeading(boolean heading) {}
|
public void setAccessibilityHeading(boolean heading) {}
|
||||||
|
|
||||||
|
public WindowInsets computeSystemWindowInsets(WindowInsets insets, Rect contentInsets) { return insets; }
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@ import android.util.AttributeSet;
|
||||||
* and then accelerates.
|
* and then accelerates.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccelerateInterpolator implements Interpolator {
|
public class AccelerateInterpolator extends BaseInterpolator {
|
||||||
private final float mFactor;
|
private final float mFactor;
|
||||||
private final double mDoubleFactor;
|
private final double mDoubleFactor;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package android.view.animation;
|
package android.view.animation;
|
||||||
|
|
||||||
public class DecelerateInterpolator implements Interpolator{
|
public class DecelerateInterpolator extends BaseInterpolator {
|
||||||
|
|
||||||
private float factor = 1.0f;
|
private float factor = 1.0f;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package android.view.animation;
|
package android.view.animation;
|
||||||
|
|
||||||
public class LinearInterpolator implements Interpolator {
|
public class LinearInterpolator extends BaseInterpolator {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public float getInterpolation(float input) {
|
public float getInterpolation(float input) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue