Code example for View

Methods: invalidate

0
			mMode = mode;
			mOutlinePaint.setColor( mMode == Mode.None ? highlight_color : highlight_down_color );
			mOutlinePaint2.setColor( mMode == Mode.None ? highlight_internal_color : highlight_internal_color_down );
			mLinesPaintShadow.setAlpha( mMode == Mode.None ? 102 : 0 );
			mOutlineFill.setColor( mMode == Mode.None ? highlight_outside_color : highlight_outside_color_down );
			mContext.invalidate();
		} 
	} 
 
	/** The hysteresis. */ 
	final float hysteresis = 30F;
 
	/** 
	 * Gets the hit. 
	 *  
	 * @param x 
	 *           the x 
	 * @param y 
	 *           the y 
	 * @return the hit 
Experience pair programming with AI  Get Codota for Java