OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:keyAttr
(Results
1 - 9
of
9
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyVisualAttributes.java
77
public static KeyVisualAttributes newInstance(final TypedArray
keyAttr
) {
78
final int indexCount =
keyAttr
.getIndexCount();
80
final int attrId =
keyAttr
.getIndex(i);
84
return new KeyVisualAttributes(
keyAttr
);
89
private KeyVisualAttributes(final TypedArray
keyAttr
) {
90
if (
keyAttr
.hasValue(R.styleable.Keyboard_Key_keyTypeface)) {
92
keyAttr
.getInt(R.styleable.Keyboard_Key_keyTypeface, Typeface.NORMAL));
97
mLetterRatio = ResourceUtils.getFraction(
keyAttr
,
99
mLetterSize = ResourceUtils.getDimensionPixelSize(
keyAttr
,
101
mLabelRatio = ResourceUtils.getFraction(
keyAttr
,
[
all
...]
KeyboardRow.java
63
final TypedArray
keyAttr
= res.obtainAttributes(Xml.asAttributeSet(parser),
65
mDefaultKeyWidth =
keyAttr
.getFraction(R.styleable.Keyboard_Key_keyWidth,
67
mDefaultBackgroundType =
keyAttr
.getInt(R.styleable.Keyboard_Key_backgroundType,
69
keyAttr
.recycle();
113
public float getKeyX(final TypedArray
keyAttr
) {
114
if (
keyAttr
.hasValue(R.styleable.Keyboard_Key_keyXPos)) {
115
final float keyXPos =
keyAttr
.getFraction(R.styleable.Keyboard_Key_keyXPos,
132
public float getKeyWidth(final TypedArray
keyAttr
) {
133
return getKeyWidth(
keyAttr
, mCurrentX);
136
public float getKeyWidth(final TypedArray
keyAttr
, final float keyXPos)
[
all
...]
KeyStylesSet.java
136
public void readKeyAttributes(final TypedArray
keyAttr
) {
138
readString(
keyAttr
, R.styleable.Keyboard_Key_code);
139
readString(
keyAttr
, R.styleable.Keyboard_Key_altCode);
140
readString(
keyAttr
, R.styleable.Keyboard_Key_keyLabel);
141
readString(
keyAttr
, R.styleable.Keyboard_Key_keyOutputText);
142
readString(
keyAttr
, R.styleable.Keyboard_Key_keyHintLabel);
143
readStringArray(
keyAttr
, R.styleable.Keyboard_Key_moreKeys);
144
readStringArray(
keyAttr
, R.styleable.Keyboard_Key_additionalMoreKeys);
145
readFlag(
keyAttr
, R.styleable.Keyboard_Key_keyLabelFlags);
146
readString(
keyAttr
, R.styleable.Keyboard_Key_keyIcon)
[
all
...]
KeyboardBuilder.java
233
final TypedArray
keyAttr
= mResources.obtainAttributes(Xml.asAttributeSet(parser),
253
params.mDefaultKeyWidth = (int)
keyAttr
.getFraction(R.styleable.Keyboard_Key_keyWidth,
268
params.mKeyVisualAttributes = KeyVisualAttributes.newInstance(
keyAttr
);
272
params.mMaxMoreKeysKeyboardColumn =
keyAttr
.getInt(
299
keyAttr
.recycle();
447
final TypedArray
keyAttr
= mResources.obtainAttributes(attr,
460
if (
keyAttr
.hasValue(R.styleable.Keyboard_Key_keyXPos)) {
462
row.setXPos(row.getKeyX(
keyAttr
));
466
if (
keyAttr
.hasValue(R.styleable.Keyboard_Key_keyWidth)) {
468
row.setDefaultKeyWidth(row.getKeyWidth(
keyAttr
));
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
Key.java
230
final TypedArray
keyAttr
= res.obtainAttributes(Xml.asAttributeSet(parser),
233
final KeyStyle style = params.mKeyStyles.getKeyStyle(
keyAttr
, parser);
234
final float keyXPos = row.getKeyX(
keyAttr
);
235
final float keyWidth = row.getKeyWidth(
keyAttr
, keyXPos);
247
mBackgroundType = style.getInt(
keyAttr
,
251
final int visualInsetsLeft = Math.round(
keyAttr
.getFraction(
253
final int visualInsetsRight = Math.round(
keyAttr
.getFraction(
255
mIconId = KeySpecParser.getIconId(style.getString(
keyAttr
,
257
final int disabledIconId = KeySpecParser.getIconId(style.getString(
keyAttr
,
259
final int previewIconId = KeySpecParser.getIconId(style.getString(
keyAttr
,
[
all
...]
KeyboardView.java
142
final TypedArray
keyAttr
= context.obtainStyledAttributes(attrs,
144
mKeyVisualAttributes = KeyVisualAttributes.newInstance(
keyAttr
);
145
keyAttr
.recycle();
/prebuilts/devtools/tools/lib/
manifest-merger.jar
bcprov-jdk15on-1.48.jar
/prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/
bcprov-jdk15on-1.48.jar
Completed in 43 milliseconds