|
| void | onLayout (boolean changed, int left, int top, int right, int bottom) |
| |
Definition at line 25 of file TouchPointerView.java.
◆ TouchPointerView() [1/3]
| com.freerdp.freerdpcore.presentation.TouchPointerView.TouchPointerView |
( |
Context |
context | ) |
|
|
inline |
◆ TouchPointerView() [2/3]
| com.freerdp.freerdpcore.presentation.TouchPointerView.TouchPointerView |
( |
Context |
context, |
|
|
AttributeSet |
attrs |
|
) |
| |
|
inline |
Definition at line 71 of file TouchPointerView.java.
72 {
73 super(context, attrs);
74 initTouchPointer(context);
75 }
◆ TouchPointerView() [3/3]
| com.freerdp.freerdpcore.presentation.TouchPointerView.TouchPointerView |
( |
Context |
context, |
|
|
AttributeSet |
attrs, |
|
|
int |
defStyle |
|
) |
| |
|
inline |
Definition at line 77 of file TouchPointerView.java.
78 {
79 super(context, attrs, defStyle);
80 initTouchPointer(context);
81 }
◆ getPointerHeight()
| int com.freerdp.freerdpcore.presentation.TouchPointerView.getPointerHeight |
( |
| ) |
|
|
inline |
◆ getPointerPosition()
| float[] com.freerdp.freerdpcore.presentation.TouchPointerView.getPointerPosition |
( |
| ) |
|
|
inline |
Definition at line 125 of file TouchPointerView.java.
126 {
127 float[] curPos = new float[2];
128 translationMatrix.mapPoints(curPos);
129 return curPos;
130 }
◆ getPointerWidth()
| int com.freerdp.freerdpcore.presentation.TouchPointerView.getPointerWidth |
( |
| ) |
|
|
inline |
◆ onLayout()
| void com.freerdp.freerdpcore.presentation.TouchPointerView.onLayout |
( |
boolean |
changed, |
|
|
int |
left, |
|
|
int |
top, |
|
|
int |
right, |
|
|
int |
bottom |
|
) |
| |
|
inlineprotected |
Definition at line 198 of file TouchPointerView.java.
199 {
200
201 if (changed)
202 ensureVisibility(right - left, bottom - top);
203 }
◆ onTouchEvent()
| boolean com.freerdp.freerdpcore.presentation.TouchPointerView.onTouchEvent |
( |
MotionEvent |
event | ) |
|
|
inline |
Definition at line 190 of file TouchPointerView.java.
191 {
192
193 if (!pointerMoving && !pointerScrolling && !pointerTouched(event))
194 return false;
195 return gestureDetector.onTouchEvent(event);
196 }
◆ setTouchPointerListener()
| void com.freerdp.freerdpcore.presentation.TouchPointerView.setTouchPointerListener |
( |
TouchPointerListener |
listener | ) |
|
|
inline |
The documentation for this class was generated from the following file: