As for the Android barcode, what do the color lines mean?

When I turned on debugging mode. Set up USB debugging and turn on Show Strokes. It should show the lines when I touch the screen. enter image description here

Could you tell me what the color of the lines means. The blue line ...? Red line..? and purple ...?

+4
source share
2 answers

After doing some more research, I noticed that:

  • the blue line finishes exactly when the user stops clicking on the screen, so the blue line indicates a touch.
  • I would say that the pink line (red line?) Indicates the speed of the stroke (it is shorter when the move is slow and long, when we draw quickly, and is associated with the values ​​shown at the top of the screen Vx , Vy )
  • the purple line is a kind of approximation (because it does not cover either the blue or pink lines, so it has no direct relation to where we draw - there is an indirect connection)

This means that in the image above, he stopped by touching the screen in the USB Debugging line.

+3
source

It shows exactly where you are touching the screen (i.e. visual feedback for strokes), and color is the amount of pressure you give by touching, for example, the blue line indicating strong contact, red for medium and violet for soft touch. Alternatively, you can try the pointer location for the XY intersection point.

+1
source

Source: https://habr.com/ru/post/1489609/


All Articles