summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorGilles Debunne <debunne@google.com>2012-01-30 15:04:14 -0800
committerGilles Debunne <debunne@google.com>2012-02-22 14:24:56 -0800
commit60e2186c354c30b2f75ed0ef1ba75181bd32afda (patch)
treef1814fb5a916695d8e8f3859c16383b06a8911d3 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta352d1e2418f2f43d0e0a82f73799027e304fd96 (diff)
EditText-specific data extracted from TextView
All edit-specific data has been moved to an EditData inner class in TextView. The instance of this class is created as soon as one of its fields is set to a non-default value. Regular TextViews (buttons, checkboxes...) should never have to instantiate the Editor, thus reducing their memory footprint. Note: this is a debug version. The getEditor() method is here to track possible problems and should be removed in the final version. Indentation will be fixed then. Next step is to extract more methods and classes into Editor and create a dedicated class for it. mMovement may also be Editor specific. Change-Id: Ic241953a2fb73213180f300c3609a9e6799aa884
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions