OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:keyAttr
(Results
1 - 10
of
10
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyVisualAttributes.java
78
public static KeyVisualAttributes newInstance(final TypedArray
keyAttr
) {
79
final int indexCount =
keyAttr
.getIndexCount();
81
final int attrId =
keyAttr
.getIndex(i);
85
return new KeyVisualAttributes(
keyAttr
);
90
private KeyVisualAttributes(final TypedArray
keyAttr
) {
91
if (
keyAttr
.hasValue(R.styleable.Keyboard_Key_keyTypeface)) {
93
keyAttr
.getInt(R.styleable.Keyboard_Key_keyTypeface, Typeface.NORMAL));
98
mLetterRatio = ResourceUtils.getFraction(
keyAttr
,
100
mLetterSize = ResourceUtils.getDimensionPixelSize(
keyAttr
,
102
mLabelRatio = ResourceUtils.getFraction(
keyAttr
,
[
all
...]
KeyboardRow.java
60
* @param
keyAttr
an attributes array of Row tag.
64
public RowAttributes(final TypedArray
keyAttr
, final float defaultKeyWidth,
66
mDefaultKeyWidth =
keyAttr
.getFraction(R.styleable.Keyboard_Key_keyWidth,
68
mDefaultKeyLabelFlags =
keyAttr
.getInt(R.styleable.Keyboard_Key_keyLabelFlags, 0);
69
mDefaultBackgroundType =
keyAttr
.getInt(R.styleable.Keyboard_Key_backgroundType,
77
* @param
keyAttr
an attributes array of include tag.
81
public RowAttributes(final TypedArray
keyAttr
, final RowAttributes defaultRowAttr,
83
mDefaultKeyWidth =
keyAttr
.getFraction(R.styleable.Keyboard_Key_keyWidth,
85
mDefaultKeyLabelFlags =
keyAttr
.getInt(R.styleable.Keyboard_Key_keyLabelFlags, 0)
87
mDefaultBackgroundType =
keyAttr
.getInt(R.styleable.Keyboard_Key_backgroundType
[
all
...]
KeyStylesSet.java
134
public void readKeyAttributes(final TypedArray
keyAttr
) {
136
readString(
keyAttr
, R.styleable.Keyboard_Key_code);
137
readString(
keyAttr
, R.styleable.Keyboard_Key_altCode);
138
readString(
keyAttr
, R.styleable.Keyboard_Key_keyLabel);
139
readString(
keyAttr
, R.styleable.Keyboard_Key_keyOutputText);
140
readString(
keyAttr
, R.styleable.Keyboard_Key_keyHintLabel);
141
readStringArray(
keyAttr
, R.styleable.Keyboard_Key_moreKeys);
142
readStringArray(
keyAttr
, R.styleable.Keyboard_Key_additionalMoreKeys);
143
readFlags(
keyAttr
, R.styleable.Keyboard_Key_keyLabelFlags);
144
readString(
keyAttr
, R.styleable.Keyboard_Key_keyIcon)
[
all
...]
KeyboardBuilder.java
236
final TypedArray
keyAttr
= mResources.obtainAttributes(attr, R.styleable.Keyboard_Key);
255
params.mDefaultKeyWidth = (int)
keyAttr
.getFraction(R.styleable.Keyboard_Key_keyWidth,
270
params.mKeyVisualAttributes = KeyVisualAttributes.newInstance(
keyAttr
);
274
params.mMaxMoreKeysKeyboardColumn =
keyAttr
.getInt(
301
keyAttr
.recycle();
522
final TypedArray
keyAttr
= mResources.obtainAttributes(attr, R.styleable.Keyboard_Key);
532
row.setXPos(row.getKeyX(
keyAttr
));
534
row.pushRowAttributes(
keyAttr
);
538
keyAttr
.recycle();
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
Key.java
242
final TypedArray
keyAttr
= res.obtainAttributes(Xml.asAttributeSet(parser),
245
final KeyStyle style = params.mKeyStyles.getKeyStyle(
keyAttr
, parser);
246
final float keyXPos = row.getKeyX(
keyAttr
);
247
final float keyWidth = row.getKeyWidth(
keyAttr
, keyXPos);
259
mBackgroundType = style.getInt(
keyAttr
,
263
final int visualInsetsLeft = Math.round(
keyAttr
.getFraction(
265
final int visualInsetsRight = Math.round(
keyAttr
.getFraction(
267
mIconId = KeySpecParser.getIconId(style.getString(
keyAttr
,
269
final int disabledIconId = KeySpecParser.getIconId(style.getString(
keyAttr
,
271
final int previewIconId = KeySpecParser.getIconId(style.getString(
keyAttr
,
[
all
...]
KeyboardView.java
144
final TypedArray
keyAttr
= context.obtainStyledAttributes(attrs,
146
mKeyVisualAttributes = KeyVisualAttributes.newInstance(
keyAttr
);
147
keyAttr
.recycle();
/prebuilts/devtools/tools/lib/
manifest-merger.jar
bcprov-jdk15on-1.48.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/22.2.0/
manifest-merger-22.2.0.jar
/prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/
bcprov-jdk15on-1.48.jar
Completed in 715 milliseconds