Home
last modified time | relevance | path

Searched refs:pressure (Results 1 – 4 of 4) sorted by relevance

/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/
DTouchDisplayView.java57 public float pressure = 0f; field in TouchDisplayView.TouchHistory
71 public static TouchHistory obtain(float x, float y, float pressure) { in obtain() argument
77 data.setTouch(x, y, pressure); in obtain()
90 public void setTouch(float x, float y, float pressure) { in setTouch() argument
93 this.pressure = pressure; in setTouch()
383 float pressure = Math.min(data.pressure, 1f); in drawCircle() local
384 float radius = pressure * mCircleRadius; in drawCircle()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyMotionEvent.java62 float pressure, float size) { in addPointer() argument
66 c.pressure = pressure; in addPointer()
DMonkeySourceScript.java313 float pressure = Float.parseFloat(args[5]); in handleEvent() local
334 .addPointer(0, x, y, pressure, size); in handleEvent()
350 float pressure = Float.parseFloat(args[5]); in handleEvent() local
383 .addPointer(0, mLastX[0], mLastY[0], pressure, size) in handleEvent()
384 .addPointer(1, x, y, pressure, size); in handleEvent()
394 .addPointer(0, x, y, pressure, size); in handleEvent()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DTouchPaint.java451 private void paint(PaintMode mode, float x, float y, float pressure, in paint() argument
463 mPaint.setAlpha(Math.min((int)(pressure * 128), 255)); in paint()
469 mPaint.setAlpha(Math.min((int)(pressure * 128), 255)); in paint()