Home
last modified time | relevance | path

Searched refs:mainKeyboardViewAttr (Results 1 – 8 of 8) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMainKeyboardView.java214 final TypedArray mainKeyboardViewAttr) { in KeyTimerHandler() argument
217 mKeyRepeatStartTimeout = mainKeyboardViewAttr.getInt( in KeyTimerHandler()
219 mKeyRepeatInterval = mainKeyboardViewAttr.getInt( in KeyTimerHandler()
221 mLongPressShiftLockTimeout = mainKeyboardViewAttr.getInt( in KeyTimerHandler()
223 mIgnoreAltCodeKeyTimeout = mainKeyboardViewAttr.getInt( in KeyTimerHandler()
225 mGestureRecognitionUpdateTime = mainKeyboardViewAttr.getInt( in KeyTimerHandler()
512 final TypedArray mainKeyboardViewAttr = context.obtainStyledAttributes( in MainKeyboardView() local
514 final int backgroundDimAlpha = mainKeyboardViewAttr.getInt( in MainKeyboardView()
518 mAutoCorrectionSpacebarLedEnabled = mainKeyboardViewAttr.getBoolean( in MainKeyboardView()
520 mAutoCorrectionSpacebarLedIcon = mainKeyboardViewAttr.getDrawable( in MainKeyboardView()
[all …]
DPointerTracker.java150 public PointerTrackerParams(final TypedArray mainKeyboardViewAttr) { in PointerTrackerParams() argument
151 mSlidingKeyInputEnabled = mainKeyboardViewAttr.getBoolean( in PointerTrackerParams()
153 mTouchNoiseThresholdTime = mainKeyboardViewAttr.getInt( in PointerTrackerParams()
155 mTouchNoiseThresholdDistance = mainKeyboardViewAttr.getDimensionPixelSize( in PointerTrackerParams()
157 mSuppressKeyPreviewAfterBatchInputDuration = mainKeyboardViewAttr.getInt( in PointerTrackerParams()
348 public static void setParameters(final TypedArray mainKeyboardViewAttr) { in setParameters() argument
349 sParams = new PointerTrackerParams(mainKeyboardViewAttr); in setParameters()
350 sGestureStrokeParams = new GestureStrokeParams(mainKeyboardViewAttr); in setParameters()
351 sGesturePreviewParams = new GestureStrokePreviewParams(mainKeyboardViewAttr); in setParameters()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStroke.java104 public GestureStrokeParams(final TypedArray mainKeyboardViewAttr) { in GestureStrokeParams() argument
105 mStaticTimeThresholdAfterFastTyping = mainKeyboardViewAttr.getInt( in GestureStrokeParams()
108 mDetectFastMoveSpeedThreshold = ResourceUtils.getFraction(mainKeyboardViewAttr, in GestureStrokeParams()
111 mDynamicThresholdDecayDuration = mainKeyboardViewAttr.getInt( in GestureStrokeParams()
114 mDynamicTimeThresholdFrom = mainKeyboardViewAttr.getInt( in GestureStrokeParams()
117 mDynamicTimeThresholdTo = mainKeyboardViewAttr.getInt( in GestureStrokeParams()
120 mDynamicDistanceThresholdFrom = ResourceUtils.getFraction(mainKeyboardViewAttr, in GestureStrokeParams()
123 mDynamicDistanceThresholdTo = ResourceUtils.getFraction(mainKeyboardViewAttr, in GestureStrokeParams()
126 mSamplingMinimumDistance = ResourceUtils.getFraction(mainKeyboardViewAttr, in GestureStrokeParams()
129 mRecognitionMinimumTime = mainKeyboardViewAttr.getInt( in GestureStrokeParams()
[all …]
DGestureTrail.java71 public Params(final TypedArray mainKeyboardViewAttr) { in Params() argument
72 mTrailColor = mainKeyboardViewAttr.getColor( in Params()
74 mTrailStartWidth = mainKeyboardViewAttr.getDimension( in Params()
76 mTrailEndWidth = mainKeyboardViewAttr.getDimension( in Params()
79 mTrailBodyRatio = (float)mainKeyboardViewAttr.getInt( in Params()
82 final int trailShadowRatioInt = mainKeyboardViewAttr.getInt( in Params()
86 mFadeoutStartDelay = DBG_SHOW_POINTS ? 2000 : mainKeyboardViewAttr.getInt( in Params()
88 mFadeoutDuration = DBG_SHOW_POINTS ? 200 : mainKeyboardViewAttr.getInt( in Params()
91 mUpdateInterval = mainKeyboardViewAttr.getInt( in Params()
DGestureFloatingPreviewText.java60 public GesturePreviewTextParams(final TypedArray mainKeyboardViewAttr) { in GesturePreviewTextParams() argument
61 mGesturePreviewTextSize = mainKeyboardViewAttr.getDimensionPixelSize( in GesturePreviewTextParams()
63 mGesturePreviewTextColor = mainKeyboardViewAttr.getColor( in GesturePreviewTextParams()
65 mGesturePreviewTextOffset = mainKeyboardViewAttr.getDimensionPixelOffset( in GesturePreviewTextParams()
67 mGesturePreviewColor = mainKeyboardViewAttr.getColor( in GesturePreviewTextParams()
69 mGesturePreviewHorizontalPadding = mainKeyboardViewAttr.getDimension( in GesturePreviewTextParams()
71 mGesturePreviewVerticalPadding = mainKeyboardViewAttr.getDimension( in GesturePreviewTextParams()
73 mGesturePreviewRoundRadius = mainKeyboardViewAttr.getDimension( in GesturePreviewTextParams()
DSlidingKeyInputPreview.java43 public SlidingKeyInputPreview(final View drawingView, final TypedArray mainKeyboardViewAttr) { in SlidingKeyInputPreview() argument
45 final int previewColor = mainKeyboardViewAttr.getColor( in SlidingKeyInputPreview()
47 final float previewRadius = mainKeyboardViewAttr.getDimension( in SlidingKeyInputPreview()
50 final float previewBodyRatio = (float)mainKeyboardViewAttr.getInt( in SlidingKeyInputPreview()
54 final int previewShadowRatioInt = mainKeyboardViewAttr.getInt( in SlidingKeyInputPreview()
DGestureStrokeWithPreviewPoints.java64 public GestureStrokePreviewParams(final TypedArray mainKeyboardViewAttr) { in GestureStrokePreviewParams() argument
65 mMinSamplingDistance = mainKeyboardViewAttr.getDimension( in GestureStrokePreviewParams()
68 final int interpolationAngularDegree = mainKeyboardViewAttr.getInteger(R.styleable in GestureStrokePreviewParams()
73 mMaxInterpolationDistanceThreshold = mainKeyboardViewAttr.getDimension(R.styleable in GestureStrokePreviewParams()
76 mMaxInterpolationSegments = mainKeyboardViewAttr.getInteger( in GestureStrokePreviewParams()
DGestureTrailsPreview.java84 public GestureTrailsPreview(final View drawingView, final TypedArray mainKeyboardViewAttr) { in GestureTrailsPreview() argument
86 mGestureTrailParams = new Params(mainKeyboardViewAttr); in GestureTrailsPreview()