Code example for TextureView

Methods: invalidate

0
                mSaturation = (float)progress / 50.0f;
                setSaturation(); 
            } 
 
            filter(); 
            mDisplayView.invalidate();
        } 
    } 
 
    public void onStartTrackingTouch(SeekBar seekBar) {
    } 
 
    public void onStopTrackingTouch(SeekBar seekBar) {
    } 
 
    @Override 
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.rs);
 
        mBitmapIn = loadBitmap(R.drawable.city);