|  | 
| 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 69 of file TouchPointerView.java.
   70  {
   71    super(context, attrs);
   72    initTouchPointer(context);
   73  }
 
 
◆ TouchPointerView() [3/3]
  
  | 
        
          | com.freerdp.freerdpcore.presentation.TouchPointerView.TouchPointerView | ( | Context | context, |  
          |  |  | AttributeSet | attrs, |  
          |  |  | int | defStyle |  
          |  | ) |  |  |  | inline | 
 
Definition at line 75 of file TouchPointerView.java.
   76  {
   77    super(context, attrs, defStyle);
   78    initTouchPointer(context);
   79  }
 
 
◆ getPointerHeight()
  
  | 
        
          | int com.freerdp.freerdpcore.presentation.TouchPointerView.getPointerHeight | ( |  | ) |  |  | inline | 
 
 
◆ getPointerPosition()
  
  | 
        
          | float[] com.freerdp.freerdpcore.presentation.TouchPointerView.getPointerPosition | ( |  | ) |  |  | inline | 
 
Definition at line 123 of file TouchPointerView.java.
  124  {
  125    float[] curPos = new float[2];
  126    translationMatrix.mapPoints(curPos);
  127    return curPos;
  128  }
 
 
◆ 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 195 of file TouchPointerView.java.
  196  {
  197    
  198    if (changed)
  199      ensureVisibility(right - left, bottom - top);
  200  }
 
 
◆ onTouchEvent()
  
  | 
        
          | boolean com.freerdp.freerdpcore.presentation.TouchPointerView.onTouchEvent | ( | MotionEvent | event | ) |  |  | inline | 
 
Definition at line 187 of file TouchPointerView.java.
  188  {
  189    
  190    if (!pointerMoving && !pointerScrolling && !pointerTouched(event))
  191      return false;
  192    return gestureDetector.onTouchEvent(event);
  193  }
 
 
◆ setTouchPointerListener()
  
  | 
        
          | void com.freerdp.freerdpcore.presentation.TouchPointerView.setTouchPointerListener | ( | TouchPointerListener | listener | ) |  |  | inline | 
 
 
The documentation for this class was generated from the following file: