Code example for Allocation

Methods: copyTo

0
    public void doChange(SeekBar seekBar){
        float newI = seekBar.getProgress();
        newI = newI- getIntent().getFloatExtra("minusValue", 0.0f);
        float value = newI/getIntent().getFloatExtra("divisionValue", 1.0f);
 
        FilterSystem.applyFilter(mInAllocation,mOutAllocation,value,mCurrentEffect,mRS,getResources(),originalBitmap);
 
        mOutAllocation.copyTo(filteredBitmap);
        imageView.setImageBitmap(filteredBitmap);
    } 
 
 
    @Override 
    public boolean onCreateOptionsMenu(Menu menu) {
        menu.add(1,1,1,"Values").setShowAsActionFlags(MenuItem.SHOW_AS_ACTION_ALWAYS);
        return super.onCreateOptionsMenu(menu);
    } 
 
    @Override 
    public boolean onOptionsItemSelected(MenuItem item) {
        if(item.getItemId()==1){