Searched refs:mainKeyboardViewAttr (Results 1 – 9 of 9) sorted by relevance
77 public GestureStrokeRecognitionParams(final TypedArray mainKeyboardViewAttr) { in GestureStrokeRecognitionParams() argument78 mStaticTimeThresholdAfterFastTyping = mainKeyboardViewAttr.getInt( in GestureStrokeRecognitionParams()81 mDetectFastMoveSpeedThreshold = ResourceUtils.getFraction(mainKeyboardViewAttr, in GestureStrokeRecognitionParams()84 mDynamicThresholdDecayDuration = mainKeyboardViewAttr.getInt( in GestureStrokeRecognitionParams()87 mDynamicTimeThresholdFrom = mainKeyboardViewAttr.getInt( in GestureStrokeRecognitionParams()90 mDynamicTimeThresholdTo = mainKeyboardViewAttr.getInt( in GestureStrokeRecognitionParams()93 mDynamicDistanceThresholdFrom = ResourceUtils.getFraction(mainKeyboardViewAttr, in GestureStrokeRecognitionParams()96 mDynamicDistanceThresholdTo = ResourceUtils.getFraction(mainKeyboardViewAttr, in GestureStrokeRecognitionParams()99 mSamplingMinimumDistance = ResourceUtils.getFraction(mainKeyboardViewAttr, in GestureStrokeRecognitionParams()102 mRecognitionMinimumTime = mainKeyboardViewAttr.getInt( in GestureStrokeRecognitionParams()[all …]
52 public GestureTrailDrawingParams(final TypedArray mainKeyboardViewAttr) { in GestureTrailDrawingParams() argument53 mTrailColor = mainKeyboardViewAttr.getColor( in GestureTrailDrawingParams()55 mTrailStartWidth = mainKeyboardViewAttr.getDimension( in GestureTrailDrawingParams()57 mTrailEndWidth = mainKeyboardViewAttr.getDimension( in GestureTrailDrawingParams()60 mTrailBodyRatio = (float)mainKeyboardViewAttr.getInt( in GestureTrailDrawingParams()63 final int trailShadowRatioInt = mainKeyboardViewAttr.getInt( in GestureTrailDrawingParams()69 : mainKeyboardViewAttr.getInt( in GestureTrailDrawingParams()73 : mainKeyboardViewAttr.getInt( in GestureTrailDrawingParams()76 mUpdateInterval = mainKeyboardViewAttr.getInt( in GestureTrailDrawingParams()
62 public GesturePreviewTextParams(final TypedArray mainKeyboardViewAttr) { in GesturePreviewTextParams() argument63 mGesturePreviewTextSize = mainKeyboardViewAttr.getDimensionPixelSize( in GesturePreviewTextParams()65 mGesturePreviewTextColor = mainKeyboardViewAttr.getColor( in GesturePreviewTextParams()67 mGesturePreviewTextOffset = mainKeyboardViewAttr.getDimensionPixelOffset( in GesturePreviewTextParams()69 mGesturePreviewColor = mainKeyboardViewAttr.getColor( in GesturePreviewTextParams()71 mGesturePreviewHorizontalPadding = mainKeyboardViewAttr.getDimension( in GesturePreviewTextParams()73 mGesturePreviewVerticalPadding = mainKeyboardViewAttr.getDimension( in GesturePreviewTextParams()75 mGesturePreviewRoundRadius = mainKeyboardViewAttr.getDimension( in GesturePreviewTextParams()77 mDisplayWidth = mainKeyboardViewAttr.getResources().getDisplayMetrics().widthPixels; in GesturePreviewTextParams()106 public GestureFloatingTextDrawingPreview(final TypedArray mainKeyboardViewAttr) { in GestureFloatingTextDrawingPreview() argument[all …]
72 public KeyPreviewDrawParams(final TypedArray mainKeyboardViewAttr) { in KeyPreviewDrawParams() argument73 mPreviewOffset = mainKeyboardViewAttr.getDimensionPixelOffset( in KeyPreviewDrawParams()75 mPreviewHeight = mainKeyboardViewAttr.getDimensionPixelSize( in KeyPreviewDrawParams()77 mPreviewBackgroundResId = mainKeyboardViewAttr.getResourceId( in KeyPreviewDrawParams()79 mLingerTimeout = mainKeyboardViewAttr.getInt( in KeyPreviewDrawParams()81 mShowUpAnimatorResId = mainKeyboardViewAttr.getResourceId( in KeyPreviewDrawParams()83 mDismissAnimatorResId = mainKeyboardViewAttr.getResourceId( in KeyPreviewDrawParams()
42 public GestureStrokeDrawingParams(final TypedArray mainKeyboardViewAttr) { in GestureStrokeDrawingParams() argument43 mMinSamplingDistance = mainKeyboardViewAttr.getDimension( in GestureStrokeDrawingParams()46 final int interpolationAngularDegree = mainKeyboardViewAttr.getInteger(R.styleable in GestureStrokeDrawingParams()51 mMaxInterpolationDistanceThreshold = mainKeyboardViewAttr.getDimension(R.styleable in GestureStrokeDrawingParams()54 mMaxInterpolationSegments = mainKeyboardViewAttr.getInteger( in GestureStrokeDrawingParams()
47 public SlidingKeyInputDrawingPreview(final TypedArray mainKeyboardViewAttr) { in SlidingKeyInputDrawingPreview() argument48 final int previewColor = mainKeyboardViewAttr.getColor( in SlidingKeyInputDrawingPreview()50 final float previewRadius = mainKeyboardViewAttr.getDimension( in SlidingKeyInputDrawingPreview()53 final float previewBodyRatio = (float)mainKeyboardViewAttr.getInt( in SlidingKeyInputDrawingPreview()57 final int previewShadowRatioInt = mainKeyboardViewAttr.getInt( in SlidingKeyInputDrawingPreview()
50 public GestureTrailsDrawingPreview(final TypedArray mainKeyboardViewAttr) { in GestureTrailsDrawingPreview() argument51 mDrawingParams = new GestureTrailDrawingParams(mainKeyboardViewAttr); in GestureTrailsDrawingPreview()
184 final TypedArray mainKeyboardViewAttr = context.obtainStyledAttributes( in MainKeyboardView() local186 final int ignoreAltCodeKeyTimeout = mainKeyboardViewAttr.getInt( in MainKeyboardView()188 final int gestureRecognitionUpdateTime = mainKeyboardViewAttr.getInt( in MainKeyboardView()193 final float keyHysteresisDistance = mainKeyboardViewAttr.getDimension( in MainKeyboardView()195 final float keyHysteresisDistanceForSlidingModifier = mainKeyboardViewAttr.getDimension( in MainKeyboardView()200 PointerTracker.init(mainKeyboardViewAttr, mTimerHandler, this /* DrawingProxy */); in MainKeyboardView()211 final int backgroundDimAlpha = mainKeyboardViewAttr.getInt( in MainKeyboardView()215 mLanguageOnSpacebarTextRatio = mainKeyboardViewAttr.getFraction( in MainKeyboardView()217 mLanguageOnSpacebarTextColor = mainKeyboardViewAttr.getColor( in MainKeyboardView()219 mLanguageOnSpacebarTextShadowRadius = mainKeyboardViewAttr.getFloat( in MainKeyboardView()[all …]
66 public PointerTrackerParams(final TypedArray mainKeyboardViewAttr) { in PointerTrackerParams() argument67 mKeySelectionByDraggingFinger = mainKeyboardViewAttr.getBoolean( in PointerTrackerParams()69 mTouchNoiseThresholdTime = mainKeyboardViewAttr.getInt( in PointerTrackerParams()71 mTouchNoiseThresholdDistance = mainKeyboardViewAttr.getDimensionPixelSize( in PointerTrackerParams()73 mSuppressKeyPreviewAfterBatchInputDuration = mainKeyboardViewAttr.getInt( in PointerTrackerParams()75 mKeyRepeatStartTimeout = mainKeyboardViewAttr.getInt( in PointerTrackerParams()77 mKeyRepeatInterval = mainKeyboardViewAttr.getInt( in PointerTrackerParams()79 mLongPressShiftLockTimeout = mainKeyboardViewAttr.getInt( in PointerTrackerParams()156 public static void init(final TypedArray mainKeyboardViewAttr, final TimerProxy timerProxy, in init() argument158 sParams = new PointerTrackerParams(mainKeyboardViewAttr); in init()[all …]