/external/skia/src/gpu/gl/ |
GrGLPathRange.cpp | 14 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, PathGenerator* pathGenerator, const GrStrokeInfo& stroke) 16 fStroke(stroke), 27 const GrStrokeInfo& stroke) 29 fStroke(stroke), 38 // * dashing: NVPR stroke dashing is different to Skia. 73 const GrStrokeInfo* stroke = &fStroke; local 79 // Thus we must stroke the strokes here, so that all paths in the 82 if (!stroke->applyDashToPath(tmpPath.init(), &tmpStroke, *skPath)) { 86 stroke = &tmpStroke; 88 if (stroke->needToApply()) [all...] |
GrGLPath.cpp | 244 void GrGLPath::InitPathObjectStroke(GrGLGpu* gpu, GrGLuint pathID, const GrStrokeInfo& stroke) { 245 SkASSERT(stroke.needToApply()); 246 SkASSERT(!stroke.isDashed()); 247 SkASSERT(!stroke.isHairlineStyle()); 249 PathParameterf(pathID, GR_GL_PATH_STROKE_WIDTH, SkScalarToFloat(stroke.getWidth()))); 251 PathParameterf(pathID, GR_GL_PATH_MITER_LIMIT, SkScalarToFloat(stroke.getMiter()))); 252 GrGLenum join = join_to_gl_join(stroke.getJoin()); 254 GrGLenum cap = cap_to_gl_cap(stroke.getCap()); 274 const GrStrokeInfo* stroke = &origStroke; local 277 if (stroke->isDashed()) [all...] |
/external/skia/experimental/c-api-example/ |
skia-c-example.c | 48 sk_paint_t* stroke = sk_paint_new(); local 49 sk_paint_set_color(stroke, sk_color_set_argb(0xFF, 0xFF, 0x00, 0x00)); 50 sk_paint_set_antialias(stroke, true); 51 sk_paint_set_stroke(stroke, true); 52 sk_paint_set_stroke_width(stroke, 5.0f); 59 sk_canvas_draw_path(canvas, path, stroke); 70 sk_paint_delete(stroke);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
WnnWord.java | 30 public String stroke; field in class:WnnWord 49 * @param stroke The reading of word 51 public WnnWord(String candidate, String stroke) { 52 this(0, candidate, stroke, new WnnPOS(), 0, 0); 59 * @param stroke The reading of word 62 public WnnWord(String candidate, String stroke, int frequency) { 63 this(0, candidate, stroke, new WnnPOS(), frequency, 0); 70 * @param stroke The reading of word 73 public WnnWord(String candidate, String stroke, WnnPOS posTag) { 74 this(0, candidate, stroke, posTag, 0, 0) [all...] |
UserDictionaryToolsList.java | 408 wnnWordSearch.stroke = focusPairString.toString(); 411 wnnWordSearch.stroke = focusString.toString(); 585 delword.stroke = searchword.stroke; 678 UserDictionaryToolsListFocus stroke = new UserDictionaryToolsListFocus(this); local 679 stroke.setId(i); 680 stroke.setWidth(system_width/2); 681 stroke.setTextSize(WORD_TEXT_SIZE); 682 stroke.setTextColor(Color.LTGRAY); 683 stroke.setBackgroundColor(UNFOCUS_BACKGROUND_COLOR) [all...] |
UserDictionaryToolsEdit.java | 77 /** The constant for notifying dialog (The length of specified stroke or candidate exceeds the limit) */ 149 mBeforeEditWnnWord.stroke = ((TextView)sFocusingView).getText().toString(); 249 String stroke = mReadEditText.getText().toString(); local 251 if (addDictionary(stroke, candidate)) { 261 String stroke = mReadEditText.getText().toString(); local 263 if (addDictionary(stroke, candidate)) { 266 addDictionary(mBeforeEditWnnWord.stroke, mBeforeEditWnnWord.candidate); 333 * @param stroke The stroke of the word 337 private boolean addDictionary(String stroke, String candidate) [all...] |
/cts/tests/tests/gesture/src/android/gesture/cts/ |
GestureStorageTester.java | 41 GestureStroke stroke = new LineGestureStrokeHelper().createLineGesture(); local 43 mLineGesture.addStroke(stroke); 45 mAnotherGesture.addStroke(stroke); 71 GestureStroke stroke = new LineGestureStrokeHelper().createLineGesture(); local 72 newLineGesture.addStroke(stroke);
|
/external/ImageMagick/MagickCore/ |
montage.h | 57 stroke; member in struct:_MontageInfo
|
/external/skia/gm/ |
skbug_257.cpp | 126 SkPaint stroke; local 127 stroke.setStyle(SkPaint::kStroke_Style); 128 stroke.setStrokeWidth(5); 129 stroke.setColor(SK_ColorCYAN); 130 canvas->drawCircle(size / 2, size / 2, size / 2 - 10, stroke); 131 canvas->drawCircle(3 * size / 2, size / 2, size / 2 - 10, stroke); 132 canvas->drawCircle(size / 2, 384, size / 2 - 10, stroke);
|
shadertext2.cpp | 166 SkPaint stroke; local 167 stroke.setStyle(SkPaint::kStroke_Style);
|
poly2poly.cpp | 30 void stroke(); 69 void SkJSCanvas::stroke() { function in class:SkJSCanvas 124 ctx.stroke(); 130 // TEST 2 - Includes an extra moveTo call before stroke; the rectangle appears larger 149 ctx.stroke(); 174 ctx.stroke();
|
/external/skia/include/device/xps/ |
SkXPSDevice.h | 238 BOOL stroke, BOOL fill, 243 BOOL stroke, BOOL fill, member in class:SkXPSDevice 266 BOOL stroke, BOOL fill, const SkPath& path); 300 BOOL* fill, BOOL* stroke);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
AccelerationClassifier.java | 24 * A classifier which looks at the speed and distance between successive points of a Stroke. 32 private final HashMap<Stroke, Data> mStrokeMap = new HashMap<>(); 52 Stroke stroke = mClassifierData.getStroke(event.getPointerId(i)); local 53 Point point = stroke.getPoints().get(stroke.getPoints().size() - 1); 54 if (mStrokeMap.get(stroke) == null) { 55 mStrokeMap.put(stroke, new Data(point)); 57 mStrokeMap.get(stroke).addPoint(point); 63 public float getFalseTouchEvaluation(int type, Stroke stroke) [all...] |
AnglesClassifier.java | 26 * A classifier which calculates the variance of differences between successive angles in a stroke. 27 * For each stroke it keeps its last three points. If some successive points are the same, it 30 * previously calculated angle. Then it calculates the variance of the differences from a stroke. 35 * This classifier also tries to split the stroke into two parts in the place in which the biggest 38 * direction and then they rapidly change direction for the rest of the stroke (like a tick). The 39 * final result is the minimum of angle variance of the whole stroke and the sum of angle variances 50 private HashMap<Stroke, Data> mStrokeMap = new HashMap<>(); 70 Stroke stroke = mClassifierData.getStroke(event.getPointerId(i)); local 72 if (mStrokeMap.get(stroke) == null) [all...] |
SpeedAnglesClassifier.java | 26 * A classifier which for each point from a stroke, it creates a point on plane with coordinates 30 * the last point of a stroke because the UP event comes in with some delay and this ruins the 33 * does that is because the speed of a good stroke is most often increases, so most of these angels 37 private HashMap<Stroke, Data> mStrokeMap = new HashMap<>(); 57 Stroke stroke = mClassifierData.getStroke(event.getPointerId(i)); local 59 if (mStrokeMap.get(stroke) == null) { 60 mStrokeMap.put(stroke, new Data()); 65 mStrokeMap.get(stroke).addPoint( 66 stroke.getPoints().get(stroke.getPoints().size() - 1)) [all...] |
HumanInteractionClassifier.java | 164 Stroke stroke = mClassifierData.getEndingStrokes().get(i); local 166 StringBuilder sb = FalsingLog.ENABLED ? new StringBuilder("stroke") : null; 168 float e = c.getFalseTouchEvaluation(mCurrentType, stroke);
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/effects/ |
OutlineEffect.java | 22 import java.awt.Stroke;
37 private Stroke stroke;
field in class:OutlineEffect 49 if (stroke != null)
50 g.setStroke(stroke);
79 public Stroke getStroke () {
80 if (stroke == null) return new BasicStroke(width, BasicStroke.CAP_SQUARE, join);
81 return stroke;
84 /** Sets the stroke to use for the outline. If this is set, the other outline settings are ignored. */
85 public void setStroke (Stroke stroke) { [all...] |
/external/skia/src/animator/ |
SkDrawPaint.h | 54 SkBool stroke; member in class:SkDrawPaint
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterDrawRepresentation.java | 126 return "stroke(" + mType + ", path(" + (mPath) + "), " + mRadius + " , " 354 StrokeData stroke = new StrokeData(); local 359 stroke.mColor = sreader.nextInt(); 361 stroke.mRadius = (float) sreader.nextDouble(); 363 stroke.mType = (byte) sreader.nextInt(); 365 stroke.noPoints = sreader.nextInt(); 371 if ((count + 1) > stroke.mPoints.length) { 372 stroke.mPoints = Arrays.copyOf(stroke.mPoints, count * 2); 374 stroke.mPoints[count++] = (float) sreader.nextDouble() [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
vg_state.h | 58 /* Stroke parameters */ 68 } stroke; member in struct:vg_state
|
/external/skia/src/svg/parser/ |
SkSVGParser.cpp | 128 bool stroke = false; local 134 stroke = walking->f_stroke.equals("none") == false; 145 return stroke && fill;
|
/external/skia/tests/ |
PaintTest.cpp | 174 SkPath path, stroke; local 191 paint.getFillPath(path, &stroke); 192 strokeR = stroke.getBounds(); 201 // test that our stroke didn't explode
|
/frameworks/base/core/java/android/gesture/ |
Gesture.java | 38 * Each stroke is a sequence of timed points. A user-defined gesture can be recognized by 70 GestureStroke stroke = mStrokes.get(i); local 71 gesture.mStrokes.add((GestureStroke)stroke.clone()); 91 * Adds a stroke to the gesture. 93 * @param stroke 95 public void addStroke(GestureStroke stroke) { 96 mStrokes.add(stroke); 97 mBoundingBox.union(stroke.boundingBox); 195 paint.setStyle(Paint.Style.STROKE); 229 paint.setStyle(Paint.Style.STROKE); [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
ndfdic.c | 204 NJ_CHAR *stroke; local 211 stroke = buf; 225 NJ_CHAR_COPY(stroke, area); 226 stroke++; 229 *stroke = NJ_CHAR_NUL; 232 dic_ylen = convert_to_yomi(hdl, area, DATA_YOMI_SIZE(data), stroke, size); 319 NJ_CHAR stroke[NJ_MAX_LEN + NJ_TERM_LEN]; local 335 yomilen = njd_f_get_stroke(word, stroke, sizeof(stroke)); 357 NJ_INT16 njd_f_get_stroke(NJ_WORD *word, NJ_CHAR *stroke, NJ_UINT16 size) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
HoverOverlay.java | 163 Color stroke = hoverIsSelected ? mHoverSelectStrokeColor : mHoverStrokeColor; local 166 if (stroke != null) { 168 gc.setForeground(stroke);
|