Home
last modified time | relevance | path

Searched refs:stroke (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
DSelectionRenderer.java25 int stroke, Paint paint) { in drawSelection() argument
26 canvas.drawRect(left, top, right, top + stroke, paint); in drawSelection()
27 canvas.drawRect(left, bottom - stroke, right, bottom, paint); in drawSelection()
28 canvas.drawRect(left, top, left + stroke, bottom, paint); in drawSelection()
29 canvas.drawRect(right - stroke, top, right, bottom, paint); in drawSelection()
33 int stroke, Paint selectPaint, int border, Paint borderPaint) { in drawSelection() argument
34 canvas.drawRect(left, top, right, top + stroke, selectPaint); in drawSelection()
35 canvas.drawRect(left, bottom - stroke, right, bottom, selectPaint); in drawSelection()
36 canvas.drawRect(left, top, left + stroke, bottom, selectPaint); in drawSelection()
37 canvas.drawRect(right - stroke, top, right, bottom, selectPaint); in drawSelection()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterDrawRepresentation.java354 StrokeData stroke = new StrokeData(); in deSerializeRepresentation() local
359 stroke.mColor = sreader.nextInt(); in deSerializeRepresentation()
361 stroke.mRadius = (float) sreader.nextDouble(); in deSerializeRepresentation()
363 stroke.mType = (byte) sreader.nextInt(); in deSerializeRepresentation()
365 stroke.noPoints = sreader.nextInt(); in deSerializeRepresentation()
371 if ((count + 1) > stroke.mPoints.length) { in deSerializeRepresentation()
372 stroke.mPoints = Arrays.copyOf(stroke.mPoints, count * 2); in deSerializeRepresentation()
374 stroke.mPoints[count++] = (float) sreader.nextDouble(); in deSerializeRepresentation()
376 stroke.mPath = new Path(); in deSerializeRepresentation()
377 stroke.mPath.moveTo(stroke.mPoints[0], stroke.mPoints[1]); in deSerializeRepresentation()
[all …]
DImageFilterDraw.java260 StrokeData stroke = mParameters.getCurrentDrawing(); in drawData() local
261 if (stroke != null) { in drawData()
262 paint(stroke, canvas, originalRotateToScreen, quality); in drawData()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DAccelerationClassifier.java52 Stroke stroke = classifierData.getStroke(event.getPointerId(i)); in onTouchEvent() local
53 Point point = stroke.getPoints().get(stroke.getPoints().size() - 1); in onTouchEvent()
54 if (strokeMap.get(stroke) == null) { in onTouchEvent()
55 strokeMap.put(stroke, new Data(point)); in onTouchEvent()
57 strokeMap.get(stroke).addPoint(point); in onTouchEvent()
63 public float getFalseTouchEvaluation(Stroke stroke) { in getFalseTouchEvaluation() argument
64 Data data = strokeMap.get(stroke); in getFalseTouchEvaluation()
DSpeedAnglesClassifier.java56 Stroke stroke = classifierData.getStroke(event.getPointerId(i)); in onTouchEvent() local
58 if (strokeMap.get(stroke) == null) { in onTouchEvent()
59 strokeMap.put(stroke, new Data()); in onTouchEvent()
65 strokeMap.get(stroke).addPoint(stroke.getPoints().get(stroke.getPoints().size() - 1)); in onTouchEvent()
71 public float getFalseTouchEvaluation(Stroke stroke) { in getFalseTouchEvaluation() argument
72 Data data = strokeMap.get(stroke); in getFalseTouchEvaluation()
DAnglesClassifier.java70 Stroke stroke = classifierData.getStroke(event.getPointerId(i)); in onTouchEvent() local
72 if (strokeMap.get(stroke) == null) { in onTouchEvent()
73 strokeMap.put(stroke, new Data()); in onTouchEvent()
75 strokeMap.get(stroke).addPoint(stroke.getPoints().get(stroke.getPoints().size() - 1)); in onTouchEvent()
80 public float getFalseTouchEvaluation(Stroke stroke) { in getFalseTouchEvaluation() argument
81 Data data = strokeMap.get(stroke); in getFalseTouchEvaluation()
DEndPointRatioClassifier.java34 public float getFalseTouchEvaluation(Stroke stroke) { in getFalseTouchEvaluation() argument
36 if (stroke.getTotalLength() == 0.0f) { in getFalseTouchEvaluation()
39 ratio = stroke.getEndPointLength() / stroke.getTotalLength(); in getFalseTouchEvaluation()
DDirectionClassifier.java32 public float getFalseTouchEvaluation(Stroke stroke) { in getFalseTouchEvaluation() argument
33 Point firstPoint = stroke.getPoints().get(0); in getFalseTouchEvaluation()
34 Point lastPoint = stroke.getPoints().get(stroke.getPoints().size() - 1); in getFalseTouchEvaluation()
DDurationCountClassifier.java32 public float getFalseTouchEvaluation(Stroke stroke) { in getFalseTouchEvaluation() argument
33 return DurationCountEvaluator.evaluate(stroke.getDurationSeconds() / stroke.getCount()); in getFalseTouchEvaluation()
DLengthCountClassifier.java35 public float getFalseTouchEvaluation(Stroke stroke) { in getFalseTouchEvaluation() argument
37 stroke.getTotalLength() / Math.max(1.0f, stroke.getCount() - 2)); in getFalseTouchEvaluation()
DSpeedClassifier.java33 public float getFalseTouchEvaluation(Stroke stroke) { in getFalseTouchEvaluation() argument
34 float duration = stroke.getDurationSeconds(); in getFalseTouchEvaluation()
38 return SpeedEvaluator.evaluate(stroke.getTotalLength() / duration); in getFalseTouchEvaluation()
DEndPointLengthClassifier.java33 public float getFalseTouchEvaluation(Stroke stroke) { in getFalseTouchEvaluation() argument
34 return EndPointLengthEvaluator.evaluate(stroke.getEndPointLength()); in getFalseTouchEvaluation()
DHumanInteractionClassifier.java96 Stroke stroke = classifierData.getEndingStrokes().get(i); in addTouchEvent() local
99 float e = c.getFalseTouchEvaluation(stroke); in addTouchEvent()
DStrokeClassifier.java27 public abstract float getFalseTouchEvaluation(Stroke stroke); in getFalseTouchEvaluation() argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureTrailDrawingPoints.java72 public void addStroke(final GestureStrokeDrawingPoints stroke, final long downTime) { in addStroke() argument
74 addStrokeLocked(stroke, downTime); in addStroke()
78 private void addStrokeLocked(final GestureStrokeDrawingPoints stroke, final long downTime) { in addStrokeLocked() argument
80 stroke.appendPreviewStroke(mEventTimes, mXCoordinates, mYCoordinates, mPointTypes); in addStrokeLocked()
85 final int strokeId = stroke.getGestureStrokeId(); in addStrokeLocked()
96 mLastInterpolatedDrawIndex = stroke.interpolateStrokeAndReturnStartIndexOfLastSegment( in addStrokeLocked()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java158 final Paint stroke = new Paint(); in drawBitmapWithCircleOnCanvas() local
159 stroke.setAntiAlias(true); in drawBitmapWithCircleOnCanvas()
160 stroke.setColor(strokeColor); in drawBitmapWithCircleOnCanvas()
161 stroke.setStyle(Paint.Style.STROKE); in drawBitmapWithCircleOnCanvas()
163 stroke.setStrokeWidth(strokeWidth); in drawBitmapWithCircleOnCanvas()
166 dest.width() / 2f - stroke.getStrokeWidth() / 2f, in drawBitmapWithCircleOnCanvas()
167 stroke); in drawBitmapWithCircleOnCanvas() local
/packages/inputmethods/LatinIME/dictionaries/
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...