OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:keyAttr
(Results
1 - 2
of
2
) 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/
KeyboardBuilder.java
170
TypedArray
keyAttr
= res.obtainAttributes(Xml.asAttributeSet(parser),
172
mDefaultKeyWidth = KeyboardBuilder.getDimensionOrFraction(
keyAttr
,
174
keyAttr
.recycle();
192
public float getKeyX(TypedArray
keyAttr
) {
193
final int widthType = KeyboardBuilder.getEnumValue(
keyAttr
,
202
if (
keyAttr
.hasValue(R.styleable.Keyboard_Key_keyXPos)) {
203
final float keyXPos = KeyboardBuilder.getDimensionOrFraction(
keyAttr
,
219
public float getKeyWidth(TypedArray
keyAttr
, float keyXPos) {
220
final int widthType = KeyboardBuilder.getEnumValue(
keyAttr
,
234
return KeyboardBuilder.getDimensionOrFraction(
keyAttr
,
[
all
...]
Completed in 49 milliseconds