Searched refs:mainKeyboardViewAttr (Results 1 – 8 of 8) sorted by relevance
214 final TypedArray mainKeyboardViewAttr) { in KeyTimerHandler() argument217 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() local514 final int backgroundDimAlpha = mainKeyboardViewAttr.getInt( in MainKeyboardView()518 mAutoCorrectionSpacebarLedEnabled = mainKeyboardViewAttr.getBoolean( in MainKeyboardView()520 mAutoCorrectionSpacebarLedIcon = mainKeyboardViewAttr.getDrawable( in MainKeyboardView()[all …]
150 public PointerTrackerParams(final TypedArray mainKeyboardViewAttr) { in PointerTrackerParams() argument151 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() argument349 sParams = new PointerTrackerParams(mainKeyboardViewAttr); in setParameters()350 sGestureStrokeParams = new GestureStrokeParams(mainKeyboardViewAttr); in setParameters()351 sGesturePreviewParams = new GestureStrokePreviewParams(mainKeyboardViewAttr); in setParameters()
104 public GestureStrokeParams(final TypedArray mainKeyboardViewAttr) { in GestureStrokeParams() argument105 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 …]
71 public Params(final TypedArray mainKeyboardViewAttr) { in Params() argument72 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()
60 public GesturePreviewTextParams(final TypedArray mainKeyboardViewAttr) { in GesturePreviewTextParams() argument61 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()
43 public SlidingKeyInputPreview(final View drawingView, final TypedArray mainKeyboardViewAttr) { in SlidingKeyInputPreview() argument45 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()
64 public GestureStrokePreviewParams(final TypedArray mainKeyboardViewAttr) { in GestureStrokePreviewParams() argument65 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()
84 public GestureTrailsPreview(final View drawingView, final TypedArray mainKeyboardViewAttr) { in GestureTrailsPreview() argument86 mGestureTrailParams = new Params(mainKeyboardViewAttr); in GestureTrailsPreview()