OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mainKeyboardViewAttr
(Results
1 - 9
of
9
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
GestureTrailDrawingParams.java
52
public GestureTrailDrawingParams(final TypedArray
mainKeyboardViewAttr
) {
53
mTrailColor =
mainKeyboardViewAttr
.getColor(
55
mTrailStartWidth =
mainKeyboardViewAttr
.getDimension(
57
mTrailEndWidth =
mainKeyboardViewAttr
.getDimension(
60
mTrailBodyRatio = (float)
mainKeyboardViewAttr
.getInt(
63
final int trailShadowRatioInt =
mainKeyboardViewAttr
.getInt(
69
:
mainKeyboardViewAttr
.getInt(
73
:
mainKeyboardViewAttr
.getInt(
76
mUpdateInterval =
mainKeyboardViewAttr
.getInt(
GestureStrokeRecognitionParams.java
77
public GestureStrokeRecognitionParams(final TypedArray
mainKeyboardViewAttr
) {
78
mStaticTimeThresholdAfterFastTyping =
mainKeyboardViewAttr
.getInt(
81
mDetectFastMoveSpeedThreshold = ResourceUtils.getFraction(
mainKeyboardViewAttr
,
84
mDynamicThresholdDecayDuration =
mainKeyboardViewAttr
.getInt(
87
mDynamicTimeThresholdFrom =
mainKeyboardViewAttr
.getInt(
90
mDynamicTimeThresholdTo =
mainKeyboardViewAttr
.getInt(
93
mDynamicDistanceThresholdFrom = ResourceUtils.getFraction(
mainKeyboardViewAttr
,
96
mDynamicDistanceThresholdTo = ResourceUtils.getFraction(
mainKeyboardViewAttr
,
99
mSamplingMinimumDistance = ResourceUtils.getFraction(
mainKeyboardViewAttr
,
102
mRecognitionMinimumTime =
mainKeyboardViewAttr
.getInt
[
all
...]
GestureStrokeDrawingParams.java
42
public GestureStrokeDrawingParams(final TypedArray
mainKeyboardViewAttr
) {
43
mMinSamplingDistance =
mainKeyboardViewAttr
.getDimension(
46
final int interpolationAngularDegree =
mainKeyboardViewAttr
.getInteger(R.styleable
51
mMaxInterpolationDistanceThreshold =
mainKeyboardViewAttr
.getDimension(R.styleable
54
mMaxInterpolationSegments =
mainKeyboardViewAttr
.getInteger(
GestureFloatingTextDrawingPreview.java
62
public GesturePreviewTextParams(final TypedArray
mainKeyboardViewAttr
) {
63
mGesturePreviewTextSize =
mainKeyboardViewAttr
.getDimensionPixelSize(
65
mGesturePreviewTextColor =
mainKeyboardViewAttr
.getColor(
67
mGesturePreviewTextOffset =
mainKeyboardViewAttr
.getDimensionPixelOffset(
69
mGesturePreviewColor =
mainKeyboardViewAttr
.getColor(
71
mGesturePreviewHorizontalPadding =
mainKeyboardViewAttr
.getDimension(
73
mGesturePreviewVerticalPadding =
mainKeyboardViewAttr
.getDimension(
75
mGesturePreviewRoundRadius =
mainKeyboardViewAttr
.getDimension(
77
mDisplayWidth =
mainKeyboardViewAttr
.getResources().getDisplayMetrics().widthPixels;
106
public GestureFloatingTextDrawingPreview(final TypedArray
mainKeyboardViewAttr
) {
[
all
...]
SlidingKeyInputDrawingPreview.java
47
public SlidingKeyInputDrawingPreview(final TypedArray
mainKeyboardViewAttr
) {
48
final int previewColor =
mainKeyboardViewAttr
.getColor(
50
final float previewRadius =
mainKeyboardViewAttr
.getDimension(
53
final float previewBodyRatio = (float)
mainKeyboardViewAttr
.getInt(
57
final int previewShadowRatioInt =
mainKeyboardViewAttr
.getInt(
KeyPreviewDrawParams.java
72
public KeyPreviewDrawParams(final TypedArray
mainKeyboardViewAttr
) {
73
mPreviewOffset =
mainKeyboardViewAttr
.getDimensionPixelOffset(
75
mPreviewHeight =
mainKeyboardViewAttr
.getDimensionPixelSize(
77
mPreviewBackgroundResId =
mainKeyboardViewAttr
.getResourceId(
79
mLingerTimeout =
mainKeyboardViewAttr
.getInt(
81
mShowUpAnimatorResId =
mainKeyboardViewAttr
.getResourceId(
83
mDismissAnimatorResId =
mainKeyboardViewAttr
.getResourceId(
GestureTrailsDrawingPreview.java
50
public GestureTrailsDrawingPreview(final TypedArray
mainKeyboardViewAttr
) {
51
mDrawingParams = new GestureTrailDrawingParams(
mainKeyboardViewAttr
);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
MainKeyboardView.java
184
final TypedArray
mainKeyboardViewAttr
= context.obtainStyledAttributes(
186
final int ignoreAltCodeKeyTimeout =
mainKeyboardViewAttr
.getInt(
188
final int gestureRecognitionUpdateTime =
mainKeyboardViewAttr
.getInt(
193
final float keyHysteresisDistance =
mainKeyboardViewAttr
.getDimension(
195
final float keyHysteresisDistanceForSlidingModifier =
mainKeyboardViewAttr
.getDimension(
200
PointerTracker.init(
mainKeyboardViewAttr
, mTimerHandler, this /* DrawingProxy */);
211
final int backgroundDimAlpha =
mainKeyboardViewAttr
.getInt(
215
mLanguageOnSpacebarTextRatio =
mainKeyboardViewAttr
.getFraction(
217
mLanguageOnSpacebarTextColor =
mainKeyboardViewAttr
.getColor(
219
mLanguageOnSpacebarTextShadowRadius =
mainKeyboardViewAttr
.getFloat
[
all
...]
PointerTracker.java
66
public PointerTrackerParams(final TypedArray
mainKeyboardViewAttr
) {
67
mKeySelectionByDraggingFinger =
mainKeyboardViewAttr
.getBoolean(
69
mTouchNoiseThresholdTime =
mainKeyboardViewAttr
.getInt(
71
mTouchNoiseThresholdDistance =
mainKeyboardViewAttr
.getDimensionPixelSize(
73
mSuppressKeyPreviewAfterBatchInputDuration =
mainKeyboardViewAttr
.getInt(
75
mKeyRepeatStartTimeout =
mainKeyboardViewAttr
.getInt(
77
mKeyRepeatInterval =
mainKeyboardViewAttr
.getInt(
79
mLongPressShiftLockTimeout =
mainKeyboardViewAttr
.getInt(
156
public static void init(final TypedArray
mainKeyboardViewAttr
, final TimerProxy timerProxy,
158
sParams = new PointerTrackerParams(
mainKeyboardViewAttr
);
[
all
...]
Completed in 534 milliseconds