mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-14 14:02:44 +00:00
rename more keys to popup keys
user-facing name is already popup keys, now internal rename is done to avoid confusion and for consistency
This commit is contained in:
parent
e708c026bc
commit
26809444bd
237 changed files with 1291 additions and 1305 deletions
|
@ -19,7 +19,7 @@ import helium314.keyboard.accessibility.AccessibilityUtils;
|
|||
import helium314.keyboard.keyboard.MainKeyboardView;
|
||||
import helium314.keyboard.latin.common.ColorType;
|
||||
import helium314.keyboard.latin.settings.Settings;
|
||||
import helium314.keyboard.latin.suggestions.MoreSuggestionsView;
|
||||
import helium314.keyboard.latin.suggestions.PopupSuggestionsView;
|
||||
import helium314.keyboard.latin.suggestions.SuggestionStripView;
|
||||
|
||||
public final class InputView extends FrameLayout {
|
||||
|
@ -56,9 +56,9 @@ public final class InputView extends FrameLayout {
|
|||
@Override
|
||||
protected boolean dispatchHoverEvent(final MotionEvent event) {
|
||||
if (AccessibilityUtils.Companion.getInstance().isTouchExplorationEnabled()
|
||||
&& mMainKeyboardView.isShowingMoreKeysPanel()) {
|
||||
// With accessibility mode on, discard hover events while a more keys keyboard is shown.
|
||||
// The {@link MoreKeysKeyboard} receives hover events directly from the platform.
|
||||
&& mMainKeyboardView.isShowingPopupKeysPanel()) {
|
||||
// With accessibility mode on, discard hover events while a popup keys keyboard is shown.
|
||||
// The {@link PopupKeysKeyboard} receives hover events directly from the platform.
|
||||
return true;
|
||||
}
|
||||
return super.dispatchHoverEvent(event);
|
||||
|
@ -223,8 +223,8 @@ public final class InputView extends FrameLayout {
|
|||
|
||||
/**
|
||||
* This class forwards {@link MotionEvent}s happened in the {@link MainKeyboardView} to
|
||||
* {@link SuggestionStripView} when the {@link MoreSuggestionsView} is showing.
|
||||
* {@link SuggestionStripView} dismisses {@link MoreSuggestionsView} when it receives any event
|
||||
* {@link SuggestionStripView} when the {@link PopupSuggestionsView} is showing.
|
||||
* {@link SuggestionStripView} dismisses {@link PopupSuggestionsView} when it receives any event
|
||||
* outside of it.
|
||||
*/
|
||||
private static class MoreSuggestionsViewCanceler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue