OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:keyAttr
(Results
1 - 25
of
85
) sorted by null
1
2
3
4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyVisualAttributes.java
89
public static KeyVisualAttributes newInstance(@Nonnull final TypedArray
keyAttr
) {
90
final int indexCount =
keyAttr
.getIndexCount();
92
final int attrId =
keyAttr
.getIndex(i);
96
return new KeyVisualAttributes(
keyAttr
);
101
private KeyVisualAttributes(@Nonnull final TypedArray
keyAttr
) {
102
if (
keyAttr
.hasValue(R.styleable.Keyboard_Key_keyTypeface)) {
104
keyAttr
.getInt(R.styleable.Keyboard_Key_keyTypeface, Typeface.NORMAL));
109
mLetterRatio = ResourceUtils.getFraction(
keyAttr
,
111
mLetterSize = ResourceUtils.getDimensionPixelSize(
keyAttr
,
113
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
147
public void readKeyAttributes(final TypedArray
keyAttr
) {
149
readString(
keyAttr
, R.styleable.Keyboard_Key_altCode);
150
readString(
keyAttr
, R.styleable.Keyboard_Key_keySpec);
151
readString(
keyAttr
, R.styleable.Keyboard_Key_keyHintLabel);
152
readStringArray(
keyAttr
, R.styleable.Keyboard_Key_moreKeys);
153
readStringArray(
keyAttr
, R.styleable.Keyboard_Key_additionalMoreKeys);
154
readFlags(
keyAttr
, R.styleable.Keyboard_Key_keyLabelFlags);
155
readString(
keyAttr
, R.styleable.Keyboard_Key_keyIconDisabled);
156
readInt(
keyAttr
, R.styleable.Keyboard_Key_maxMoreKeysColumn);
157
readInt(
keyAttr
, R.styleable.Keyboard_Key_backgroundType)
[
all
...]
KeyboardBuilder.java
241
final TypedArray
keyAttr
= mResources.obtainAttributes(attr, R.styleable.Keyboard_Key);
260
params.mDefaultKeyWidth = (int)
keyAttr
.getFraction(R.styleable.Keyboard_Key_keyWidth,
275
params.mKeyVisualAttributes = KeyVisualAttributes.newInstance(
keyAttr
);
279
params.mMaxMoreKeysKeyboardColumn =
keyAttr
.getInt(
293
keyAttr
.recycle();
477
final TypedArray
keyAttr
= mResources.obtainAttributes(
479
final KeyStyle keyStyle = mParams.mKeyStyles.getKeyStyle(
keyAttr
, parser);
480
final String keySpec = keyStyle.getString(
keyAttr
, R.styleable.Keyboard_Key_keySpec);
484
final Key key = new Key(keySpec,
keyAttr
, keyStyle, mParams, row);
485
keyAttr
.recycle()
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
Key.java
249
* @param
keyAttr
the Key XML attributes array.
255
public Key(@Nullable final String keySpec, @Nonnull final TypedArray
keyAttr
,
265
final float keyXPos = row.getKeyX(
keyAttr
);
266
final float keyWidth = row.getKeyWidth(
keyAttr
, keyXPos);
278
mBackgroundType = style.getInt(
keyAttr
,
282
final int visualInsetsLeft = Math.round(
keyAttr
.getFraction(
284
final int visualInsetsRight = Math.round(
keyAttr
.getFraction(
287
mLabelFlags = style.getFlags(
keyAttr
, R.styleable.Keyboard_Key_keyLabelFlags)
291
int actionFlags = style.getFlags(
keyAttr
, R.styleable.Keyboard_Key_keyActionFlags);
292
String[] moreKeys = style.getStringArray(
keyAttr
, R.styleable.Keyboard_Key_moreKeys)
[
all
...]
KeyboardView.java
159
final TypedArray
keyAttr
= context.obtainStyledAttributes(attrs,
161
mDefaultKeyLabelFlags =
keyAttr
.getInt(R.styleable.Keyboard_Key_keyLabelFlags, 0);
162
mKeyVisualAttributes = KeyVisualAttributes.newInstance(
keyAttr
);
163
keyAttr
.recycle();
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/22.2.0/
manifest-merger-22.2.0.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/22.4.0/
manifest-merger-22.4.0.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/22.4.2/
manifest-merger-22.4.2.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/22.5.0/
manifest-merger-22.5.0.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/22.5.1/
manifest-merger-22.5.1.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/22.5.3/
manifest-merger-22.5.3.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/22.7.0/
manifest-merger-22.7.0.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/22.7.1/
manifest-merger-22.7.1.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/22.7.3/
manifest-merger-22.7.3.jar
/prebuilts/devtools/tools/lib/
manifest-merger.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/22.8.0/
manifest-merger-22.8.0.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/22.9.2/
manifest-merger-22.9.2.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/23.0.1/
manifest-merger-23.0.1.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/23.0.2/
manifest-merger-23.0.2.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/23.1.0/
manifest-merger-23.1.0.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/23.1.3/
manifest-merger-23.1.3.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/23.1.4/
manifest-merger-23.1.4.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/23.2.0/
manifest-merger-23.2.0.jar
/prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/23.2.1/
manifest-merger-23.2.1.jar
Completed in 494 milliseconds
1
2
3
4