Created
September 25, 2023 21:42
-
-
Save AfzalivE/c8654576613b01fc4929bdd7e8b93ab0 to your computer and use it in GitHub Desktop.
Samsung Keyboard private IME options
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
customInputConnection, | |
customSymbols, | |
customSymbolsForCMSymbolKey, | |
customSymbolsForPeriodKey, | |
disableAllToolbarItems, | |
disableAmbiguousMode, | |
disableAutoCorrection, | |
disableBackspaceKey, | |
disableCandidateExpand, | |
disableClipboard, | |
disableCMKey, | |
disableCMSymbolKey, | |
disableCommaKey, | |
disableCommit, | |
disableCtrlKey, | |
disableDeleteAccelerator, | |
disableDirectWriting, | |
disableEmoticonInput, | |
disableEnterKey, | |
disableExtraRangeSearch, | |
disableFullHalfWidth, | |
disableGifKeyboard, | |
disableHanjaInput, | |
disableHWRInput, | |
disableImage, | |
disableInputTypeChange, | |
disableLanguageChangeKey, | |
disableLatelyUsedSymbolsKey, | |
disableModeChange, | |
disableModes, | |
disableOnBoarding, | |
disableOneHandMode, | |
disablePrediction, | |
disableRangeChangeKey, | |
disableSetting, | |
disableSogouOcr, | |
disableSpaceKey, | |
disableSpaceKeyInput, | |
disableSpellCheck, | |
disableSticker, | |
disableSymbolPopupForCMKey, | |
disableTextEditPanel, | |
disableToolbar, | |
disableToolbarExpand, | |
disableTransliteration, | |
disableViewTypeChange, | |
disableVoice, | |
disableVoiceInput, | |
emailContentInputType, | |
emojiDisableInputType, | |
emoticonInputRange, | |
enableFieldLanguage, | |
enableGradientInput, | |
enableSocialMediaSymbolKey, | |
enableTestConfig, | |
englishInputRange, | |
engToggleInputType, | |
fileNameInputType, | |
floatingInputType, | |
independentSearchModeInputType, | |
invisibleGifKeyboard, | |
iPAddressInputType, | |
keyboardHeight, | |
keyboardHeightInputType, | |
keyFontTest, | |
koreanInputRange, | |
lockScreenInputType, | |
mmsContentInputType, | |
mmsFileNameInputType, | |
mmsRecipientInputType, | |
moaKeyTest, | |
monthInputType, | |
onlySupportExpressionEmoticon, | |
optionInputType, | |
predictionOffLandscapeInputType, | |
quickCommandInputType, | |
qwertyInputType, | |
softFunctionKeyboardDisabled, | |
splitInputType, | |
symbolEnabled, | |
yearDateTimeInputType, | |
zipTypeField, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Please read the comments. | |
// These privateImeOptions are extracted from Samsung Keyboard 5.6.10.31 APK | |
// | |
// Here are some lines in the code which mention privateImeOptions. | |
m40872u0.setPrivateImeOptions("customSymbolsForPeriodKey=true;disablePrediction=true;disableLanguageChangeKey=true;disableCMSymbolKey=true;disableLatelyUsedSymbolsKey=true;disableEnterKey=true;disableBackspaceKey=true;disableRangeChangeKey=true;disableCMKey=true;disableSpaceKey=true;disableHWRInput=true;disableDirectWriting=true;disableVoiceInput=true"); | |
// This seems more in the format of the line above. | |
public String toString() { | |
return "RAW = " + this.f39810c + "\n{disableAutoCorrection = " + m16420m() + ", disableEmoticonInput= " + m16400w() + ", disableAmbiguousMode = " + m16422l() + ", disableHWRInput = " + m16492B() + ", disableVoice = " + m16437d0() + ",\n disableHanjaInput = " + m16490C() + ", disableClipboard = " + m16410r() + ", disableTextEditPanel = " + m16452V() + ", disableModeChange = " + m16486E() + ", disableModes = " + m16439c0() + ",\n disableCMSymbolKey = " + m16414p() + ", disableLatelyUsedSymbolsKey = " + m16480H() + ", disableBackspaceKey = " + m16418n() + ", disableEnterKey = " + m16398x() + ", disableSpaceKey = " + m16462Q() + ", disableCMKey = " + m16416o() + ",\n disableRangeChangeKey = " + m16470M() + ", keyboardHeight = " + m16395y0() + ", customSymbolsForPeriodKey = " + m16426j() + ", customSymbolsForCMSymbolKey = " + m16428i() + ", customInputConnection = " + m16432g() + ", onlySupportExpressionEmoticon = " + m16477I0() + "}"; | |
} | |
// Because this is a toString function, the key values here are not exactly the same as the real ones. It's probably better to use the format in for keys line above since that's actually what we would also call from our code. | |
public String toString() { | |
return "PrivateImeOptionsConfig(isEmoticonInputRange=" + this.f42930a + ", isEnglishInputRange=" + this.f42932b + ", isKoreanInputRange=" + this.f42934c + ", isSymbolEnabled=" + this.f42936d + ", isDisableVoice=" + this.f42938e + ", isDisableHWRInput=" + this.f42940f + ", isDisableAutoCorrection=" + this.f42942g + ", isDisableEmoticonInput=" + this.f42944h + ", isDisableHanjaInput=" + this.f42946i + ", isDisableClipboard=" + this.f42948j + ", isDisableTextEditPanel=" + this.f42950k + ", isDisableImage=" + this.f42952l + ", isDisableGifKeyboard=" + this.f42954m + ", isDisableTransliteration=" + this.f42956n + ", isInvisibleGifKeyboard=" + this.f42958o + ", isDisableSticker=" + this.f42960p + ", isDisableSetting=" + this.f42962q + ", isDisableOnBoarding=" + this.f42964r + ", isDisableOneHandMode=" + this.f42966s + ", isDisableInputTypeChange=" + this.f42968t + ", isDisableViewTypeChange=" + this.f42970u + ", isKeyboardHeight=" + this.f42972v + ", isCustomSymbolsForPeriodKey=" + this.f42974w + ", isCustomSymbolsFor | |
ymbolKey=" + this.f42976x + ", isCustomSymbols=" + this.f42978y + ", isDisableLanguageChangeKey=" + this.f42979z + ", isDisableCMSymbolKey=" + this.f42904A + ", isDisableLatelyUsedSymbolsKey=" + this.f42905B + ", isDisableBackspaceKey=" + this.f42906C + ", isDisableEnterKey=" + this.f42907D + ", isDisableSpaceKey=" + this.f42908E + ", isDisableSpaceKeyInput=" + this.f42909F + ", isDisableCMKey=" + this.f42910G + ", isDisableRangeChangeKey=" + this.f42911H + ", isDisableCtrlKey=" + this.f42912I + ", isDisableAmbiguousMode=" + this.f42913J + ", isDisableDeleteAccelerator=" + this.f42914K + ", isDisableToolbar=" + this.f42915L + ", isDisableAllToolbarItems=" + this.f42916M + ", isDisableToolbarExpand=" + this.f42917N + ", isDisableSymbolPopupForCMKey=" + this.f42918O + ", isDisableSpellCheck=" + this.f42919P + ", isDisableCommit=" + this.f42920Q + ", isDisableFullHalfWidth=" + this.f42921R + ", isZipTypeField=" + this.f42922S + ", isDisableCandidateExpand=" + this.f42923T + ", isCustomInputConnection=" + this.f42924U + ", isEnableGradientInput=" + this.f42925V + ", isEnableTestConfig=" + this.f42926W + ", isEngToggleInputType=" + this.f42927X + ", isFileNameInputType=" + this.f42928Y + ", isIPAddressInputType=" + this.f42929Z + ", isYearDateTimeInputType=" + this.f42931a0 + ", isMonthInputType=" + this.f42933b0 + ", isSplitInputType=" + this.f42935c0 + ", isFloatingInputType=" + this.f42937d0 + ", isQwertyInputType=" + this.f42939e0 + ", isOptionInputType=" + this.f42941f0 + ", isLockScreenInputType=" + this.f42943g0 + ", isEnableFieldLanguage=" + this.f42945h0 + ", isPredictionOffLandscapeInputType=" + this.f42947i0 + ", isKeyboardHeightInputType=" + this.f42949j0 + ", isMmsRecipientInputType=" + this.f42951k0 + ", isMmsContentInputType=" + this.f42953l0 + ", isMmsFileNameInputType=" + this.f42955m0 + ", isIndependentSearchModeInputType=" + this.f42957n0 + ", isEmojiDisableInputType=" + this.f42959o0 + ", isQuickCommandInputType=" + this.f42961p0 + ", isEmailContentInputType=" + this.f42963q0 + ", isSoftFunctionKeyboardDisabled=" + this.f42965r0 + ", isDisableExtraRangeSearch=" + this.f42967s0 + ", isDisableSogouOcr=" + this.f42969t0 + ", isDisableCommaKey=" + this.f42971u0 + ", isEnableSocialMediaSymbolKey=" + this.f42973v0 + ", isKeyFontTest=" + this.f42975w0 + ", isMoaKeyTest=" + this.f42977x0 + ')'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment