Loading config/hiddenapi-light-greylist.txt +0 −19 Original line number Diff line number Diff line Loading @@ -2262,25 +2262,6 @@ Landroid/icu/util/UResourceBundle;->getString()Ljava/lang/String; Landroid/icu/util/UResourceBundle;->getType()I Landroid/icu/util/UResourceBundleIterator;->hasNext()Z Landroid/icu/util/UResourceBundleIterator;->next()Landroid/icu/util/UResourceBundle; Landroid/inputmethodservice/InputMethodService$SettingsObserver;->shouldShowImeWithHardKeyboard()Z Landroid/inputmethodservice/InputMethodService;->mExtractEditText:Landroid/inputmethodservice/ExtractEditText; Landroid/inputmethodservice/InputMethodService;->mExtractView:Landroid/view/View; Landroid/inputmethodservice/InputMethodService;->mRootView:Landroid/view/View; Landroid/inputmethodservice/InputMethodService;->mSettingsObserver:Landroid/inputmethodservice/InputMethodService$SettingsObserver; Landroid/inputmethodservice/InputMethodService;->mTheme:I Landroid/inputmethodservice/InputMethodService;->mTmpInsets:Landroid/inputmethodservice/InputMethodService$Insets; Landroid/inputmethodservice/InputMethodService;->onExtractedDeleteText(II)V Landroid/inputmethodservice/InputMethodService;->onExtractedReplaceText(IILjava/lang/CharSequence;)V Landroid/inputmethodservice/InputMethodService;->onExtractedSetSpan(Ljava/lang/Object;III)V Landroid/inputmethodservice/Keyboard;->mModifierKeys:Ljava/util/List; Landroid/inputmethodservice/Keyboard;->mTotalHeight:I Landroid/inputmethodservice/Keyboard;->mTotalWidth:I Landroid/inputmethodservice/KeyboardView;->mKeyBackground:Landroid/graphics/drawable/Drawable; Landroid/inputmethodservice/KeyboardView;->mLabelTextSize:I Landroid/inputmethodservice/KeyboardView;->mPreviewText:Landroid/widget/TextView; Landroid/inputmethodservice/KeyboardView;->openPopupIfRequired(Landroid/view/MotionEvent;)Z Landroid/inputmethodservice/KeyboardView;->repeatKey()Z Landroid/inputmethodservice/KeyboardView;->showKey(I)V Landroid/location/Country;-><init>(Ljava/lang/String;I)V Landroid/location/Country;->getCountryIso()Ljava/lang/String; Landroid/location/Country;->getSource()I Loading core/java/android/inputmethodservice/InputMethodService.java +11 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ import android.annotation.IntDef; import android.annotation.MainThread; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.UnsupportedAppUsage; import android.app.ActivityManager; import android.app.Dialog; import android.content.Context; Loading Loading @@ -266,10 +267,12 @@ public class InputMethodService extends AbstractInputMethodService { InputMethodManager mImm; @UnsupportedAppUsage int mTheme = 0; LayoutInflater mInflater; TypedArray mThemeAttrs; @UnsupportedAppUsage View mRootView; SoftInputWindow mWindow; boolean mInitialized; Loading Loading @@ -314,8 +317,10 @@ public class InputMethodService extends AbstractInputMethodService { boolean mFullscreenApplied; boolean mIsFullscreen; @UnsupportedAppUsage View mExtractView; boolean mExtractViewHidden; @UnsupportedAppUsage ExtractEditText mExtractEditText; ViewGroup mExtractAccessories; View mExtractAction; Loading @@ -336,6 +341,7 @@ public class InputMethodService extends AbstractInputMethodService { */ boolean mShouldClearInsetOfPreviousIme; @UnsupportedAppUsage final Insets mTmpInsets = new Insets(); final int[] mTmpLocation = new int[2]; Loading Loading @@ -725,6 +731,7 @@ public class InputMethodService extends AbstractInputMethodService { mService.getContentResolver().unregisterContentObserver(this); } @UnsupportedAppUsage private boolean shouldShowImeWithHardKeyboard() { // Lazily initialize as needed. if (mShowImeWithHardKeyboard == ShowImeWithHardKeyboardType.UNKNOWN) { Loading Loading @@ -764,6 +771,7 @@ public class InputMethodService extends AbstractInputMethodService { return "SettingsObserver{mShowImeWithHardKeyboard=" + mShowImeWithHardKeyboard + "}"; } } @UnsupportedAppUsage private SettingsObserver mSettingsObserver; /** Loading Loading @@ -2317,6 +2325,7 @@ public class InputMethodService extends AbstractInputMethodService { /** * @hide */ @UnsupportedAppUsage public void onExtractedDeleteText(int start, int end) { InputConnection conn = getCurrentInputConnection(); if (conn != null) { Loading @@ -2329,6 +2338,7 @@ public class InputMethodService extends AbstractInputMethodService { /** * @hide */ @UnsupportedAppUsage public void onExtractedReplaceText(int start, int end, CharSequence text) { InputConnection conn = getCurrentInputConnection(); if (conn != null) { Loading @@ -2340,6 +2350,7 @@ public class InputMethodService extends AbstractInputMethodService { /** * @hide */ @UnsupportedAppUsage public void onExtractedSetSpan(Object span, int start, int end, int flags) { InputConnection conn = getCurrentInputConnection(); if (conn != null) { Loading core/java/android/inputmethodservice/Keyboard.java +4 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package android.inputmethodservice; import org.xmlpull.v1.XmlPullParserException; import android.annotation.UnsupportedAppUsage; import android.annotation.XmlRes; import android.content.Context; import android.content.res.Resources; Loading Loading @@ -110,18 +111,21 @@ public class Keyboard { private int mKeyHeight; /** Total height of the keyboard, including the padding and keys */ @UnsupportedAppUsage private int mTotalHeight; /** * Total width of the keyboard, including left side gaps and keys, but not any gaps on the * right side. */ @UnsupportedAppUsage private int mTotalWidth; /** List of keys in this keyboard */ private List<Key> mKeys; /** List of modifier keys such as Shift & Alt, if any */ @UnsupportedAppUsage private List<Key> mModifierKeys; /** Width of the screen available to fit the keyboard */ Loading core/java/android/inputmethodservice/KeyboardView.java +7 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package android.inputmethodservice; import android.annotation.UnsupportedAppUsage; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; Loading Loading @@ -135,6 +136,7 @@ public class KeyboardView extends View implements View.OnClickListener { private Keyboard mKeyboard; private int mCurrentKeyIndex = NOT_A_KEY; @UnsupportedAppUsage private int mLabelTextSize; private int mKeyTextSize; private int mKeyTextColor; Loading @@ -142,6 +144,7 @@ public class KeyboardView extends View implements View.OnClickListener { private int mShadowColor; private float mBackgroundDimAmount; @UnsupportedAppUsage private TextView mPreviewText; private PopupWindow mPreviewPopup; private int mPreviewTextSizeLarge; Loading Loading @@ -219,6 +222,7 @@ public class KeyboardView extends View implements View.OnClickListener { private float mOldPointerX; private float mOldPointerY; @UnsupportedAppUsage private Drawable mKeyBackground; private static final int REPEAT_INTERVAL = 50; // ~20 keys per second Loading Loading @@ -910,6 +914,7 @@ public class KeyboardView extends View implements View.OnClickListener { } } @UnsupportedAppUsage private void showKey(final int keyIndex) { final PopupWindow previewPopup = mPreviewPopup; final Key[] keys = mKeys; Loading Loading @@ -1052,6 +1057,7 @@ public class KeyboardView extends View implements View.OnClickListener { key.x + key.width + mPaddingLeft, key.y + key.height + mPaddingTop); } @UnsupportedAppUsage private boolean openPopupIfRequired(MotionEvent me) { // Check if we have a popup layout specified first. if (mPopupLayout == 0) { Loading Loading @@ -1357,6 +1363,7 @@ public class KeyboardView extends View implements View.OnClickListener { return true; } @UnsupportedAppUsage private boolean repeatKey() { Key key = mKeys[mRepeatKeyIndex]; detectAndSendKey(mCurrentKey, key.x, key.y, mLastTapTime); Loading Loading
config/hiddenapi-light-greylist.txt +0 −19 Original line number Diff line number Diff line Loading @@ -2262,25 +2262,6 @@ Landroid/icu/util/UResourceBundle;->getString()Ljava/lang/String; Landroid/icu/util/UResourceBundle;->getType()I Landroid/icu/util/UResourceBundleIterator;->hasNext()Z Landroid/icu/util/UResourceBundleIterator;->next()Landroid/icu/util/UResourceBundle; Landroid/inputmethodservice/InputMethodService$SettingsObserver;->shouldShowImeWithHardKeyboard()Z Landroid/inputmethodservice/InputMethodService;->mExtractEditText:Landroid/inputmethodservice/ExtractEditText; Landroid/inputmethodservice/InputMethodService;->mExtractView:Landroid/view/View; Landroid/inputmethodservice/InputMethodService;->mRootView:Landroid/view/View; Landroid/inputmethodservice/InputMethodService;->mSettingsObserver:Landroid/inputmethodservice/InputMethodService$SettingsObserver; Landroid/inputmethodservice/InputMethodService;->mTheme:I Landroid/inputmethodservice/InputMethodService;->mTmpInsets:Landroid/inputmethodservice/InputMethodService$Insets; Landroid/inputmethodservice/InputMethodService;->onExtractedDeleteText(II)V Landroid/inputmethodservice/InputMethodService;->onExtractedReplaceText(IILjava/lang/CharSequence;)V Landroid/inputmethodservice/InputMethodService;->onExtractedSetSpan(Ljava/lang/Object;III)V Landroid/inputmethodservice/Keyboard;->mModifierKeys:Ljava/util/List; Landroid/inputmethodservice/Keyboard;->mTotalHeight:I Landroid/inputmethodservice/Keyboard;->mTotalWidth:I Landroid/inputmethodservice/KeyboardView;->mKeyBackground:Landroid/graphics/drawable/Drawable; Landroid/inputmethodservice/KeyboardView;->mLabelTextSize:I Landroid/inputmethodservice/KeyboardView;->mPreviewText:Landroid/widget/TextView; Landroid/inputmethodservice/KeyboardView;->openPopupIfRequired(Landroid/view/MotionEvent;)Z Landroid/inputmethodservice/KeyboardView;->repeatKey()Z Landroid/inputmethodservice/KeyboardView;->showKey(I)V Landroid/location/Country;-><init>(Ljava/lang/String;I)V Landroid/location/Country;->getCountryIso()Ljava/lang/String; Landroid/location/Country;->getSource()I Loading
core/java/android/inputmethodservice/InputMethodService.java +11 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ import android.annotation.IntDef; import android.annotation.MainThread; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.UnsupportedAppUsage; import android.app.ActivityManager; import android.app.Dialog; import android.content.Context; Loading Loading @@ -266,10 +267,12 @@ public class InputMethodService extends AbstractInputMethodService { InputMethodManager mImm; @UnsupportedAppUsage int mTheme = 0; LayoutInflater mInflater; TypedArray mThemeAttrs; @UnsupportedAppUsage View mRootView; SoftInputWindow mWindow; boolean mInitialized; Loading Loading @@ -314,8 +317,10 @@ public class InputMethodService extends AbstractInputMethodService { boolean mFullscreenApplied; boolean mIsFullscreen; @UnsupportedAppUsage View mExtractView; boolean mExtractViewHidden; @UnsupportedAppUsage ExtractEditText mExtractEditText; ViewGroup mExtractAccessories; View mExtractAction; Loading @@ -336,6 +341,7 @@ public class InputMethodService extends AbstractInputMethodService { */ boolean mShouldClearInsetOfPreviousIme; @UnsupportedAppUsage final Insets mTmpInsets = new Insets(); final int[] mTmpLocation = new int[2]; Loading Loading @@ -725,6 +731,7 @@ public class InputMethodService extends AbstractInputMethodService { mService.getContentResolver().unregisterContentObserver(this); } @UnsupportedAppUsage private boolean shouldShowImeWithHardKeyboard() { // Lazily initialize as needed. if (mShowImeWithHardKeyboard == ShowImeWithHardKeyboardType.UNKNOWN) { Loading Loading @@ -764,6 +771,7 @@ public class InputMethodService extends AbstractInputMethodService { return "SettingsObserver{mShowImeWithHardKeyboard=" + mShowImeWithHardKeyboard + "}"; } } @UnsupportedAppUsage private SettingsObserver mSettingsObserver; /** Loading Loading @@ -2317,6 +2325,7 @@ public class InputMethodService extends AbstractInputMethodService { /** * @hide */ @UnsupportedAppUsage public void onExtractedDeleteText(int start, int end) { InputConnection conn = getCurrentInputConnection(); if (conn != null) { Loading @@ -2329,6 +2338,7 @@ public class InputMethodService extends AbstractInputMethodService { /** * @hide */ @UnsupportedAppUsage public void onExtractedReplaceText(int start, int end, CharSequence text) { InputConnection conn = getCurrentInputConnection(); if (conn != null) { Loading @@ -2340,6 +2350,7 @@ public class InputMethodService extends AbstractInputMethodService { /** * @hide */ @UnsupportedAppUsage public void onExtractedSetSpan(Object span, int start, int end, int flags) { InputConnection conn = getCurrentInputConnection(); if (conn != null) { Loading
core/java/android/inputmethodservice/Keyboard.java +4 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package android.inputmethodservice; import org.xmlpull.v1.XmlPullParserException; import android.annotation.UnsupportedAppUsage; import android.annotation.XmlRes; import android.content.Context; import android.content.res.Resources; Loading Loading @@ -110,18 +111,21 @@ public class Keyboard { private int mKeyHeight; /** Total height of the keyboard, including the padding and keys */ @UnsupportedAppUsage private int mTotalHeight; /** * Total width of the keyboard, including left side gaps and keys, but not any gaps on the * right side. */ @UnsupportedAppUsage private int mTotalWidth; /** List of keys in this keyboard */ private List<Key> mKeys; /** List of modifier keys such as Shift & Alt, if any */ @UnsupportedAppUsage private List<Key> mModifierKeys; /** Width of the screen available to fit the keyboard */ Loading
core/java/android/inputmethodservice/KeyboardView.java +7 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package android.inputmethodservice; import android.annotation.UnsupportedAppUsage; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; Loading Loading @@ -135,6 +136,7 @@ public class KeyboardView extends View implements View.OnClickListener { private Keyboard mKeyboard; private int mCurrentKeyIndex = NOT_A_KEY; @UnsupportedAppUsage private int mLabelTextSize; private int mKeyTextSize; private int mKeyTextColor; Loading @@ -142,6 +144,7 @@ public class KeyboardView extends View implements View.OnClickListener { private int mShadowColor; private float mBackgroundDimAmount; @UnsupportedAppUsage private TextView mPreviewText; private PopupWindow mPreviewPopup; private int mPreviewTextSizeLarge; Loading Loading @@ -219,6 +222,7 @@ public class KeyboardView extends View implements View.OnClickListener { private float mOldPointerX; private float mOldPointerY; @UnsupportedAppUsage private Drawable mKeyBackground; private static final int REPEAT_INTERVAL = 50; // ~20 keys per second Loading Loading @@ -910,6 +914,7 @@ public class KeyboardView extends View implements View.OnClickListener { } } @UnsupportedAppUsage private void showKey(final int keyIndex) { final PopupWindow previewPopup = mPreviewPopup; final Key[] keys = mKeys; Loading Loading @@ -1052,6 +1057,7 @@ public class KeyboardView extends View implements View.OnClickListener { key.x + key.width + mPaddingLeft, key.y + key.height + mPaddingTop); } @UnsupportedAppUsage private boolean openPopupIfRequired(MotionEvent me) { // Check if we have a popup layout specified first. if (mPopupLayout == 0) { Loading Loading @@ -1357,6 +1363,7 @@ public class KeyboardView extends View implements View.OnClickListener { return true; } @UnsupportedAppUsage private boolean repeatKey() { Key key = mKeys[mRepeatKeyIndex]; detectAndSendKey(mCurrentKey, key.x, key.y, mLastTapTime); Loading