OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:keyAttr
(Results
1 - 3
of
3
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
Key.java
216
final TypedArray
keyAttr
= res.obtainAttributes(Xml.asAttributeSet(parser),
220
if (
keyAttr
.hasValue(R.styleable.Keyboard_Key_keyStyle)) {
221
String styleName =
keyAttr
.getString(R.styleable.Keyboard_Key_keyStyle);
229
final float keyXPos = row.getKeyX(
keyAttr
);
230
final float keyWidth = row.getKeyWidth(
keyAttr
, keyXPos);
242
final CharSequence[] moreKeys = style.getTextArray(
keyAttr
,
252
mMaxMoreKeysColumn = style.getInt(
keyAttr
,
255
mBackgroundType = style.getInt(
keyAttr
,
257
mRepeatable = style.getBoolean(
keyAttr
, R.styleable.Keyboard_Key_isRepeatable, false);
258
mEnabled = style.getBoolean(
keyAttr
, R.styleable.Keyboard_Key_enabled, true)
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyStyles.java
164
private void parseKeyStyleAttributes(TypedArray
keyAttr
) {
166
readInt(
keyAttr
, R.styleable.Keyboard_Key_code);
167
readText(
keyAttr
, R.styleable.Keyboard_Key_keyLabel);
168
readText(
keyAttr
, R.styleable.Keyboard_Key_keyOutputText);
169
readText(
keyAttr
, R.styleable.Keyboard_Key_keyHintLabel);
170
readTextArray(
keyAttr
, R.styleable.Keyboard_Key_moreKeys);
171
readFlag(
keyAttr
, R.styleable.Keyboard_Key_keyLabelOption);
172
readInt(
keyAttr
, R.styleable.Keyboard_Key_keyIcon);
173
readInt(
keyAttr
, R.styleable.Keyboard_Key_keyIconPreview);
174
readInt(
keyAttr
, R.styleable.Keyboard_Key_keyIconShifted)
[
all
...]
KeyboardBuilder.java
169
TypedArray
keyAttr
= res.obtainAttributes(Xml.asAttributeSet(parser),
173
keyAttr
.recycle();
191
public float getKeyX(TypedArray
keyAttr
) {
192
final int widthType = KeyboardBuilder.getEnumValue(
keyAttr
,
201
if (
keyAttr
.hasValue(R.styleable.Keyboard_Key_keyXPos)) {
202
final float keyXPos = KeyboardBuilder.getDimensionOrFraction(
keyAttr
,
218
public float getKeyWidth(TypedArray
keyAttr
, float keyXPos) {
219
final int widthType = KeyboardBuilder.getEnumValue(
keyAttr
,
233
return KeyboardBuilder.getDimensionOrFraction(
keyAttr
,
336
final TypedArray
keyAttr
= mResources.obtainAttributes(Xml.asAttributeSet(parser)
[
all
...]
Completed in 220 milliseconds