Code example for Drawable

Methods: copyBoundsdraw

0
            invalidateSelf();
        } 
 
        @Override 
        public void draw(Canvas canvas) {
            mWrapped.copyBounds(mTmpRect);
            canvas.save();
            canvas.translate(mOffsetBy * mTmpRect.width() * -mOffset, 0);
            mWrapped.draw(canvas);
            canvas.restore();
        } 
 
        @Override 
        public void setChangingConfigurations(int configs) {
            mWrapped.setChangingConfigurations(configs);
        } 
 
        @Override 
        public int getChangingConfigurations() { 
            return mWrapped.getChangingConfigurations();
Experience pair programming with AI  Get Codota for Java