diff options
Diffstat (limited to 'java/res/xml-sw768dp-land/values')
27 files changed, 2382 insertions, 0 deletions
diff --git a/java/res/xml-sw768dp-land/values/attrs.xml b/java/res/xml-sw768dp-land/values/attrs.xml new file mode 100644 index 000000000..53051d033 --- /dev/null +++ b/java/res/xml-sw768dp-land/values/attrs.xml @@ -0,0 +1,436 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<resources> + <declare-styleable name="KeyboardTheme"> + <!-- Keyboard style --> + <attr name="keyboardStyle" format="reference" /> + <!-- KeyboardView style --> + <attr name="keyboardViewStyle" format="reference" /> + <!-- MainKeyboardView style --> + <attr name="mainKeyboardViewStyle" format="reference" /> + <!-- MoreKeysKeyboard style --> + <attr name="moreKeysKeyboardStyle" format="reference" /> + <!-- MoreKeysKeyboardView style --> + <attr name="moreKeysKeyboardViewStyle" format="reference" /> + <attr name="moreKeysKeyboardPanelStyle" format="reference" /> + <!-- Suggestions strip style --> + <attr name="suggestionsStripBackgroundStyle" format="reference" /> + <attr name="suggestionStripViewStyle" format="reference" /> + <attr name="moreSuggestionsViewStyle" format="reference" /> + <attr name="suggestionBackgroundStyle" format="reference" /> + <attr name="suggestionPreviewBackgroundStyle" format="reference" /> + </declare-styleable> + + <declare-styleable name="KeyboardView"> + <!-- Image for the key. This image needs to be a StateListDrawable, with the following + possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, + checkable+checked+pressed. --> + <attr name="keyBackground" format="reference" /> + + <!-- Horizontal padding of left/right aligned key label to the edge of the key. --> + <attr name="keyLabelHorizontalPadding" format="dimension" /> + <!-- Right padding of hint letter to the edge of the key.--> + <attr name="keyHintLetterPadding" format="dimension" /> + <!-- Bottom padding of popup hint letter "..." to the edge of the key.--> + <attr name="keyPopupHintLetterPadding" format="dimension" /> + <!-- Right padding of shifted letter hint to the edge of the key.--> + <attr name="keyShiftedLetterHintPadding" format="dimension" /> + <!-- Blur radius of key text shadow. --> + <attr name="keyTextShadowRadius" format="float" /> + + <!-- Layout resource for key press feedback.--> + <attr name="keyPreviewLayout" format="reference" /> + <!-- Key preview background states --> + <attr name="state_left_edge" format="boolean" /> + <attr name="state_right_edge" format="boolean" /> + <attr name="state_has_morekeys" format="boolean" /> + <!-- Vertical offset of the key press feedback from the key. --> + <attr name="keyPreviewOffset" format="dimension" /> + <!-- Height of the key press feedback popup. --> + <attr name="keyPreviewHeight" format="dimension" /> + <!-- Delay after key releasing and key press feedback dismissing in millisecond --> + <attr name="keyPreviewLingerTimeout" format="integer" /> + + <!-- Amount to offset the touch Y coordinate by, for bias correction. --> + <attr name="verticalCorrection" format="dimension" /> + + <!-- Layout resource for more keys panel --> + <attr name="moreKeysLayout" format="reference" /> + + <attr name="backgroundDimAlpha" format="integer" /> + + <!-- Attributes for PreviewPlacerView --> + <attr name="gestureFloatingPreviewTextSize" format="dimension" /> + <attr name="gestureFloatingPreviewTextColor" format="color" /> + <attr name="gestureFloatingPreviewTextOffset" format="dimension" /> + <attr name="gestureFloatingPreviewColor" format="color" /> + <attr name="gestureFloatingPreviewHorizontalPadding" format="dimension" /> + <attr name="gestureFloatingPreviewVerticalPadding" format="dimension" /> + <attr name="gestureFloatingPreviewRoundRadius" format="dimension" /> + <!-- Delay after gesture input and gesture floating preview text dismissing in millisecond --> + <attr name="gestureFloatingPreviewTextLingerTimeout" format="integer" /> + <!-- Delay after gesture trail starts fading out in millisecond. --> + <attr name="gesturePreviewTrailFadeoutStartDelay" format="integer" /> + <!-- Duration while gesture preview trail is fading out in millisecond. --> + <attr name="gesturePreviewTrailFadeoutDuration" format="integer" /> + <!-- Interval of updating gesture preview trail in millisecond. --> + <attr name="gesturePreviewTrailUpdateInterval" format="integer" /> + <attr name="gesturePreviewTrailColor" format="color" /> + <attr name="gesturePreviewTrailStartWidth" format="dimension" /> + <attr name="gesturePreviewTrailEndWidth" format="dimension" /> + </declare-styleable> + + <declare-styleable name="MainKeyboardView"> + <attr name="autoCorrectionSpacebarLedEnabled" format="boolean" /> + <attr name="autoCorrectionSpacebarLedIcon" format="reference" /> + <!-- Size of the text for spacebar language label, in the proportion of key height. --> + <attr name="spacebarTextRatio" format="fraction" /> + <attr name="spacebarTextColor" format="color" /> + <attr name="spacebarTextShadowColor" format="color" /> + <!-- Fadeout animator for spacebar language label. --> + <attr name="languageOnSpacebarFinalAlpha" format="integer" /> + <attr name="languageOnSpacebarFadeoutAnimator" format="reference" /> + <!-- Fadeout and fadein animator for altCodeWhileTyping keys. --> + <attr name="altCodeKeyWhileTypingFadeoutAnimator" format="reference" /> + <attr name="altCodeKeyWhileTypingFadeinAnimator" format="reference" /> + <!-- Key detection hysteresis distance. --> + <attr name="keyHysteresisDistance" format="dimension" /> + <!-- Key detection hysteresis distance for shift/symbols sliding input. --> + <attr name="keyHysteresisDistanceForSlidingModifier" format="dimension" /> + <!-- Touch noise threshold time in millisecond --> + <attr name="touchNoiseThresholdTime" format="integer" /> + <!-- Touch noise threshold distance in millimeter --> + <attr name="touchNoiseThresholdDistance" format="dimension" /> + <!-- Sliding key input enable --> + <attr name="slidingKeyInputEnable" format="boolean" /> + <!-- Key repeat start timeout --> + <attr name="keyRepeatStartTimeout" format="integer" /> + <!-- Key repeat interval in millisecond. --> + <attr name="keyRepeatInterval" format="integer" /> + <!-- Long press timeout of letter key in millisecond. --> + <attr name="longPressKeyTimeout" format="integer" /> + <!-- Long press timeout of shift key in millisecond. --> + <attr name="longPressShiftKeyTimeout" format="integer" /> + <!-- Ignore special key timeout while typing in millisecond. --> + <attr name="ignoreAltCodeKeyTimeout" format="integer" /> + <!-- More keys keyboard will shown at touched point. --> + <attr name="showMoreKeysKeyboardAtTouchedPoint" format="boolean" /> + <!-- Static threshold for gesture after fast typing (msec) --> + <attr name="gestureStaticTimeThresholdAfterFastTyping" format="integer" /> + <!-- Static threshold for starting gesture detection (keyWidth%/sec) --> + <attr name="gestureDetectFastMoveSpeedThreshold" format="fraction" /> + <!-- Dynamic threshold for gesture after fast typing (msec) --> + <attr name="gestureDynamicThresholdDecayDuration" format="integer" /> + <!-- Time based threshold values for gesture detection (msec) --> + <attr name="gestureDynamicTimeThresholdFrom" format="integer" /> + <attr name="gestureDynamicTimeThresholdTo" format="integer" /> + <!-- Distance based threshold values for gesture detection (keyWidth%/sec) --> + <attr name="gestureDynamicDistanceThresholdFrom" format="fraction" /> + <attr name="gestureDynamicDistanceThresholdTo" format="fraction" /> + <!-- Parameter for gesture sampling (keyWidth%/sec) --> + <attr name="gestureSamplingMinimumDistance" format="fraction" /> + <!-- Parameters for gesture recognition (msec) and (keyWidth%/sec) --> + <attr name="gestureRecognitionMinimumTime" format="integer" /> + <attr name="gestureRecognitionSpeedThreshold" format="fraction" /> + <!-- Suppress showing key preview duration after batch input in millisecond --> + <attr name="suppressKeyPreviewAfterBatchInputDuration" format="integer" /> + </declare-styleable> + + <declare-styleable name="SuggestionStripView"> + <attr name="suggestionStripOption" format="integer"> + <!-- This should be aligned with SuggestionStripViewParams.AUTO_CORRECT_* and etc. --> + <flag name="autoCorrectBold" value="0x01" /> + <flag name="autoCorrectUnderline" value="0x02" /> + <flag name="validTypedWordBold" value="0x04" /> + </attr> + <attr name="colorValidTypedWord" format="color" /> + <attr name="colorTypedWord" format="color" /> + <attr name="colorAutoCorrect" format="color" /> + <attr name="colorSuggested" format="color" /> + <attr name="alphaValidTypedWord" format="fraction" /> + <attr name="alphaTypedWord" format="fraction" /> + <attr name="alphaAutoCorrect" format="fraction" /> + <attr name="alphaSuggested" format="fraction" /> + <attr name="alphaObsoleted" format="fraction" /> + <attr name="suggestionsCountInStrip" format="integer" /> + <attr name="centerSuggestionPercentile" format="fraction" /> + <attr name="maxMoreSuggestionsRow" format="integer" /> + <attr name="minMoreSuggestionsWidth" format="float" /> + </declare-styleable> + + <declare-styleable name="Keyboard"> + <attr name="themeId" format="integer" /> + <!-- Touch position correction --> + <attr name="touchPositionCorrectionData" format="reference" /> + <!-- Default keyboard height --> + <attr name="keyboardHeight" format="dimension|fraction" /> + <!-- Maximum keyboard height, in pixels or percentage of display height --> + <attr name="maxKeyboardHeight" format="dimension|fraction" /> + <!-- Minimum keyboard height represented in pixels, percentage of display height if fraction + is positive, or percentage of display width if fraction is negative. --> + <attr name="minKeyboardHeight" format="dimension|fraction" /> + <!-- Keyboard top, bottom, both horizontal edges paddings. --> + <attr name="keyboardTopPadding" format="dimension|fraction" /> + <attr name="keyboardBottomPadding" format="dimension|fraction" /> + <attr name="keyboardHorizontalEdgesPadding" format="dimension|fraction" /> + <!-- Default height of a row (key height + vertical gap), in pixels or percentage of + keyboard height. --> + <attr name="rowHeight" format="dimension|fraction" /> + <!-- Default horizontal gap between keys, in pixels or percentage of keyboard width. --> + <attr name="horizontalGap" format="dimension|fraction" /> + <!-- Default vertical gap between rows of keys, in pixels or percentage of keyboard + height. --> + <attr name="verticalGap" format="dimension|fraction" /> + <!-- More keys keyboard layout template --> + <attr name="moreKeysTemplate" format="reference" /> + <!-- Icon set for key top and key preview. + These should be aligned with KeyboardIconsSet.NAMES_AND_ATTR_IDS[] --> + <attr name="iconShiftKey" format="reference" /> + <attr name="iconDeleteKey" format="reference" /> + <attr name="iconSettingsKey" format="reference" /> + <attr name="iconSpaceKey" format="reference" /> + <attr name="iconEnterKey" format="reference" /> + <attr name="iconSearchKey" format="reference" /> + <attr name="iconTabKey" format="reference" /> + <attr name="iconShortcutKey" format="reference" /> + <attr name="iconShortcutForLabel" format="reference" /> + <attr name="iconSpaceKeyForNumberLayout" format="reference" /> + <attr name="iconShiftKeyShifted" format="reference" /> + <attr name="iconShortcutKeyDisabled" format="reference" /> + <attr name="iconTabKeyPreview" format="reference" /> + <attr name="iconLanguageSwitchKey" format="reference" /> + <attr name="iconZwnjKey" format="reference" /> + <attr name="iconZwjKey" format="reference" /> + </declare-styleable> + + <declare-styleable name="Keyboard_Key"> + <!-- The unicode value that this key outputs. + Code value represented in hexadecimal prefixed with "0x" or code value reference using + "!code/<code_name>" notation. --> + <attr name="code" format="string" /> + <!-- The alternate unicode value that this key outputs while typing. + Code value represented in hexadecimal prefixed with "0x" or code value reference using + "!code/<code_name>" notation. --> + <attr name="altCode" format="string" /> + <!-- The keys to display in the more keys keyboard. --> + <attr name="moreKeys" format="string" /> + <!-- The keys to display in the more keys keyboard in addition to moreKeys. + The additional more keys are inserted at the '%' markers in the moreKeys if any. + They are inserted at the head of moreKeys if none. + If there are remaining entries of additionalMoreKeys even after all '%' markers have + been replaced, those remaining entries are appended at the end of moreKeys. --> + <attr name="additionalMoreKeys" format="string" /> + <!-- Maximum column of more keys keyboard --> + <attr name="maxMoreKeysColumn" format="integer" /> + <attr name="backgroundType" format="enum"> + <!-- This should be aligned with Key.BACKGROUND_TYPE_* --> + <enum name="normal" value="0" /> + <enum name="functional" value="1" /> + <enum name="action" value="2" /> + <enum name="stickyOff" value="3" /> + <enum name="stickyOn" value="4" /> + </attr> + <!-- The key action flags. --> + <attr name="keyActionFlags" format="integer"> + <!-- This should be aligned with Key.ACTION_FLAGS_* --> + <flag name="isRepeatable" value="0x01" /> + <flag name="noKeyPreview" value="0x02" /> + <flag name="altCodeWhileTyping" value="0x04" /> + <flag name="enableLongPress" value="0x08" /> + </attr> + <!-- The string of characters to output when this key is pressed. --> + <attr name="keyOutputText" format="string" /> + <!-- The label to display on the key. --> + <attr name="keyLabel" format="string" /> + <!-- The hint label to display on the key in conjunction with the label. --> + <attr name="keyHintLabel" format="string" /> + <!-- The key label flags. --> + <attr name="keyLabelFlags" format="integer"> + <!-- This should be aligned with Key.LABEL_FLAGS__* --> + <flag name="alignLeft" value="0x01" /> + <flag name="alignRight" value="0x02" /> + <flag name="alignLeftOfCenter" value="0x08" /> + <flag name="fontNormal" value="0x10" /> + <flag name="fontMonoSpace" value="0x20" /> + <flag name="followKeyLargeLetterRatio" value="0x40" /> + <flag name="followKeyLetterRatio" value="0x80" /> + <flag name="followKeyLabelRatio" value="0xC0" /> + <flag name="followKeyLargeLabelRatio" value="0x100" /> + <flag name="followKeyHintLabelRatio" value="0x140" /> + <flag name="hasPopupHint" value="0x200" /> + <flag name="hasShiftedLetterHint" value="0x400" /> + <flag name="hasHintLabel" value="0x800" /> + <flag name="withIconLeft" value="0x1000" /> + <flag name="withIconRight" value="0x2000" /> + <flag name="autoXScale" value="0x4000" /> + <!-- If true, character case of code, altCode, moreKeys, keyOutputText, keyLabel, + or keyHintLabel will never be subject to change. --> + <flag name="preserveCase" value="0x8000" /> + <!-- If true, use keyShiftedLetterHintActivatedColor for the shifted letter hint and + keyTextInactivatedColor for the primary key top label. --> + <flag name="shiftedLetterActivated" value="0x10000" /> + <!-- If true, use EditorInfo.actionLabel for the key label. --> + <flag name="fromCustomActionLabel" value="0x20000" /> + <!-- If true, disable keyHintLabel. --> + <flag name="disableKeyHintLabel" value="0x40000000" /> + <!-- If true, disable additionalMoreKeys. --> + <flag name="disableAdditionalMoreKeys" value="0x80000000" /> + </attr> + <!-- The icon to display on the key instead of the label. --> + <attr name="keyIcon" format="string" /> + <!-- The icon for disabled key --> + <attr name="keyIconDisabled" format="string" /> + <!-- The icon to show in the popup preview. --> + <attr name="keyIconPreview" format="string" /> + <!-- The key style to specify a set of key attributes defined by <key_style/> --> + <attr name="keyStyle" format="string" /> + <!-- Visual insets --> + <attr name="visualInsetsLeft" format="dimension|fraction" /> + <attr name="visualInsetsRight" format="dimension|fraction" /> + <!-- Width of the key, in pixels or percentage of display width. + If the value is fillRight, the actual key width will be determined to fill out the area + up to the right edge of the keyboard. --> + <!-- This should be aligned with KeyboardBuilder.Row.KEYWIDTH_* --> + <attr name="keyWidth" format="dimension|fraction|enum"> + <enum name="fillRight" value="-1" /> + </attr> + <!-- The X-coordinate of upper right corner of this key including horizontal gap. + If the value is negative, the origin is the right edge of the keyboard. --> + <attr name="keyXPos" format="dimension|fraction" /> + + <!-- Key top visual attributes --> + <attr name="keyTypeface" format="enum"> + <!-- This should be aligned with Typeface.NORMAL etc. --> + <enum name="normal" value="0" /> + <enum name="bold" value="1" /> + <enum name="italic" value="2" /> + <enum name="boldItalic" value="3" /> + </attr> + <!-- Size of the text for one letter keys. If specified as fraction, the text size is + measured in the proportion of key height. --> + <attr name="keyLetterSize" format="dimension|fraction" /> + <!-- Size of the text for keys with multiple letters. If specified as fraction, the text + size is measured in the proportion of key height. --> + <attr name="keyLabelSize" format="dimension|fraction" /> + <!-- Large size of the text for one letter keys, in the proportion of key height. --> + <attr name="keyLargeLetterRatio" format="fraction" /> + <!-- Large size of the text for keys with multiple letters, in the proportion of key height. --> + <attr name="keyLargeLabelRatio" format="fraction" /> + <!-- Size of the text for hint letter (= one character hint label), in the proportion of + key height. --> + <attr name="keyHintLetterRatio" format="fraction" /> + <!-- Size of the text for hint label, in the proportion of key height. --> + <attr name="keyHintLabelRatio" format="fraction" /> + <!-- Size of the text for shifted letter hint, in the proportion of key height. --> + <attr name="keyShiftedLetterHintRatio" format="fraction" /> + <!-- Color to use for the label in a key. --> + <attr name="keyTextColor" format="color" /> + <attr name="keyTextShadowColor" format="color" /> + <!-- Color to use for the label in a key when in inactivated state. --> + <attr name="keyTextInactivatedColor" format="color" /> + <!-- Key hint letter (= one character hint label) color --> + <attr name="keyHintLetterColor" format="color" /> + <!-- Key hint label color --> + <attr name="keyHintLabelColor" format="color" /> + <!-- Shifted letter hint colors --> + <attr name="keyShiftedLetterHintInactivatedColor" format="color" /> + <attr name="keyShiftedLetterHintActivatedColor" format="color" /> + + <!-- Key preview visual parameters --> + <!-- The text color for key press feedback. --> + <attr name="keyPreviewTextColor" format="color" /> + <!-- Size of the text for key press feedback popup, in the proportion of key height. --> + <attr name="keyPreviewTextRatio" format="fraction" /> + </declare-styleable> + + <declare-styleable name="Keyboard_Include"> + <attr name="keyboardLayout" format="reference" /> + </declare-styleable> + + <declare-styleable name="Keyboard_Case"> + <!-- This should be aligned with KeyboardLayoutSet_Element's elementName. --> + <attr name="keyboardLayoutSetElement" format="enum|string"> + <enum name="alphabet" value="0" /> + <enum name="alphabetManualShifted" value="1" /> + <enum name="alphabetAutomaticShifted" value="2" /> + <enum name="alphabetShiftLocked" value="3" /> + <enum name="alphabetShiftLockShifted" value="4" /> + <enum name="symbols" value="5" /> + <enum name="symbolsShifted" value="6" /> + <enum name="phone" value="7" /> + <enum name="phoneSymbols" value="8" /> + <enum name="number" value="9" /> + </attr> + <!-- This should be aligned with KeyboardId.MODE_* --> + <attr name="mode" format="enum|string"> + <enum name="text" value="0" /> + <enum name="url" value="1" /> + <enum name="email" value="2" /> + <enum name="im" value="3" /> + <enum name="phone" value="4" /> + <enum name="number" value="5" /> + </attr> + <attr name="navigateNext" format="boolean" /> + <attr name="navigatePrevious" format="boolean" /> + <attr name="passwordInput" format="boolean" /> + <attr name="clobberSettingsKey" format="boolean" /> + <attr name="shortcutKeyEnabled" format="boolean" /> + <attr name="hasShortcutKey" format="boolean" /> + <attr name="languageSwitchKeyEnabled" format="boolean" /> + <attr name="isMultiLine" format="boolean" /> + <attr name="imeAction" format="enum"> + <!-- This should be aligned with EditorInfo.IME_ACTION_* --> + <enum name="actionUnspecified" value="0" /> + <enum name="actionNone" value="1" /> + <enum name="actionGo" value="2" /> + <enum name="actionSearch" value="3" /> + <enum name="actionSend" value="4" /> + <enum name="actionNext" value="5" /> + <enum name="actionDone" value="6" /> + <enum name="actionPrevious" value="7" /> + <!-- This should be aligned with KeyboardId.IME_ACTION_* --> + <enum name="actionCustomLabel" value="0x100" /> + </attr> + <attr name="localeCode" format="string" /> + <attr name="languageCode" format="string" /> + <attr name="countryCode" format="string" /> + </declare-styleable> + + <declare-styleable name="Keyboard_KeyStyle"> + <attr name="styleName" format="string" /> + <attr name="parentStyle" format="string" /> + </declare-styleable> + + <declare-styleable name="KeyboardLayoutSet_Element"> + <!-- This should be aligned with KeyboardId.ELEMENT_* --> + <attr name="elementName" format="enum"> + <enum name="alphabet" value="0" /> + <enum name="alphabetManualShifted" value="1" /> + <enum name="alphabetAutomaticShifted" value="2" /> + <enum name="alphabetShiftLocked" value="3" /> + <enum name="alphabetShiftLockShifted" value="4" /> + <enum name="symbols" value="5" /> + <enum name="symbolsShifted" value="6" /> + <enum name="phone" value="7" /> + <enum name="phoneSymbols" value="8" /> + <enum name="number" value="9" /> + </attr> + <attr name="elementKeyboard" format="reference"/> + <!-- Enable proximity characters correction. Disabled by default. --> + <attr name="enableProximityCharsCorrection" format="boolean" /> + </declare-styleable> +</resources> diff --git a/java/res/xml-sw768dp-land/values/bools.xml b/java/res/xml-sw768dp-land/values/bools.xml new file mode 100644 index 000000000..10d217985 --- /dev/null +++ b/java/res/xml-sw768dp-land/values/bools.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2008, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> +<resources> + <!-- Whether this input method should be used as the default for a locale. Override it + for supported languages. --> + <bool name="im_is_default">false</bool> +</resources> diff --git a/java/res/xml-sw768dp-land/values/config.xml b/java/res/xml-sw768dp-land/values/config.xml new file mode 100644 index 000000000..cb1358726 --- /dev/null +++ b/java/res/xml-sw768dp-land/values/config.xml @@ -0,0 +1,121 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2010, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> + +<resources> + <!-- Device form factor. This value must be aligned with {@link KeyboardId.DEVICE_FORM_FACTOR_PHONE} --> + <integer name="config_device_form_factor">0</integer> + <bool name="config_use_fullscreen_mode">false</bool> + <bool name="config_enable_show_voice_key_option">true</bool> + <bool name="config_enable_show_popup_on_keypress_option">true</bool> + <!-- TODO: Disable the following configuration for production. --> + <bool name="config_enable_usability_study_mode_option">true</bool> + <!-- Whether or not Popup on key press is enabled by default --> + <bool name="config_default_popup_preview">true</bool> + <!-- Default value for next word prediction: after entering a word and a space only, should we look + at input history to suggest a hopefully helpful suggestions for the next word? --> + <bool name="config_default_next_word_prediction">true</bool> + <bool name="config_default_sound_enabled">false</bool> + <bool name="config_default_vibration_enabled">true</bool> + <integer name="config_delay_update_suggestions">100</integer> + <integer name="config_delay_update_old_suggestions">300</integer> + <integer name="config_delay_update_shift_state">100</integer> + <integer name="config_language_on_spacebar_final_alpha">128</integer> + <integer name="config_more_keys_keyboard_fadein_anim_time">0</integer> + <integer name="config_more_keys_keyboard_fadeout_anim_time">100</integer> + <integer name="config_keyboard_grid_width">32</integer> + <integer name="config_keyboard_grid_height">16</integer> + <integer name="config_double_spaces_turn_into_period_timeout">1100</integer> + <!-- This configuration is the index of the array {@link KeyboardSwitcher.KEYBOARD_THEMES}. --> + <string name="config_default_keyboard_theme_index" translatable="false">5</string> + <integer name="config_max_more_keys_column">5</integer> + <!-- + Configuration for KeyboardView + --> + <integer name="config_key_preview_linger_timeout">70</integer> + <integer name="config_gesture_floating_preview_text_linger_timeout">200</integer> + <integer name="config_gesture_preview_trail_fadeout_start_delay">100</integer> + <integer name="config_gesture_preview_trail_fadeout_duration">800</integer> + <integer name="config_gesture_preview_trail_update_interval">20</integer> + <!-- + Configuration for MainKeyboardView + --> + <dimen name="config_key_hysteresis_distance">8.0dp</dimen> + <dimen name="config_key_hysteresis_distance_for_sliding_modifier">8.0dp</dimen> + <integer name="config_touch_noise_threshold_time">40</integer> + <dimen name="config_touch_noise_threshold_distance">12.6dp</dimen> + <bool name="config_sliding_key_input_enabled">true</bool> + <integer name="config_key_repeat_start_timeout">400</integer> + <integer name="config_key_repeat_interval">50</integer> + <integer name="config_long_press_key_timeout">400</integer> + <!-- Long pressing shift will invoke caps-lock if > 0, never invoke caps-lock if == 0 --> + <integer name="config_long_press_shift_key_timeout">1200</integer> + <integer name="config_ignore_alt_code_key_timeout">350</integer> + <!-- Showing more keys keyboard, just above the touched point if true, aligned to the key if + false --> + <bool name="config_show_more_keys_keyboard_at_touched_point">false</bool> + <!-- Static threshold for gesture after fast typing (msec) --> + <integer name="config_gesture_static_time_threshold_after_fast_typing">500</integer> + <!-- Static threshold for starting gesture detection (keyWidth%/sec) --> + <fraction name="config_gesture_detect_fast_move_speed_threshold">150%</fraction> + <!-- Dynamic threshold for gesture after fast typing (msec) --> + <integer name="config_gesture_dynamic_threshold_decay_duration">450</integer> + <!-- Time based threshold values for gesture detection (msec) --> + <integer name="config_gesture_dynamic_time_threshold_from">300</integer> + <integer name="config_gesture_dynamic_time_threshold_to">20</integer> + <!-- Distance based threshold values for gesture detection (keyWidth%/sec) --> + <fraction name="config_gesture_dynamic_distance_threshold_from">600%</fraction> + <fraction name="config_gesture_dynamic_distance_threshold_to">50%</fraction> + <!-- Parameter for gesture sampling (keyWidth%/sec) --> + <fraction name="config_gesture_sampling_minimum_distance">16.6666%</fraction> + <!-- Parameters for gesture recognition (msec) and (keyWidth%/sec) --> + <integer name="config_gesture_recognition_minimum_time">100</integer> + <fraction name="config_gesture_recognition_speed_threshold">550%</fraction> + <!-- Suppress showing key preview duration after batch input in millisecond --> + <integer name="config_suppress_key_preview_after_batch_input_duration">1000</integer> + <!-- + Configuration for auto correction + --> + <string-array name="auto_correction_threshold_values" translatable="false"> + <!-- Off, When auto correction setting is Off, this value is not used. --> + <item></item> + <!-- Modest : Suggestion whose normalized score is greater than this value + will be subject to auto-correction. --> + <item>0.185</item> + <!-- Aggressive --> + <item>0.067</item> + <!-- Very Aggressive : Suggestion whose normalized score is greater than this value + will be subject to auto-correction. --> + <item>0</item> + </string-array> + <!-- Threshold of the normalized score of the best suggestion for the spell checker to declare + a word to be "recommended" --> + <string name="spellchecker_recommended_threshold_value" translatable="false">0.11</string> + <!-- Threshold of the normalized score of any dictionary lookup to be offered as a suggestion + by the spell checker --> + <string name="spellchecker_suggestion_threshold_value" translatable="false">0.03</string> + <!-- Screen metrics for logging. + 0 = "mdpi phone screen" + 1 = "hdpi phone screen" + 2 = "mdpi 11 inch tablet screen" + 3 = "xhdpi phone screen?" + 4 = ? + --> + <integer name="log_screen_metrics">0</integer> +</resources> diff --git a/java/res/xml-sw768dp-land/values/dimens.xml b/java/res/xml-sw768dp-land/values/dimens.xml new file mode 100644 index 000000000..c7d993698 --- /dev/null +++ b/java/res/xml-sw768dp-land/values/dimens.xml @@ -0,0 +1,114 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2008, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> + +<resources> + <!-- Preferable keyboard height in absolute scale: 1.285in --> + <!-- This keyboardHeight value should match with keyboard-heights.xml --> + <dimen name="keyboardHeight">205.6dp</dimen> + <fraction name="maxKeyboardHeight">46%p</fraction> + <fraction name="minKeyboardHeight">-61.8%p</fraction> + + <dimen name="popup_key_height">52.8dp</dimen> + + <dimen name="more_keys_keyboard_key_horizontal_padding">8dp</dimen> + + <fraction name="keyboard_top_padding">1.556%p</fraction> + <fraction name="keyboard_bottom_padding">4.669%p</fraction> + <fraction name="keyboard_horizontal_edges_padding">0%p</fraction> + <fraction name="key_bottom_gap">6.250%p</fraction> + <fraction name="key_horizontal_gap">1.352%p</fraction> + + <fraction name="keyboard_top_padding_stone">1.556%p</fraction> + <fraction name="keyboard_bottom_padding_stone">0.778%p</fraction> + <fraction name="key_bottom_gap_stone">7.506%p</fraction> + <fraction name="key_horizontal_gap_stone">1.739%p</fraction> + + <fraction name="key_bottom_gap_gb">6.495%p</fraction> + <fraction name="key_horizontal_gap_gb">1.971%p</fraction> + + <fraction name="keyboard_top_padding_ics">2.335%p</fraction> + <fraction name="keyboard_bottom_padding_ics">4.669%p</fraction> + <fraction name="key_bottom_gap_ics">6.127%p</fraction> + <fraction name="key_horizontal_gap_ics">1.739%p</fraction> + <dimen name="more_keys_keyboard_horizontal_edges_padding_ics">4dp</dimen> + + <!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. --> + <!-- popup_key_height x 1.2 --> + <dimen name="more_keys_keyboard_slide_allowance">63.36dp</dimen> + <!-- popup_key_height x -1.0 --> + <dimen name="more_keys_keyboard_vertical_correction">-52.8dp</dimen> + <dimen name="keyboard_vertical_correction">0.0dp</dimen> + + <fraction name="key_letter_ratio">55%</fraction> + <fraction name="key_large_letter_ratio">65%</fraction> + <fraction name="key_label_ratio">34%</fraction> + <fraction name="key_large_label_ratio">40%</fraction> + <fraction name="key_hint_letter_ratio">25%</fraction> + <fraction name="key_hint_label_ratio">44%</fraction> + <fraction name="key_uppercase_letter_ratio">35%</fraction> + <fraction name="key_preview_text_ratio">82%</fraction> + <fraction name="spacebar_text_ratio">33.735%</fraction> + <dimen name="key_preview_height">80dp</dimen> + <dimen name="key_preview_offset">-8.0dp</dimen> + + <dimen name="key_label_horizontal_padding">4dp</dimen> + <dimen name="key_hint_letter_padding">1dp</dimen> + <dimen name="key_popup_hint_letter_padding">2dp</dimen> + <dimen name="key_uppercase_letter_padding">2dp</dimen> + + <!-- For 5-row keyboard --> + <fraction name="key_bottom_gap_5row">3.20%p</fraction> + <fraction name="key_letter_ratio_5row">64%</fraction> + <fraction name="key_uppercase_letter_ratio_5row">41%</fraction> + + <dimen name="key_preview_offset_ics">8.0dp</dimen> + <!-- popup_key_height x -0.5 --> + <dimen name="more_keys_keyboard_vertical_correction_ics">-26.4dp</dimen> + + <dimen name="suggestions_strip_height">40dp</dimen> + <dimen name="more_suggestions_key_horizontal_padding">12dp</dimen> + <dimen name="more_suggestions_row_height">40dp</dimen> + <dimen name="more_suggestions_bottom_gap">6dp</dimen> + <dimen name="more_suggestions_modal_tolerance">32.0dp</dimen> + <dimen name="more_suggestions_slide_allowance">16.0dp</dimen> + <integer name="max_more_suggestions_row">6</integer> + <fraction name="min_more_suggestions_width">90%</fraction> + <fraction name="more_suggestions_info_ratio">18%</fraction> + <dimen name="suggestions_strip_padding">0dp</dimen> + <dimen name="suggestion_min_width">44dp</dimen> + <dimen name="suggestion_padding">6dp</dimen> + <dimen name="suggestion_text_size">18dp</dimen> + <dimen name="more_suggestions_hint_text_size">27dp</dimen> + <integer name="suggestions_count_in_strip">3</integer> + <fraction name="center_suggestion_percentile">36%</fraction> + + <!-- Gesture preview trail parameters --> + <dimen name="gesture_preview_trail_start_width">12.6dp</dimen> + <dimen name="gesture_preview_trail_end_width">2.5dp</dimen> + <!-- Gesture floating preview text parameters --> + <dimen name="gesture_floating_preview_text_size">24dp</dimen> + <dimen name="gesture_floating_preview_text_offset">73dp</dimen> + <dimen name="gesture_floating_preview_horizontal_padding">24dp</dimen> + <dimen name="gesture_floating_preview_vertical_padding">16dp</dimen> + <dimen name="gesture_floating_preview_round_radius">3dp</dimen> + + <!-- Inset used in Accessibility mode to avoid accidental key presses when a finger slides off the screen. --> + <dimen name="accessibility_edge_slop">8dp</dimen> +</resources> diff --git a/java/res/xml-sw768dp-land/values/donottranslate.xml b/java/res/xml-sw768dp-land/values/donottranslate.xml new file mode 100644 index 000000000..9e07b2248 --- /dev/null +++ b/java/res/xml-sw768dp-land/values/donottranslate.xml @@ -0,0 +1,235 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2009, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Symbols that are suggested between words --> + <string name="suggested_punctuations">!,?,\\,,:,;,\",(,),\',-,/,@,_</string> + <!-- Symbols that should be swapped with a weak space --> + <string name="weak_space_swapping_symbols">.,;:!?)]}\"</string> + <!-- Symbols that should strip a weak space --> + <string name="weak_space_stripping_symbols">"	 \n/_\'-"@</string> + <!-- Symbols that should convert weak spaces into real space --> + <string name="phantom_space_promoting_symbols">([*&{<>+=|</string> + <!-- Symbols that do NOT separate words --> + <string name="symbols_excluded_from_word_separators">\'-</string> + <!-- Word separator list is the union of all symbols except those that are not separators: + weak_space_swapping_symbols | weak_space_stripping_symbols + \ symbols_excluded_from_word_separators --> + <!-- Symbol characters list that should switch back to the main layout --> + <!-- U+2018: "‘" LEFT SINGLE QUOTATION MARK + U+2019: "’" RIGHT SINGLE QUOTATION MARK + U+201A: "‚" SINGLE LOW-9 QUOTATION MARK + U+201B: "‛" SINGLE HIGH-REVERSED-9 QUOTATION MARK + U+201C: "“" LEFT DOUBLE QUOTATION MARK + U+201D: "”" RIGHT DOUBLE QUOTATION MARK + U+201E: "„" DOUBLE LOW-9 QUOTATION MARK + U+201F: "‟" DOUBLE HIGH-REVERSED-9 QUOTATION MARK + U+00AB: "«" LEFT-POINTING DOUBLE ANGLE QUOTATION MARK + U+00BB: "»" RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK --> + <!-- <string name="layout_switch_back_symbols">\"\'‘’‚‛“”„‟«»</string> --> + <string name="layout_switch_back_symbols"></string> + + <!-- Always show the suggestion strip --> + <string name="prefs_suggestion_visibility_show_value">0</string> + <!-- Show the suggestion strip only on portrait mode --> + <string name="prefs_suggestion_visibility_show_only_portrait_value">1</string> + <!-- Always hide the suggestion strip --> + <string name="prefs_suggestion_visibility_hide_value">2</string> + <!-- Default value of the visibility of the suggestion strip --> + <string name="prefs_suggestion_visibility_default_value">0</string> + <!-- Option to show/hide the suggestion strip --> + <string-array name="prefs_suggestion_visibility_values"> + <item>@string/prefs_suggestion_visibility_show_value</item> + <item>@string/prefs_suggestion_visibility_show_only_portrait_value</item> + <item>@string/prefs_suggestion_visibility_hide_value</item> + </string-array> + <string-array name="prefs_suggestion_visibilities"> + <item>@string/prefs_suggestion_visibility_show_name</item> + <item>@string/prefs_suggestion_visibility_show_only_portrait_name</item> + <item>@string/prefs_suggestion_visibility_hide_name</item> + </string-array> + + <string name="auto_correction_threshold_mode_index_off">0</string> + <string name="auto_correction_threshold_mode_index_modest">1</string> + <string name="auto_correction_threshold_mode_index_aggeressive">2</string> + <string name="auto_correction_threshold_mode_index_very_aggeressive">3</string> + <string-array name="auto_correction_threshold_mode_indexes"> + <item>@string/auto_correction_threshold_mode_index_off</item> + <item>@string/auto_correction_threshold_mode_index_modest</item> + <item>@string/auto_correction_threshold_mode_index_aggeressive</item> + <item>@string/auto_correction_threshold_mode_index_very_aggeressive</item> + </string-array> + <string-array name="auto_correction_threshold_modes"> + <item>@string/auto_correction_threshold_mode_off</item> + <item>@string/auto_correction_threshold_mode_modest</item> + <item>@string/auto_correction_threshold_mode_aggeressive</item> + <item>@string/auto_correction_threshold_mode_very_aggeressive</item> + </string-array> + + <string name="voice_mode_main">0</string> + <string name="voice_mode_symbols">1</string> + <string name="voice_mode_off">2</string> + <string-array name="voice_input_modes_values"> + <item>@string/voice_mode_main</item> + <item>@string/voice_mode_symbols</item> + <item>@string/voice_mode_off</item> + </string-array> + <!-- Array of Voice Input modes --> + <string-array name="voice_input_modes"> + <item>@string/voice_input_modes_main_keyboard</item> + <item>@string/voice_input_modes_symbols_keyboard</item> + <item>@string/voice_input_modes_off</item> + </string-array> + <!-- Array of Voice Input modes summary --> + <string-array name="voice_input_modes_summary"> + <item>@string/voice_input_modes_summary_main_keyboard</item> + <item>@string/voice_input_modes_summary_symbols_keyboard</item> + <item>@string/voice_input_modes_summary_off</item> + </string-array> + + <!-- Title for Latin keyboard debug settings activity / dialog --> + <string name="english_ime_debug_settings">Android keyboard Debug settings</string> + <string name="prefs_debug_mode">Debug Mode</string> + <string name="prefs_force_non_distinct_multitouch">Force non-distinct multitouch</string> + + <!-- Keyboard theme names --> + <string name="layout_basic">Basic</string> + <string name="layout_high_contrast">Basic (High Contrast)</string> + <string name="layout_stone_bold">Stone (bold)</string> + <string name="layout_stone_normal">Stone (normal)</string> + <string name="layout_gingerbread">Gingerbread</string> + <string name="layout_ics">IceCreamSandwich</string> + + <!-- For keyboard theme switcher dialog --> + <string-array name="keyboard_layout_modes"> + <item>@string/layout_basic</item> + <item>@string/layout_high_contrast</item> + <item>@string/layout_stone_normal</item> + <item>@string/layout_stone_bold</item> + <item>@string/layout_gingerbread</item> + <item>@string/layout_ics</item> + </string-array> + <string-array name="keyboard_layout_modes_values"> + <item>0</item> + <item>1</item> + <item>2</item> + <item>3</item> + <item>4</item> + <item>5</item> + </string-array> + + <!-- Subtype locale display name exceptions. + For each exception, there should be related string resource for display name that has + explicit keyboard layout. The string resource name must be "subtype_with_layout_<locale>. --> + <string-array name="subtype_locale_exception_keys"> + <item>en_US</item> + <item>en_GB</item> + </string-array> + <string-array name="subtype_locale_exception_values"> + <item>English (US)</item> + <item>English (UK)</item> + </string-array> + + <!-- Generic subtype label --> + <string name="subtype_generic">%s</string> + + <!-- Predefined keyboard layouts for additional subtype --> + <string-array name="predefined_layouts"> + <item>qwerty</item> + <item>qwertz</item> + <item>azerty</item> + <item>dvorak</item> + <item>colemak</item> + <item>pcqwerty</item> + </string-array> + <!-- Predefined keyboard layout display names --> + <string-array name="predefined_layout_display_names"> + <item>QWERTY</item> + <item>QWERTZ</item> + <item>AZERTY</item> + <item>Dvorak</item> + <item>Colemak</item> + <item>PC</item> + </string-array> + <!-- Description for generic subtype that has predefined layout. + The string resource name must be "subtype_generic_<layout name>". + The string resource with "No language" also must be added to strings.xml and the resource + name must be "subtype_no_language_<layout name>" --> + <string name="subtype_generic_qwerty">%s (QWERTY)</string> + <string name="subtype_generic_qwertz">%s (QWERTZ)</string> + <string name="subtype_generic_azerty">%s (AZERTY)</string> + <string name="subtype_generic_dvorak">%s (Dvorak)</string> + <string name="subtype_generic_colemak">%s (Colemak)</string> + <string name="subtype_generic_pcqwerty">%s (PC)</string> + + <!-- Description for Bulgarian (BDS) subtype. --> + <string name="subtype_bulgarian_bds">%s (BDS)</string> + + <!-- Compatibility map from subtypeLocale:subtypeExtraValue to keyboardLayoutSet --> + <string-array name="locale_and_extra_value_to_keyboard_layout_set_map"> + <item>en_US:TrySuppressingImeSwitcher,AsciiCapable,SupportTouchPositionCorrection</item> + <item>qwerty</item> + <item>en_GB:TrySuppressingImeSwitcher,AsciiCapable,SupportTouchPositionCorrection</item> + <item>qwerty</item> + <item>ar:SupportTouchPositionCorrection</item> + <item>arabic</item> + <item>cs:AsciiCapable,SupportTouchPositionCorrection</item> + <item>qwertz</item> + <item>da:AsciiCapable,SupportTouchPositionCorrection</item> + <item>nordic</item> + <item>de:AsciiCapable,SupportTouchPositionCorrection</item> + <item>qwertz</item> + <item>es:AsciiCapable,SupportTouchPositionCorrection</item> + <item>spanish</item> + <item>fi:AsciiCapable,SupportTouchPositionCorrection</item> + <item>nordic</item> + <item>fr:AsciiCapable,SupportTouchPositionCorrection</item> + <item>azerty</item> + <item>fr_CA:AsciiCapable,SupportTouchPositionCorrection</item> + <item>qwerty</item> + <item>hr:AsciiCapable,SupportTouchPositionCorrection</item> + <item>qwertz</item> + <item>hu:AsciiCapable,SupportTouchPositionCorrection</item> + <item>qwertz</item> + <item>it:AsciiCapable,SupportTouchPositionCorrection</item> + <item>qwerty</item> + <item>iw:SupportTouchPositionCorrection</item> + <item>hebrew</item> + <item>nb:AsciiCapable,SupportTouchPositionCorrection</item> + <item>nordic</item> + <item>nl:AsciiCapable,SupportTouchPositionCorrection</item> + <item>qwerty</item> + <item>pl:AsciiCapable,SupportTouchPositionCorrection</item> + <item>qwerty</item> + <item>ru:SupportTouchPositionCorrection</item> + <item>east_slavic</item> + <item>sr:SupportTouchPositionCorrection</item> + <item>south_slavic</item> + <item>sv:AsciiCapable,SupportTouchPositionCorrection</item> + <item>nordic</item> + <item>tr:AsciiCapable,SupportTouchPositionCorrection</item> + <item>qwerty</item> + </string-array> + + <!-- dictionary pack package name /settings activity (for shared prefs and settings) --> + <string name="dictionary_pack_package_name">com.google.android.inputmethod.latin.dictionarypack</string> + <string name="dictionary_pack_settings_activity">com.google.android.inputmethod.latin.dictionarypack.DictionarySettingsActivity</string> + <string name="settings_ms">ms</string> + <string name="settings_warning_researcher_mode">Attention! You are using the special keyboard for research purposes.</string> +</resources> diff --git a/java/res/xml-sw768dp-land/values/gesture-input.xml b/java/res/xml-sw768dp-land/values/gesture-input.xml new file mode 100644 index 000000000..235616fbe --- /dev/null +++ b/java/res/xml-sw768dp-land/values/gesture-input.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2012, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> +<resources> + <bool name="config_gesture_input_enabled_by_build_config">false</bool> +</resources> diff --git a/java/res/xml-sw768dp-land/values/keyboard-heights.xml b/java/res/xml-sw768dp-land/values/keyboard-heights.xml new file mode 100644 index 000000000..7d85994be --- /dev/null +++ b/java/res/xml-sw768dp-land/values/keyboard-heights.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2012, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> + +<resources> + <!-- Build.HARDWARE,keyboard_height_in_dp --> + <string-array name="keyboard_heights" translatable="false"> + <!-- Preferable keyboard height in absolute scale: 1.285in --> + <!-- Droid --> + <item>sholes,227.0167</item> + <!-- Nexus One --> + <item>mahimahi,217.5932</item> + <!-- Nexus S --> + <item>herring,200.8554</item> + <!-- Galaxy Nexus --> + <item>tuna,202.5869</item> + <!-- Preferable keyboard height in absolute scale: 48.0mm --> + <!-- Xoom --> + <item>stingray,283.1337</item> + </string-array> +</resources> diff --git a/java/res/xml-sw768dp-land/values/keyboard-icons-black.xml b/java/res/xml-sw768dp-land/values/keyboard-icons-black.xml new file mode 100644 index 000000000..e9c5733b5 --- /dev/null +++ b/java/res/xml-sw768dp-land/values/keyboard-icons-black.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<resources> + <style name="KeyboardIcons.Black"> + <!-- Keyboard icons --> + <!-- TODO: The following holo icon for phone (drawable-hdpi and drawable-xhdpi) are too + ambiguous. + sym_bkeyboard_voice_off + --> + <item name="iconShiftKey">@drawable/sym_bkeyboard_shift</item> + <item name="iconDeleteKey">@drawable/sym_bkeyboard_delete</item> + <item name="iconSettingsKey">@drawable/sym_bkeyboard_settings</item> + <item name="iconSpaceKey">@drawable/sym_bkeyboard_space</item> + <item name="iconEnterKey">@drawable/sym_bkeyboard_return</item> + <item name="iconSearchKey">@drawable/sym_bkeyboard_search</item> + <item name="iconTabKey">@drawable/sym_bkeyboard_tab</item> + <item name="iconShortcutKey">@drawable/sym_bkeyboard_mic</item> + <item name="iconShortcutForLabel">@drawable/sym_bkeyboard_label_mic</item> + <item name="iconSpaceKeyForNumberLayout">@drawable/sym_bkeyboard_space</item> + <item name="iconShiftKeyShifted">@drawable/sym_bkeyboard_shift_locked</item> + <item name="iconShortcutKeyDisabled">@drawable/sym_bkeyboard_voice_off</item> + <item name="iconTabKeyPreview">@drawable/sym_keyboard_feedback_tab</item> + <!-- TODO: Needs dedicated black theme globe icon --> + <item name="iconLanguageSwitchKey">@drawable/sym_keyboard_language_switch</item> + <!-- TODO: Needs dedicated black theme ZWNJ and ZWJ icons --> + <item name="iconZwnjKey">@drawable/sym_keyboard_zwnj_holo</item> + <item name="iconZwjKey">@drawable/sym_keyboard_zwj_holo</item> + </style> +</resources> diff --git a/java/res/xml-sw768dp-land/values/keyboard-icons-ics.xml b/java/res/xml-sw768dp-land/values/keyboard-icons-ics.xml new file mode 100644 index 000000000..8eba196de --- /dev/null +++ b/java/res/xml-sw768dp-land/values/keyboard-icons-ics.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<resources> + <style name="KeyboardIcons.IceCreamSandwich"> + <!-- Keyboard icons --> + <!-- TODO: The following holo icon for phone (drawable-hdpi and drawable-xhdpi) are missing. + sym_keyboard_123_mic_holo + --> + <item name="iconShiftKey">@drawable/sym_keyboard_shift_holo</item> + <item name="iconDeleteKey">@drawable/sym_keyboard_delete_holo</item> + <item name="iconSettingsKey">@drawable/sym_keyboard_settings_holo</item> + <item name="iconSpaceKey">@null</item> + <item name="iconEnterKey">@drawable/sym_keyboard_return_holo</item> + <item name="iconSearchKey">@drawable/sym_keyboard_search_holo</item> + <item name="iconTabKey">@drawable/sym_keyboard_tab_holo</item> + <item name="iconShortcutKey">@drawable/sym_keyboard_voice_holo</item> + <item name="iconShortcutForLabel">@drawable/sym_keyboard_label_mic_holo</item> + <item name="iconSpaceKeyForNumberLayout">@drawable/sym_keyboard_space_holo</item> + <item name="iconShiftKeyShifted">@drawable/sym_keyboard_shift_locked_holo</item> + <item name="iconShortcutKeyDisabled">@drawable/sym_keyboard_voice_off_holo</item> + <item name="iconTabKeyPreview">@drawable/sym_keyboard_feedback_tab</item> + <item name="iconLanguageSwitchKey">@drawable/sym_keyboard_language_switch</item> + <item name="iconZwnjKey">@drawable/sym_keyboard_zwnj_holo</item> + <item name="iconZwjKey">@drawable/sym_keyboard_zwj_holo</item> + </style> +</resources> diff --git a/java/res/xml-sw768dp-land/values/keyboard-icons-white.xml b/java/res/xml-sw768dp-land/values/keyboard-icons-white.xml new file mode 100644 index 000000000..e52099867 --- /dev/null +++ b/java/res/xml-sw768dp-land/values/keyboard-icons-white.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<resources> + <style name="KeyboardIcons"> + <!-- Keyboard icons --> + <item name="iconShiftKey">@drawable/sym_keyboard_shift</item> + <item name="iconDeleteKey">@drawable/sym_keyboard_delete</item> + <item name="iconSettingsKey">@drawable/sym_keyboard_settings</item> + <item name="iconSpaceKey">@drawable/sym_keyboard_space</item> + <item name="iconEnterKey">@drawable/sym_keyboard_return</item>ZZ + <item name="iconSearchKey">@drawable/sym_keyboard_search</item> + <item name="iconTabKey">@drawable/sym_keyboard_tab</item> + <item name="iconShortcutKey">@drawable/sym_keyboard_mic</item> + <item name="iconShortcutForLabel">@drawable/sym_keyboard_label_mic</item> + <item name="iconSpaceKeyForNumberLayout">@drawable/sym_keyboard_space</item> + <item name="iconShiftKeyShifted">@drawable/sym_keyboard_shift_locked</item> + <!-- TODO: Needs non-holo disabled shortcut icon drawable --> + <item name="iconShortcutKeyDisabled">@drawable/sym_keyboard_voice_off_holo</item> + <item name="iconTabKeyPreview">@drawable/sym_keyboard_feedback_tab</item> + <item name="iconLanguageSwitchKey">@drawable/sym_keyboard_language_switch</item> + <!-- TODO: Needs dedicated black theme ZWNJ and ZWJ icons --> + <item name="iconZwnjKey">@drawable/sym_keyboard_zwnj_holo</item> + <item name="iconZwjKey">@drawable/sym_keyboard_zwj_holo</item> + </style> +</resources> diff --git a/java/res/xml-sw768dp-land/values/keypress-vibration-durations.xml b/java/res/xml-sw768dp-land/values/keypress-vibration-durations.xml new file mode 100644 index 000000000..370959c1a --- /dev/null +++ b/java/res/xml-sw768dp-land/values/keypress-vibration-durations.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2011, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> +<resources> + <string-array name="keypress_vibration_durations" translatable="false"> + <!-- Build.HARDWARE,duration_in_milliseconds --> + <item>herring,5</item> + <item>tuna,5</item> + <item>mako,5</item> + <item>manta,16</item> + </string-array> +</resources> diff --git a/java/res/xml-sw768dp-land/values/keypress-volumes.xml b/java/res/xml-sw768dp-land/values/keypress-volumes.xml new file mode 100644 index 000000000..d1120694b --- /dev/null +++ b/java/res/xml-sw768dp-land/values/keypress-volumes.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2011, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> +<resources> + <string-array name="keypress_volumes" translatable="false"> + <!-- Build.HARDWARE,volume --> + <item>herring,0.5</item> + <item>tuna,0.5</item> + <item>stingray,0.4</item> + <item>grouper,0.3</item> + <item>mako,0.3</item> + <item>manta,0.2</item> + </string-array> +</resources> diff --git a/java/res/xml-sw768dp-land/values/phantom-sudden-move-event-device-list.xml b/java/res/xml-sw768dp-land/values/phantom-sudden-move-event-device-list.xml new file mode 100644 index 000000000..63d12e96e --- /dev/null +++ b/java/res/xml-sw768dp-land/values/phantom-sudden-move-event-device-list.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2012, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> +<resources> + <string-array name="phantom_sudden_move_event_device_list" translatable="false"> + <!-- "Build.HARDWARE,true" that needs "phantom sudden move event" hack. + See {@link com.android.inputmethod.keyboard.PointerTracker}. --> + <item>stingray,true</item> <!-- Xoom --> + </string-array> +</resources> diff --git a/java/res/xml-sw768dp-land/values/predefined-subtypes.xml b/java/res/xml-sw768dp-land/values/predefined-subtypes.xml new file mode 100644 index 000000000..3bf0e617f --- /dev/null +++ b/java/res/xml-sw768dp-land/values/predefined-subtypes.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2012, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Predefined subtypes (language:layout[:extraValue]) --> + <string-array name="predefined_subtypes" translatable="false"> + <item>de:qwerty:AsciiCapable</item> + <item>fr:qwertz:AsciiCapable</item> + </string-array> +</resources> diff --git a/java/res/xml-sw768dp-land/values/research_strings.xml b/java/res/xml-sw768dp-land/values/research_strings.xml new file mode 100644 index 000000000..2cad15eb0 --- /dev/null +++ b/java/res/xml-sw768dp-land/values/research_strings.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2012, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Contents of note explaining what data is collected and how. --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_splash_content" translatable="false"></string> +</resources> diff --git a/java/res/xml-sw768dp-land/values/strings-appname.xml b/java/res/xml-sw768dp-land/values/strings-appname.xml new file mode 100644 index 000000000..19aaa2513 --- /dev/null +++ b/java/res/xml-sw768dp-land/values/strings-appname.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2012, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> + +<resources> + <!-- Title for Latin Keyboard --> + <string name="english_ime_name">Android keyboard</string> + + <!-- Name of Android spell checker service --> + <string name="spell_checker_service_name">Android spell checker</string> + + <!-- Title for Latin keyboard settings activity / dialog --> + <string name="english_ime_settings">Android keyboard settings</string> + + <!-- Title for the spell checking service settings screen --> + <string name="android_spell_checker_settings">Spell checking settings</string> +</resources> diff --git a/java/res/xml-sw768dp-land/values/strings.xml b/java/res/xml-sw768dp-land/values/strings.xml new file mode 100644 index 000000000..13aca717f --- /dev/null +++ b/java/res/xml-sw768dp-land/values/strings.xml @@ -0,0 +1,378 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2008, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Application name for opensource Android keyboard. AOSP(Android Open Source Project) should not be translated. --> + <string name="aosp_android_keyboard_ime_name">Android keyboard (AOSP)</string> + <!-- Title for Latin keyboard input options dialog [CHAR LIMIT=25] --> + <string name="english_ime_input_options">Input options</string> + <!-- Title for Latin keyboard research log dialog, which contains special commands for users that contribute data for research. [CHAR LIMIT=33] --> + <string name="english_ime_research_log">Research Log Commands</string> + + <!-- Name of Android spell checker service. AOSP(Android Open Source Project) should not be translated. --> + <string name="aosp_spell_checker_service_name">Android spell checker (AOSP)</string> + + <!-- Title for the spell checker option to turn on/off contact names lookup [CHAR LIMIT=25] --> + <string name="use_contacts_for_spellchecking_option_title">Look up contact names</string> + + <!-- Description for the spell checker option to turn on/off contact names lookup. [CHAR LIMIT=65] --> + <string name="use_contacts_for_spellchecking_option_summary">Spell checker uses entries from your contact list</string> + + <!-- Option to provide vibrate/haptic feedback on keypress --> + <string name="vibrate_on_keypress">Vibrate on keypress</string> + + <!-- Option to play back sound on keypress in soft keyboard --> + <string name="sound_on_keypress">Sound on keypress</string> + + <!-- Option to control whether or not to show a popup with a larger font on each key press. --> + <string name="popup_on_keypress">Popup on keypress</string> + + <!-- Category title for general settings for Android keyboard --> + <string name="general_category">General</string> + + <!-- Category title for text prediction --> + <string name="correction_category">Text correction</string> + + <!-- Category title for gesture typing --> + <string name="gesture_typing_category">Gesture typing</string> + + <!-- Category title for misc options --> + <string name="misc_category">Other options</string> + + <!-- Option name for advanced settings screen [CHAR LIMIT=25] --> + <string name="advanced_settings">Advanced settings</string> + <!-- Option summary for advanced settings screen [CHAR LIMIT=65 (two lines) or 30 (fits on one line, preferable)] --> + <string name="advanced_settings_summary">Options for experts</string> + + <!-- Option name for including other IMEs in the language switch list [CHAR LIMIT=30] --> + <string name="include_other_imes_in_language_switch_list">Switch to other input methods</string> + <!-- Option summary for including other IMEs in the language switch list [CHAR LIMIT=65] --> + <string name="include_other_imes_in_language_switch_list_summary">Language switch key covers other input methods too</string> + <!-- Option to show language switch key [CHAR LIMIT=30] --> + <string name="show_language_switch_key">Language switch key</string> + <!-- Option summary for showing language switch key [CHAR LIMIT=65] --> + <string name="show_language_switch_key_summary">Show when multiple input languages are enabled</string> + + <!-- Option for the dismiss delay of the key popup [CHAR LIMIT=25] --> + <string name="key_preview_popup_dismiss_delay">Key popup dismiss delay</string> + <!-- Description for delay for dismissing a popup on keypress: no delay [CHAR LIMIT=15] --> + <string name="key_preview_popup_dismiss_no_delay">No delay</string> + <!-- Description for delay for dismissing a popup on screen: default value of the delay [CHAR LIMIT=15] --> + <string name="key_preview_popup_dismiss_default_delay">Default</string> + + <!-- Option name for enabling or disabling the use of names of people in Contacts for suggestion and correction [CHAR LIMIT=25] --> + <string name="use_contacts_dict">Suggest Contact names</string> + <!-- Description for option enabling or disabling the use of names of people in Contacts for suggestion and correction [CHAR LIMIT=65] --> + <string name="use_contacts_dict_summary">Use names from Contacts for suggestions and corrections</string> + + <!-- Option to enable auto capitalization of sentences --> + <string name="auto_cap">Auto-capitalization</string> + <!-- Description for option to enable auto capitalization of sentences --> + <string name="auto_cap_summary">Capitalize the first word of each sentence</string> + + <!-- Option to configure dictionaries --> + <string name="configure_dictionaries_title">Add-on dictionaries</string> + <!-- Name of the main dictionary, as opposed to auxiliary dictionaries (medical/entertainment/sports...) --> + <string name="main_dictionary">Main dictionary</string> + + <!-- Option to enable showing suggestions --> + <string name="prefs_show_suggestions">Show correction suggestions</string> + <!-- Description for show suggestions --> + <string name="prefs_show_suggestions_summary">Display suggested words while typing</string> + <string name="prefs_suggestion_visibility_show_name">Always show</string> + <string name="prefs_suggestion_visibility_show_only_portrait_name">Show in portrait mode</string> + <string name="prefs_suggestion_visibility_hide_name">Always hide</string> + + <!-- Option to decide the auto correction threshold score --> + <!-- Option to enable auto correction [CHAR LIMIT=20]--> + <string name="auto_correction">Auto-correction</string> + <!-- Description for auto correction [CHAR LIMIT=65 (two lines) or 30 (fits on one line, preferable)] --> + <string name="auto_correction_summary">Spacebar and punctuation automatically correct mistyped words</string> + <!-- Option to disable auto correction. [CHAR LIMIT=20] --> + <string name="auto_correction_threshold_mode_off">Off</string> + <!-- Option to suggest auto correction suggestions modestly. Auto-corrects only to a word which has small edit distance from typed word. [CHAR LIMIT=20] --> + <string name="auto_correction_threshold_mode_modest">Modest</string> + <!-- Option to suggest auto correction suggestions aggressively. Auto-corrects to a word which has even large edit distance from typed word. [CHAR LIMIT=20] --> + <string name="auto_correction_threshold_mode_aggeressive">Aggressive</string> + <!-- Option to suggest auto correction suggestions very aggressively. Auto-corrects to a word which has even large edit distance from typed word. [CHAR LIMIT=20] --> + <string name="auto_correction_threshold_mode_very_aggeressive">Very aggressive</string> + + <!-- Option to enable using next word suggestions. After the user types a space, with this option on, the keyboard will try to predict the next word. --> + <string name="bigram_prediction">Next-word suggestions</string> + <!-- Description for "next word suggestion" option. This displays suggestions even when there is no input, based on the previous word. --> + <string name="bigram_prediction_summary">Use the previous word in making suggestions</string> + + <!-- Option to enable gesture input. The user can input a word by tracing the letters of a word without releasing the finger from the screen. [CHAR LIMIT=30]--> + <string name="gesture_input">Enable gesture typing</string> + <!-- Description for "gesture_input" option. The user can input a word by tracing the letters of a word without releasing the finger from the screen. [CHAR LIMIT=65]--> + <string name="gesture_input_summary">Input a word by sliding through the letters</string> + <!-- Option to enable gesture trail preview. The user can see a trail of the gesture during gesture input. [CHAR LIMIT=30]--> + <string name="gesture_preview_trail">Show gesture trail</string> + <!-- Option to enable gesture floating text preview. The user can see a suggested word floating under the moving finger during a gesture input. [CHAR LIMIT=30]--> + <string name="gesture_floating_preview_text">Dynamic floating preview</string> + <!-- Description for "gesture_floating_preview_text" option. The user can see a suggested word floating under the moving finger during a gesture input. [CHAR LIMIT=65]--> + <string name="gesture_floating_preview_text_summary">See the suggested word while gesturing</string> + + <!-- Indicates that a word has been added to the dictionary --> + <string name="added_word"><xliff:g id="word">%s</xliff:g> : Saved</string> + + <!-- Label for soft enter key when it performs GO action. Must be short to fit on key! [CHAR LIMIT=5] --> + <string name="label_go_key">Go</string> + <!-- Label for soft enter key when it performs NEXT action. Must be short to fit on key! [CHAR LIMIT=5] --> + <string name="label_next_key">Next</string> + <!-- Label for soft enter key when it performs PREVIOUS action. Must be short to fit on key! [CHAR LIMIT=5] --> + <string name="label_previous_key">Prev</string> + <!-- Label for soft enter key when it performs DONE action. Must be short to fit on key! [CHAR LIMIT=5] --> + <string name="label_done_key">Done</string> + <!-- Label for soft enter key when it performs SEND action. Must be short to fit on key! [CHAR LIMIT=5] --> + <string name="label_send_key">Send</string> + <!-- Label for "switch to alphabetic" key. Must be short to fit on key! [CHAR LIMIT=3] --> + <string name="label_to_alpha_key">ABC</string> + <!-- Label for "switch to symbols" key. Must be short to fit on key! [CHAR LIMIT=4] --> + <string name="label_to_symbol_key">\?123</string> + <!-- Label for "switch to symbols with microphone" key. This string shouldn't include the "mic" + part because it'll be appended by the code. Must be short to fit on key! [CHAR LIMIT=3] --> + <string name="label_to_symbol_with_microphone_key">123</string> + <!-- Label for "Pause" key of phone number keyboard. Must be short to fit on key! [CHAR LIMIT=5] --> + <string name="label_pause_key">Pause</string> + <!-- Label for "Wait" key of phone number keyboard. Must be short to fit on key! [CHAR LIMIT=5]--> + <string name="label_wait_key">Wait</string> + + <!-- Spoken description to let the user know that when typing in a password, they can plug in a headset in to hear spoken descriptions of the keys they type. [CHAR LIMIT=NONE] --> + <string name="spoken_use_headphones">Plug in a headset to hear password keys spoken aloud.</string> + + <!-- Spoken description for the currently entered text --> + <string name="spoken_current_text_is">Current text is "%s"</string> + <!-- Spoken description when there is no text entered --> + <string name="spoken_no_text_entered">No text entered</string> + + <!-- Spoken description for unknown keyboard keys. --> + <string name="spoken_description_unknown">Key code %d</string> + <!-- Spoken description for the "Shift" keyboard key when "Shift" is off. --> + <string name="spoken_description_shift">Shift</string> + <!-- Spoken description for the "Shift" keyboard key when "Shift" is on. --> + <string name="spoken_description_shift_shifted">Shift on (tap to disable)</string> + <!-- Spoken description for the "Shift" keyboard key when "Caps lock" is on. --> + <string name="spoken_description_caps_lock">Caps lock on (tap to disable)</string> + <!-- Spoken description for the "Delete" keyboard key. --> + <string name="spoken_description_delete">Delete</string> + <!-- Spoken description for the "To Symbol" keyboard key. --> + <string name="spoken_description_to_symbol">Symbols</string> + <!-- Spoken description for the "To Alpha" keyboard key. --> + <string name="spoken_description_to_alpha">Letters</string> + <!-- Spoken description for the "To Numbers" keyboard key. --> + <string name="spoken_description_to_numeric">Numbers</string> + <!-- Spoken description for the "Settings" keyboard key. --> + <string name="spoken_description_settings">Settings</string> + <!-- Spoken description for the "Tab" keyboard key. --> + <string name="spoken_description_tab">Tab</string> + <!-- Spoken description for the "Space" keyboard key. --> + <string name="spoken_description_space">Space</string> + <!-- Spoken description for the "Mic" keyboard key. --> + <string name="spoken_description_mic">Voice input</string> + <!-- Spoken description for the "Smiley" keyboard key. --> + <string name="spoken_description_smiley">Smiley face</string> + <!-- Spoken description for the "Return" keyboard key. --> + <string name="spoken_description_return">Return</string> + <!-- Spoken description for the "Search" keyboard key. --> + <string name="spoken_description_search">Search</string> + <!-- Spoken description for the "U+2022" (BULLET) keyboard key. --> + <string name="spoken_description_dot">Dot</string> + <!-- Spoken description for the "Switch language" keyboard key. --> + <string name="spoken_description_language_switch">Switch language</string> + <!-- Spoken description for the "Next" action keyboard key. --> + <string name="spoken_description_action_next">Next</string> + <!-- Spoken description for the "Previous" action keyboard key. --> + <string name="spoken_description_action_previous">Previous</string> + + <!-- Spoken feedback after turning "Shift" mode on. --> + <string name="spoken_description_shiftmode_on">Shift enabled</string> + <!-- Spoken feedback after turning "Caps lock" mode on. --> + <string name="spoken_description_shiftmode_locked">Caps lock enabled</string> + <!-- Spoken feedback after turning "Shift" mode off. --> + <string name="spoken_description_shiftmode_off">Shift disabled</string> + + <!-- Spoken feedback after changing to the symbols keyboard. --> + <string name="spoken_description_mode_symbol">Symbols mode</string> + <!-- Spoken feedback after changing to the alphanumeric keyboard. --> + <string name="spoken_description_mode_alpha">Letters mode</string> + <!-- Spoken feedback after changing to the phone dialer keyboard. --> + <string name="spoken_description_mode_phone">Phone mode</string> + <!-- Spoken feedback after changing to the shifted phone dialer (symbols) keyboard. --> + <string name="spoken_description_mode_phone_shift">Phone symbols mode</string> + + <!-- Preferences item for enabling speech input --> + <string name="voice_input">Voice input key</string> + + <!-- Voice Input modes --> + <!-- On settings screen, voice input pop-up menu option to show voice key on main keyboard [CHAR LIMIT=20] --> + <string name="voice_input_modes_main_keyboard">On main keyboard</string> + <!-- On settings screen, voice input pop-up menu option to show voice key on symbols keyboard [CHAR LIMIT=20] --> + <string name="voice_input_modes_symbols_keyboard">On symbols keyboard</string> + <!-- On settings screen, voice input pop-up menu option to never show voice key [CHAR LIMIT=20] --> + <string name="voice_input_modes_off">Off</string> + <!-- Voice Input modes summary --> + <!-- On settings screen, voice input pop-up menu summary text to show voice key on main keyboard [CHAR LIMIT=20] --> + <string name="voice_input_modes_summary_main_keyboard">Mic on main keyboard</string> + <!-- On settings screen, voice input pop-up menu summary text to show voice key on symbols keyboard [CHAR LIMIT=20] --> + <string name="voice_input_modes_summary_symbols_keyboard">Mic on symbols keyboard</string> + <!-- On settings screen, voice input pop-up menu summary text to never show voice key [CHAR LIMIT=20] --> + <string name="voice_input_modes_summary_off">Voice input is disabled</string> + + <!-- Title for configuring input method settings [CHAR LIMIT=35] --> + <string name="configure_input_method">Configure input methods</string> + + <!-- Title for input language selection screen --> + <string name="language_selection_title">Input languages</string> + + <!-- Title for dialog option to let users cancel logging and delete log for this session [CHAR LIMIT=35] --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_do_not_log_this_session" translatable="false">Suspend logging</string> + <!-- Title for dialog option to let users reenable logging [CHAR LIMIT=35] --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_enable_session_logging" translatable="false">Enable logging</string> + <!-- Toast notification that the system is processing the request to delete the log for this session [CHAR LIMIT=35] --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_notify_session_log_deleting" translatable="false">Deleting session log</string> + <!-- Toast notification that the system has successfully deleted the log for this session [CHAR LIMIT=35] --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_notify_logging_suspended" translatable="false">Logging temporarily suspended. To disable permanently, go to Android Keyboard Settings</string> + <!-- Toast notification that the system has failed to delete the log for this session [CHAR LIMIT=35] --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_notify_session_log_not_deleted" translatable="false">Session log NOT deleted</string> + <!-- Toast notification that the system is enabling logging [CHAR LIMIT=35] --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_notify_session_logging_enabled" translatable="false">Session logging enabled</string> + + <!-- Menu option that lets user send feedback for research purposes about the IME [CHAR LIMIT=38] --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_feedback_menu_option" translatable="false">Send feedback</string> + <!-- Dialog box title that lets user send feedback for research purposes about the IME [CHAR LIMIT=38] --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_feedback_dialog_title" translatable="false">Send feedback</string> + <!-- Text for checkbox option to include user data in feedback for research purposes [CHAR LIMIT=50] --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <!-- TODO: handle multilingual plurals --> + <string name="research_feedback_include_history_label" translatable="false">Include last <xliff:g id="word">%d</xliff:g> words entered</string> + <!-- Hint to user about the text entry field where they should enter research feedback [CHAR LIMIT=40] --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_feedback_hint" translatable="false">Enter your feedback here.</string> + <!-- Dialog button choice to send research feedback [CHAR LIMIT=35] --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_feedback_send" translatable="false">Send</string> + <!-- Dialog button choice to cancel sending research feedback [CHAR LIMIT=35] --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_feedback_cancel" translatable="false">Cancel</string> + <!-- Toast notification to ask user to quit the research feedback dialog to perform this operation [CHAR LIMIT=100] --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_please_exit_feedback_form" translatable="false">Please exit the feedback dialog to access the research log menu</string> + + <!-- Title of dialog shown at start informing users about contributing research usage data--> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_splash_title" translatable="false">Warning</string> + + <!-- Toast message informing users that logging has been disabled --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_logging_disabled" translatable="false">Logging Disabled</string> + + <!-- Name for the research uploading service to be displayed to users. [CHAR LIMIT=50] --> + <!-- TODO: remove translatable=false attribute once text is stable --> + <string name="research_log_uploader_name" translatable="false">Research Uploader Service</string> + + <!-- Preference for input language selection --> + <string name="select_language">Input languages</string> + + <!-- Add to dictionary hint --> + <string name="hint_add_to_dictionary">Touch again to save</string> + + <!-- Inform the user that a particular language has an available dictionary --> + <string name="has_dictionary">Dictionary available</string> + + <!-- Preferences item for enabling to send user statistics to Google --> + <string name="prefs_enable_log">Enable user feedback</string> + <!-- Description for enabling to send user statistics to Google --> + <string name="prefs_description_log">Help improve this input method editor by automatically sending usage statistics and crash reports to Google.</string> + + <!-- Title of the item to change the keyboard theme [CHAR LIMIT=20]--> + <string name="keyboard_layout">Keyboard theme</string> + + <!-- Description for English (United Kingdom) keyboard subtype [CHAR LIMIT=25] --> + <string name="subtype_en_GB">English (UK)</string> + <!-- Description for English (United States) keyboard subtype [CHAR LIMIT=25] --> + <string name="subtype_en_US">English (US)</string> + <!-- Description for English (United Kingdom) keyboard subtype with explicit keyboard layout [CHAR LIMIT=25] + This should be identical to subtype_en_GB aside from the trailing (%s). --> + <string name="subtype_with_layout_en_GB">English (UK) (<xliff:g id="layout">%s</xliff:g>)</string> + <!-- Description for English (United States) keyboard subtype with explicit keyboard layout [CHAR LIMIT=25] + This should be identical to subtype_en_US aside from the trailing (%s). --> + <string name="subtype_with_layout_en_US">English (US) (<xliff:g id="layout">%s</xliff:g>)</string> + <!-- TODO: Uncomment once we can handle IETF language tag with script name specified. + Description for Serbian Cyrillic keyboard subtype [CHAR LIMIT=25] + <string name="subtype_serbian_cyrillic">Serbian (Cyrillic)</string> + Description for Serbian Latin keyboard subtype [CHAR LIMIT=25] + <string name="subtype_serbian_latin">Serbian (Latin)</string> + Description for Serbian Latin keyboard subtype with explicit keyboard layout [CHAR LIMIT=25] + This should be identical to subtype_serbian_latin aside from the trailing (%s). + <string name="subtype_with_layout_sr-Latn">Serbian (Latin) (<xliff:g id="layout">%s</xliff:g>)</string> + --> + <!-- Description for language agnostic keyboard subtype [CHAR LIMIT=25] --> + <string name="subtype_no_language">No language</string> + <!-- Description for language agnostic QWERTY keyboard subtype [CHAR LIMIT=25] --> + <string name="subtype_no_language_qwerty">No language (QWERTY)</string> + <!-- Description for language agnostic QWERTZ keyboard subtype [CHAR LIMIT=25] --> + <string name="subtype_no_language_qwertz">No language (QWERTZ)</string> + <!-- Description for language agnostic AZERTY keyboard subtype [CHAR LIMIT=25] --> + <string name="subtype_no_language_azerty">No language (AZERTY)</string> + <!-- Description for language agnostic Dvorak keyboard subtype [CHAR LIMIT=25] --> + <string name="subtype_no_language_dvorak">No language (Dvorak)</string> + <!-- Description for language agnostic Colemak keyboard subtype [CHAR LIMIT=25] --> + <string name="subtype_no_language_colemak">No language (Colemak)</string> + <!-- Description for language agnostic PC QWERTY keyboard subtype [CHAR LIMIT=25] --> + <string name="subtype_no_language_pcqwerty">No language (PC)</string> + + <!-- Title of the preference settings for custom input styles (language and keyboard layout pairs) [CHAR LIMIT=35]--> + <string name="custom_input_styles_title">Custom input styles</string> + <!-- Title of the option menu to add a new style entry in the preference settings [CHAR LIMIT=16] --> + <string name="add_style">Add style</string> + <!-- Title of the button to add custom style entry in the settings dialog [CHAR LIMIT=15] --> + <string name="add">Add</string> + <!-- Title of the button to remove a custom style entry in the settings dialog [CHAR LIMIT=15] --> + <string name="remove">Remove</string> + <!-- Title of the button to save a custom style entry in the settings dialog [CHAR LIMIT=15] --> + <string name="save">Save</string> + <!-- Title of the spinner for choosing a language of custom style in the settings dialog [CHAR LIMIT=15] --> + <string name="subtype_locale">Language</string> + <!-- Title of the spinner for choosing a keyboard layout of custom style in the settings dialog [CHAR LIMIT=15] --> + <string name="keyboard_layout_set">Layout</string> + <!-- The message of the dialog to note that a custom input style needs to be enabled. [CHAR LIMIT=130] --> + <string name="custom_input_style_note_message">"Your custom input style needs to be enabled before you start using it. Do you want to enable it now?"</string> + <!-- Title of the button to enable a custom input style entry in the settings dialog [CHAR LIMIT=15] --> + <string name="enable">Enable</string> + <!-- Title of the button to postpone enabling a custom input style entry in the settings dialog [CHAR LIMIT=15] --> + <string name="not_now">Not now</string> + <!-- Toast text to describe the same input style already exists [CHAR LIMIT=64]--> + <string name="custom_input_style_already_exists">"The same input style already exists: <xliff:g id="input_style_name">%s</xliff:g>"</string> + + <!-- Title of an option for usability study mode --> + <string name="prefs_usability_study_mode">Usability study mode</string> + <!-- Title of the settings for keypress vibration duration --> + <string name="prefs_keypress_vibration_duration_settings">Keypress vibration duration settings</string> + <!-- Title of the settings for keypress sound volume --> + <string name="prefs_keypress_sound_volume_settings">Keypress sound volume settings</string> +</resources> diff --git a/java/res/xml-sw768dp-land/values/styles.xml b/java/res/xml-sw768dp-land/values/styles.xml new file mode 100644 index 000000000..4766a2295 --- /dev/null +++ b/java/res/xml-sw768dp-land/values/styles.xml @@ -0,0 +1,413 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<resources xmlns:android="http://schemas.android.com/apk/res/android"> + <!-- Theme "Basic" --> + <style name="Keyboard"> + <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] --> + <item name="themeId">0</item> + <item name="touchPositionCorrectionData">@array/touch_position_correction_data_default</item> + <item name="rowHeight">25%p</item> + <item name="keyboardHeight">@dimen/keyboardHeight</item> + <item name="maxKeyboardHeight">@fraction/maxKeyboardHeight</item> + <item name="minKeyboardHeight">@fraction/minKeyboardHeight</item> + <item name="moreKeysTemplate">@xml/kbd_more_keys_keyboard_template</item> + <item name="keyboardTopPadding">@fraction/keyboard_top_padding</item> + <item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding</item> + <item name="keyboardHorizontalEdgesPadding">@fraction/keyboard_horizontal_edges_padding</item> + <item name="horizontalGap">@fraction/key_horizontal_gap</item> + <item name="verticalGap">@fraction/key_bottom_gap</item> + <item name="maxMoreKeysColumn">@integer/config_max_more_keys_column</item> + </style> + <style name="KeyboardView"> + <item name="android:background">@drawable/keyboard_background</item> + <item name="keyBackground">@drawable/btn_keyboard_key</item> + <item name="keyLetterSize">@fraction/key_letter_ratio</item> + <item name="keyLargeLetterRatio">@fraction/key_large_letter_ratio</item> + <item name="keyLabelSize">@fraction/key_label_ratio</item> + <item name="keyLargeLabelRatio">@fraction/key_large_label_ratio</item> + <item name="keyHintLetterRatio">@fraction/key_hint_letter_ratio</item> + <item name="keyHintLabelRatio">@fraction/key_hint_label_ratio</item> + <item name="keyShiftedLetterHintRatio">@fraction/key_uppercase_letter_ratio</item> + <item name="keyTypeface">normal</item> + <item name="keyTextColor">#FFFFFFFF</item> + <item name="keyTextInactivatedColor">#FFFFFFFF</item> + <item name="keyHintLetterColor">#80000000</item> + <item name="keyHintLabelColor">#E0E0E4E5</item> + <item name="keyShiftedLetterHintInactivatedColor">#66E0E4E5</item> + <item name="keyShiftedLetterHintActivatedColor">#CCE0E4E5</item> + <item name="keyLabelHorizontalPadding">@dimen/key_label_horizontal_padding</item> + <item name="keyHintLetterPadding">@dimen/key_hint_letter_padding</item> + <item name="keyPopupHintLetterPadding">@dimen/key_popup_hint_letter_padding</item> + <item name="keyShiftedLetterHintPadding">@dimen/key_uppercase_letter_padding</item> + <item name="keyPreviewLayout">@layout/key_preview</item> + <item name="keyPreviewTextColor">#FFFFFFFF</item> + <item name="keyPreviewOffset">@dimen/key_preview_offset</item> + <item name="keyPreviewHeight">@dimen/key_preview_height</item> + <item name="keyPreviewTextRatio">@fraction/key_preview_text_ratio</item> + <item name="keyPreviewLingerTimeout">@integer/config_key_preview_linger_timeout</item> + <item name="moreKeysLayout">@layout/more_keys_keyboard</item> + <item name="verticalCorrection">@dimen/keyboard_vertical_correction</item> + <item name="keyTextShadowColor">#BB000000</item> + <item name="keyTextShadowRadius">2.75</item> + <item name="backgroundDimAlpha">128</item> + <!-- android:color/holo_blue_light=#FF33B5E5 --> + <item name="gestureFloatingPreviewTextSize">@dimen/gesture_floating_preview_text_size</item> + <item name="gestureFloatingPreviewTextColor">@android:color/holo_blue_light</item> + <item name="gestureFloatingPreviewTextOffset">@dimen/gesture_floating_preview_text_offset</item> + <item name="gestureFloatingPreviewColor">#C0000000</item> + <item name="gestureFloatingPreviewHorizontalPadding">@dimen/gesture_floating_preview_horizontal_padding</item> + <item name="gestureFloatingPreviewVerticalPadding">@dimen/gesture_floating_preview_vertical_padding</item> + <item name="gestureFloatingPreviewRoundRadius">@dimen/gesture_floating_preview_round_radius</item> + <item name="gestureFloatingPreviewTextLingerTimeout">@integer/config_gesture_floating_preview_text_linger_timeout</item> + <item name="gesturePreviewTrailFadeoutStartDelay">@integer/config_gesture_preview_trail_fadeout_start_delay</item> + <item name="gesturePreviewTrailFadeoutDuration">@integer/config_gesture_preview_trail_fadeout_duration</item> + <item name="gesturePreviewTrailUpdateInterval">@integer/config_gesture_preview_trail_update_interval</item> + <item name="gesturePreviewTrailColor">@android:color/holo_blue_light</item> + <item name="gesturePreviewTrailStartWidth">@dimen/gesture_preview_trail_start_width</item> + <item name="gesturePreviewTrailEndWidth">@dimen/gesture_preview_trail_end_width</item> + <!-- Common attributes of MainKeyboardView --> + <item name="keyHysteresisDistance">@dimen/config_key_hysteresis_distance</item> + <item name="keyHysteresisDistanceForSlidingModifier">@dimen/config_key_hysteresis_distance_for_sliding_modifier</item> + <item name="touchNoiseThresholdTime">@integer/config_touch_noise_threshold_time</item> + <item name="touchNoiseThresholdDistance">@dimen/config_touch_noise_threshold_distance</item> + <item name="slidingKeyInputEnable">@bool/config_sliding_key_input_enabled</item> + <item name="keyRepeatStartTimeout">@integer/config_key_repeat_start_timeout</item> + <item name="keyRepeatInterval">@integer/config_key_repeat_interval</item> + <item name="longPressKeyTimeout">@integer/config_long_press_key_timeout</item> + <item name="longPressShiftKeyTimeout">@integer/config_long_press_shift_key_timeout</item> + <item name="ignoreAltCodeKeyTimeout">@integer/config_ignore_alt_code_key_timeout</item> + <item name="showMoreKeysKeyboardAtTouchedPoint">@bool/config_show_more_keys_keyboard_at_touched_point</item> + <item name="languageOnSpacebarFinalAlpha">@integer/config_language_on_spacebar_final_alpha</item> + <item name="languageOnSpacebarFadeoutAnimator">@anim/language_on_spacebar_fadeout</item> + <item name="altCodeKeyWhileTypingFadeoutAnimator">@anim/alt_code_key_while_typing_fadeout</item> + <item name="altCodeKeyWhileTypingFadeinAnimator">@anim/alt_code_key_while_typing_fadein</item> + <!-- Common attributes of MainKeyboardView for gesture typing detection and recognition --> + <item name="gestureStaticTimeThresholdAfterFastTyping">@integer/config_gesture_static_time_threshold_after_fast_typing</item> + <item name="gestureDetectFastMoveSpeedThreshold">@fraction/config_gesture_detect_fast_move_speed_threshold</item> + <item name="gestureDynamicThresholdDecayDuration">@integer/config_gesture_dynamic_threshold_decay_duration</item> + <item name="gestureDynamicTimeThresholdFrom">@integer/config_gesture_dynamic_time_threshold_from</item> + <item name="gestureDynamicTimeThresholdTo">@integer/config_gesture_dynamic_time_threshold_to</item> + <item name="gestureDynamicDistanceThresholdFrom">@fraction/config_gesture_dynamic_distance_threshold_from</item> + <item name="gestureDynamicDistanceThresholdTo">@fraction/config_gesture_dynamic_distance_threshold_to</item> + <item name="gestureSamplingMinimumDistance">@fraction/config_gesture_sampling_minimum_distance</item> + <item name="gestureRecognitionMinimumTime">@integer/config_gesture_recognition_minimum_time</item> + <item name="gestureRecognitionSpeedThreshold">@fraction/config_gesture_recognition_speed_threshold</item> + <item name="suppressKeyPreviewAfterBatchInputDuration">@integer/config_suppress_key_preview_after_batch_input_duration</item> + </style> + <style + name="MainKeyboardView" + parent="KeyboardView"> + <item name="autoCorrectionSpacebarLedEnabled">true</item> + <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item> + <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item> + <item name="spacebarTextColor">#FFC0C0C0</item> + <item name="spacebarTextShadowColor">#80000000</item> + </style> + <style + name="MoreKeysKeyboard" + parent="Keyboard" + > + <item name="keyboardTopPadding">0dp</item> + <item name="keyboardBottomPadding">0dp</item> + <item name="horizontalGap">0dp</item> + <item name="touchPositionCorrectionData">@null</item> + </style> + <style + name="MoreKeysKeyboardView" + parent="KeyboardView" + > + <item name="keyBackground">@drawable/btn_keyboard_key_popup</item> + <item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction</item> + </style> + <style name="MoreKeysKeyboardPanelStyle"> + <item name="android:background">@drawable/keyboard_popup_panel_background</item> + </style> + <style name="SuggestionsStripBackgroundStyle"> + <item name="android:background">@drawable/keyboard_suggest_strip</item> + </style> + <style + name="SuggestionStripViewStyle" + parent="SuggestionsStripBackgroundStyle" + > + <item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item> + <item name="colorValidTypedWord">#FFFCAE00</item> + <item name="colorTypedWord">@android:color/white</item> + <item name="colorAutoCorrect">#FFFCAE00</item> + <item name="colorSuggested">#FFFCAE00</item> + <item name="alphaObsoleted">50%</item> + <item name="suggestionsCountInStrip">@integer/suggestions_count_in_strip</item> + <item name="centerSuggestionPercentile">@fraction/center_suggestion_percentile</item> + <item name="maxMoreSuggestionsRow">@integer/max_more_suggestions_row</item> + <item name="minMoreSuggestionsWidth">@fraction/min_more_suggestions_width</item> + </style> + <style + name="MoreSuggestionsViewStyle" + parent="MoreKeysKeyboardView" + > + </style> + <style name="SuggestionBackgroundStyle"> + <item name="android:background">@drawable/btn_suggestion</item> + </style> + <style name="SuggestionPreviewBackgroundStyle"> + <item name="android:background">@drawable/suggestion_feedback_background</item> + </style> + <!-- Theme "Basic high contrast" --> + <style + name="Keyboard.HighContrast" + parent="Keyboard" + > + <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] --> + <item name="themeId">1</item> + </style> + <style + name="KeyboardView.HighContrast" + parent="KeyboardView" + > + <item name="android:background">@android:color/black</item> + <item name="keyBackground">@drawable/btn_keyboard_key3</item> + </style> + <style + name="MainKeyboardView.HighContrast" + parent="KeyboardView.HighContrast" + > + <item name="autoCorrectionSpacebarLedEnabled">true</item> + <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item> + <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item> + <item name="spacebarTextColor">#FFC0C0C0</item> + <item name="spacebarTextShadowColor">#80000000</item> + </style> + <!-- Theme "Stone" --> + <style + name="Keyboard.Stone" + parent="Keyboard" + > + <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] --> + <item name="themeId">6</item> + <item name="keyboardTopPadding">@fraction/keyboard_top_padding_stone</item> + <item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding_stone</item> + <item name="horizontalGap">@fraction/key_horizontal_gap_stone</item> + <item name="verticalGap">@fraction/key_bottom_gap_stone</item> + </style> + <style + name="KeyboardView.Stone" + parent="KeyboardView" + > + <item name="keyBackground">@drawable/btn_keyboard_key_stone</item> + <item name="keyTextColor">#FF000000</item> + <item name="keyTextInactivatedColor">#FF808080</item> + <item name="keyHintLetterColor">#80000000</item> + <item name="keyHintLabelColor">#E0000000</item> + <item name="keyShiftedLetterHintInactivatedColor">#66000000</item> + <item name="keyShiftedLetterHintActivatedColor">#CC000000</item> + <item name="keyTextShadowColor">#FFFFFFFF</item> + </style> + <style + name="MainKeyboardView.Stone" + parent="KeyboardView.Stone" + > + <item name="autoCorrectionSpacebarLedEnabled">true</item> + <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item> + <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item> + <item name="spacebarTextColor">#FF000000</item> + <item name="spacebarTextShadowColor">#D0FFFFFF</item> + </style> + <style + name="MoreKeysKeyboard.Stone" + parent="Keyboard.Stone" + > + <item name="keyboardTopPadding">0dp</item> + <item name="keyboardBottomPadding">0dp</item> + <item name="horizontalGap">0dp</item> + <item name="touchPositionCorrectionData">@null</item> + </style> + <style + name="MoreKeysKeyboardView.Stone" + parent="MoreKeysKeyboardView" + > + <item name="keyBackground">@drawable/btn_keyboard_key_stone</item> + <item name="keyTextColor">#FF000000</item> + <item name="keyTextShadowColor">#FFFFFFFF</item> + </style> + <!-- Theme "Stone bold" --> + <style + name="Keyboard.Stone.Bold" + parent="Keyboard.Stone" + > + <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] --> + <item name="themeId">7</item> + </style> + <style + name="KeyboardView.Stone.Bold" + parent="KeyboardView.Stone" + > + <item name="keyTypeface">bold</item> + </style> + <style + name="MainKeyboardView.Stone.Bold" + parent="KeyboardView.Stone.Bold" + > + <item name="autoCorrectionSpacebarLedEnabled">true</item> + <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item> + <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item> + <item name="spacebarTextColor">#FF000000</item> + <item name="spacebarTextShadowColor">#D0FFFFFF</item> + </style> + <!-- Theme "Gingerbread" --> + <style + name="Keyboard.Gingerbread" + parent="Keyboard" + > + <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] --> + <item name="themeId">8</item> + <item name="touchPositionCorrectionData">@array/touch_position_correction_data_gingerbread</item> + <item name="horizontalGap">@fraction/key_horizontal_gap_gb</item> + <item name="verticalGap">@fraction/key_bottom_gap_gb</item> + </style> + <style + name="KeyboardView.Gingerbread" + parent="KeyboardView" + > + <item name="android:background">@drawable/keyboard_dark_background</item> + <item name="keyBackground">@drawable/btn_keyboard_key_gingerbread</item> + <item name="keyTypeface">bold</item> + </style> + <style + name="MainKeyboardView.Gingerbread" + parent="KeyboardView.Gingerbread" + > + <item name="autoCorrectionSpacebarLedEnabled">true</item> + <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item> + <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item> + <item name="spacebarTextColor">#FFC0C0C0</item> + <item name="spacebarTextShadowColor">#80000000</item> + </style> + <style + name="MoreKeysKeyboard.Gingerbread" + parent="Keyboard.Gingerbread" + > + <item name="keyboardTopPadding">0dp</item> + <item name="keyboardBottomPadding">0dp</item> + <item name="horizontalGap">0dp</item> + <item name="touchPositionCorrectionData">@null</item> + </style> + <style + name="MoreKeysKeyboardView.Gingerbread" + parent="MoreKeysKeyboardView" + > + <item name="android:background">@null</item> + </style> + <!-- Theme "IceCreamSandwich" --> + <style + name="Keyboard.IceCreamSandwich" + parent="Keyboard" + > + <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] --> + <item name="themeId">5</item> + <item name="keyboardTopPadding">@fraction/keyboard_top_padding_ics</item> + <item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding_ics</item> + <item name="horizontalGap">@fraction/key_horizontal_gap_ics</item> + <item name="verticalGap">@fraction/key_bottom_gap_ics</item> + <item name="touchPositionCorrectionData">@array/touch_position_correction_data_ice_cream_sandwich</item> + </style> + <style + name="KeyboardView.IceCreamSandwich" + parent="KeyboardView" + > + <item name="android:background">@drawable/keyboard_background_holo</item> + <item name="keyBackground">@drawable/btn_keyboard_key_ics</item> + <item name="keyTypeface">bold</item> + <item name="keyTextInactivatedColor">#66E0E4E5</item> + <item name="keyHintLetterColor">#80000000</item> + <item name="keyHintLabelColor">#A0FFFFFF</item> + <item name="keyShiftedLetterHintInactivatedColor">#66E0E4E5</item> + <item name="keyShiftedLetterHintActivatedColor">#FFFFFFFF</item> + <item name="keyPreviewLayout">@layout/key_preview_ics</item> + <item name="keyPreviewTextColor">#FFFFFFFF</item> + <item name="keyPreviewOffset">@dimen/key_preview_offset_ics</item> + <item name="keyTextShadowColor">#00000000</item> + <item name="keyTextShadowRadius">0.0</item> + </style> + <style + name="MainKeyboardView.IceCreamSandwich" + parent="KeyboardView.IceCreamSandwich" + > + <item name="autoCorrectionSpacebarLedEnabled">false</item> + <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_holo</item> + <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item> + <item name="spacebarTextColor">#FFC0C0C0</item> + <item name="spacebarTextShadowColor">#80000000</item> + </style> + <style + name="MoreKeysKeyboard.IceCreamSandwich" + parent="Keyboard.IceCreamSandwich" + > + <item name="keyboardTopPadding">0dp</item> + <item name="keyboardBottomPadding">0dp</item> + <item name="horizontalGap">0dp</item> + <item name="touchPositionCorrectionData">@null</item> + </style> + <style + name="MoreKeysKeyboardView.IceCreamSandwich" + parent="MoreKeysKeyboardView" + > + <item name="android:background">@null</item> + <item name="keyBackground">@drawable/btn_keyboard_key_popup_ics</item> + <item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction_ics</item> + </style> + <style name="MoreKeysKeyboardPanelStyle.IceCreamSandwich"> + <item name="android:background">@drawable/keyboard_popup_panel_background_holo</item> + </style> + <style name="SuggestionsStripBackgroundStyle.IceCreamSandwich"> + <item name="android:background">@drawable/keyboard_suggest_strip_holo</item> + </style> + <style + name="SuggestionStripViewStyle.IceCreamSandwich" + parent="SuggestionsStripBackgroundStyle.IceCreamSandwich" + > + <item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item> + <!-- android:color/holo_blue_light=#FF33B5E5 --> + <item name="colorValidTypedWord">@android:color/holo_blue_light</item> + <item name="colorTypedWord">@android:color/holo_blue_light</item> + <item name="colorAutoCorrect">@android:color/holo_blue_light</item> + <item name="colorSuggested">@android:color/holo_blue_light</item> + <item name="alphaValidTypedWord">85%</item> + <item name="alphaTypedWord">85%</item> + <item name="alphaSuggested">70%</item> + <item name="alphaObsoleted">70%</item> + <item name="suggestionsCountInStrip">@integer/suggestions_count_in_strip</item> + <item name="centerSuggestionPercentile">@fraction/center_suggestion_percentile</item> + <item name="maxMoreSuggestionsRow">@integer/max_more_suggestions_row</item> + <item name="minMoreSuggestionsWidth">@fraction/min_more_suggestions_width</item> + </style> + <style + name="MoreSuggestionsViewStyle.IceCreamSandwich" + parent="MoreKeysKeyboardView.IceCreamSandwich" + > + </style> + <style name="SuggestionBackgroundStyle.IceCreamSandwich"> + <item name="android:background">@drawable/btn_suggestion_ics</item> + </style> + <style + name="SuggestionPreviewBackgroundStyle.IceCreamSandwich" + parent="MoreKeysKeyboardPanelStyle.IceCreamSandwich" + > + </style> + <style name="MoreKeysKeyboardAnimation"> + <item name="android:windowEnterAnimation">@anim/more_keys_keyboard_fadein</item> + <item name="android:windowExitAnimation">@anim/more_keys_keyboard_fadeout</item> + </style> +</resources> diff --git a/java/res/xml-sw768dp-land/values/sudden-jumping-touch-event-device-list.xml b/java/res/xml-sw768dp-land/values/sudden-jumping-touch-event-device-list.xml new file mode 100644 index 000000000..543992a81 --- /dev/null +++ b/java/res/xml-sw768dp-land/values/sudden-jumping-touch-event-device-list.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2011, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> +<resources> + <string-array name="sudden_jumping_touch_event_device_list" translatable="false"> + <!-- "Build.HARDWARE,true" that needs "sudden jump touch event" hack. + See {@link com.android.inputmethod.keyboard.SuddenJumpingTouchEventHandler}. --> + <item>mahimahi,true</item> <!-- Nexus One --> + <item>sholes,true</item> <!-- Droid --> + </string-array> +</resources> diff --git a/java/res/xml-sw768dp-land/values/themes-basic-highcontrast.xml b/java/res/xml-sw768dp-land/values/themes-basic-highcontrast.xml new file mode 100644 index 000000000..b3ea05045 --- /dev/null +++ b/java/res/xml-sw768dp-land/values/themes-basic-highcontrast.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<resources> + <style name="KeyboardTheme.HighContrast" parent="KeyboardIcons"> + <item name="keyboardStyle">@style/Keyboard.HighContrast</item> + <item name="keyboardViewStyle">@style/KeyboardView.HighContrast</item> + <item name="mainKeyboardViewStyle">@style/MainKeyboardView.HighContrast</item> + <item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard</item> + <item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView</item> + <item name="moreKeysKeyboardPanelStyle">@style/MoreKeysKeyboardPanelStyle</item> + <item name="suggestionsStripBackgroundStyle">@style/SuggestionsStripBackgroundStyle</item> + <item name="suggestionStripViewStyle">@style/SuggestionStripViewStyle</item> + <item name="moreSuggestionsViewStyle">@style/MoreSuggestionsViewStyle</item> + <item name="suggestionBackgroundStyle">@style/SuggestionBackgroundStyle</item> + <item name="suggestionPreviewBackgroundStyle">@style/SuggestionPreviewBackgroundStyle</item> + </style> +</resources> diff --git a/java/res/xml-sw768dp-land/values/themes-basic.xml b/java/res/xml-sw768dp-land/values/themes-basic.xml new file mode 100644 index 000000000..ff6a70a08 --- /dev/null +++ b/java/res/xml-sw768dp-land/values/themes-basic.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<resources> + <style name="KeyboardTheme" parent="KeyboardIcons"> + <item name="keyboardStyle">@style/Keyboard</item> + <item name="keyboardViewStyle">@style/KeyboardView</item> + <item name="mainKeyboardViewStyle">@style/MainKeyboardView</item> + <item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard</item> + <item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView</item> + <item name="moreKeysKeyboardPanelStyle">@style/MoreKeysKeyboardPanelStyle</item> + <item name="suggestionsStripBackgroundStyle">@style/SuggestionsStripBackgroundStyle</item> + <item name="suggestionStripViewStyle">@style/SuggestionStripViewStyle</item> + <item name="moreSuggestionsViewStyle">@style/MoreSuggestionsViewStyle</item> + <item name="suggestionBackgroundStyle">@style/SuggestionBackgroundStyle</item> + <item name="suggestionPreviewBackgroundStyle">@style/SuggestionPreviewBackgroundStyle</item> + </style> +</resources> diff --git a/java/res/xml-sw768dp-land/values/themes-gingerbread.xml b/java/res/xml-sw768dp-land/values/themes-gingerbread.xml new file mode 100644 index 000000000..0ce0b8a9b --- /dev/null +++ b/java/res/xml-sw768dp-land/values/themes-gingerbread.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<resources> + <style name="KeyboardTheme.Gingerbread" parent="KeyboardIcons"> + <item name="keyboardStyle">@style/Keyboard.Gingerbread</item> + <item name="keyboardViewStyle">@style/KeyboardView.Gingerbread</item> + <item name="mainKeyboardViewStyle">@style/MainKeyboardView.Gingerbread</item> + <item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.Gingerbread</item> + <item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.Gingerbread</item> + <item name="moreKeysKeyboardPanelStyle">@style/MoreKeysKeyboardPanelStyle</item> + <item name="suggestionsStripBackgroundStyle">@style/SuggestionsStripBackgroundStyle</item> + <item name="suggestionStripViewStyle">@style/SuggestionStripViewStyle</item> + <item name="moreSuggestionsViewStyle">@style/MoreSuggestionsViewStyle</item> + <item name="suggestionBackgroundStyle">@style/SuggestionBackgroundStyle</item> + <item name="suggestionPreviewBackgroundStyle">@style/SuggestionPreviewBackgroundStyle</item> + </style> +</resources> diff --git a/java/res/xml-sw768dp-land/values/themes-ics.xml b/java/res/xml-sw768dp-land/values/themes-ics.xml new file mode 100644 index 000000000..8df58c594 --- /dev/null +++ b/java/res/xml-sw768dp-land/values/themes-ics.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<resources> + <style name="KeyboardTheme.IceCreamSandwich" parent="KeyboardIcons.IceCreamSandwich"> + <item name="keyboardStyle">@style/Keyboard.IceCreamSandwich</item> + <item name="keyboardViewStyle">@style/KeyboardView.IceCreamSandwich</item> + <item name="mainKeyboardViewStyle">@style/MainKeyboardView.IceCreamSandwich</item> + <item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.IceCreamSandwich</item> + <item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.IceCreamSandwich</item> + <item name="moreKeysKeyboardPanelStyle">@style/MoreKeysKeyboardPanelStyle.IceCreamSandwich</item> + <item name="suggestionsStripBackgroundStyle">@style/SuggestionsStripBackgroundStyle.IceCreamSandwich</item> + <item name="suggestionStripViewStyle">@style/SuggestionStripViewStyle.IceCreamSandwich</item> + <item name="moreSuggestionsViewStyle">@style/MoreSuggestionsViewStyle.IceCreamSandwich</item> + <item name="suggestionBackgroundStyle">@style/SuggestionBackgroundStyle.IceCreamSandwich</item> + <item name="suggestionPreviewBackgroundStyle">@style/SuggestionPreviewBackgroundStyle.IceCreamSandwich</item> + </style> +</resources> diff --git a/java/res/xml-sw768dp-land/values/themes-stone-bold.xml b/java/res/xml-sw768dp-land/values/themes-stone-bold.xml new file mode 100644 index 000000000..355a97f7b --- /dev/null +++ b/java/res/xml-sw768dp-land/values/themes-stone-bold.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<resources> + <style name="KeyboardTheme.Stone.Bold" parent="KeyboardIcons.Black"> + <item name="keyboardStyle">@style/Keyboard.Stone.Bold</item> + <item name="keyboardViewStyle">@style/KeyboardView.Stone.Bold</item> + <item name="mainKeyboardViewStyle">@style/MainKeyboardView.Stone.Bold</item> + <item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.Stone</item> + <item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.Stone</item> + <item name="moreKeysKeyboardPanelStyle">@style/MoreKeysKeyboardPanelStyle</item> + <item name="suggestionsStripBackgroundStyle">@style/SuggestionsStripBackgroundStyle</item> + <item name="suggestionStripViewStyle">@style/SuggestionStripViewStyle</item> + <item name="moreSuggestionsViewStyle">@style/MoreSuggestionsViewStyle</item> + <item name="suggestionBackgroundStyle">@style/SuggestionBackgroundStyle</item> + <item name="suggestionPreviewBackgroundStyle">@style/SuggestionPreviewBackgroundStyle</item> + </style> +</resources> diff --git a/java/res/xml-sw768dp-land/values/themes-stone.xml b/java/res/xml-sw768dp-land/values/themes-stone.xml new file mode 100644 index 000000000..23437f780 --- /dev/null +++ b/java/res/xml-sw768dp-land/values/themes-stone.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<resources> + <style name="KeyboardTheme.Stone" parent="KeyboardIcons.Black"> + <item name="keyboardStyle">@style/Keyboard.Stone</item> + <item name="keyboardViewStyle">@style/KeyboardView.Stone</item> + <item name="mainKeyboardViewStyle">@style/MainKeyboardView.Stone</item> + <item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.Stone</item> + <item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.Stone</item> + <item name="moreKeysKeyboardPanelStyle">@style/MoreKeysKeyboardPanelStyle</item> + <item name="suggestionsStripBackgroundStyle">@style/SuggestionsStripBackgroundStyle</item> + <item name="suggestionStripViewStyle">@style/SuggestionStripViewStyle</item> + <item name="moreSuggestionsViewStyle">@style/MoreSuggestionsViewStyle</item> + <item name="suggestionBackgroundStyle">@style/SuggestionBackgroundStyle</item> + <item name="suggestionPreviewBackgroundStyle">@style/SuggestionPreviewBackgroundStyle</item> + </style> +</resources> diff --git a/java/res/xml-sw768dp-land/values/touch-position-correction.xml b/java/res/xml-sw768dp-land/values/touch-position-correction.xml new file mode 100644 index 000000000..7df86f467 --- /dev/null +++ b/java/res/xml-sw768dp-land/values/touch-position-correction.xml @@ -0,0 +1,78 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2011, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Note that correctionX is obsolete (See com.android.inputmethod.keyboard.internal.TouchPositionCorrection) + An entry of the touch_position_correction word should be: + 1. correctionX: (touch_center_x - hitbox_center_x) / hitbox_width + 2. correctionY: (touch_center_y - hitbox_center_y) / hitbox_height + 3. correctionR: sweet_spot_radius / sqrt(hitbox_width^2 + hitbox_height^2) + --> + + <string-array + name="touch_position_correction_data_default" + translatable="false" + > + <!-- The default touch position data (See com.android.inputmethod.keyboard.ProximityInfo) + correctionX = 0.0f + correctionY = 0.0f + correctionR = DEFAULT_TOUCH_POSITION_CORRECTION_RADIUS + --> + </string-array> + + <string-array + name="touch_position_correction_data_gingerbread" + translatable="false" + > + <!-- First row --> + <item>0.0091285</item> + <item>0.1193203</item> + <item>0.1622607</item> + + <!-- Second row --> + <item>-0.0233128</item> + <item>0.1379798</item> + <item>0.1585229</item> + + <!-- Third row --> + <item>-0.0080185</item> + <item>0.1911477</item> + <item>0.1570948</item> + </string-array> + + <string-array + name="touch_position_correction_data_ice_cream_sandwich" + translatable="false" + > + <!-- First row --> + <item>0.0038756</item> + <item>-0.0005677</item> + <item>0.1577026</item> + + <!-- Second row --> + <item>-0.0236678</item> + <item>0.0381731</item> + <item>0.1529972</item> + + <!-- Third row --> + <item>-0.0086827</item> + <item>0.0880847</item> + <item>0.1522819</item> + </string-array> +</resources> diff --git a/java/res/xml-sw768dp-land/values/urls.xml b/java/res/xml-sw768dp-land/values/urls.xml new file mode 100644 index 000000000..a8e9ad7d3 --- /dev/null +++ b/java/res/xml-sw768dp-land/values/urls.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2012, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> +<resources> + <string name="research_logger_upload_url" translatable="false"></string> +</resources> |