summaryrefslogtreecommitdiffstats
path: root/graphics
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos.Ken Shirriff2009-05-131-1/+1
|
* AI 148752: Fix description of breakText() param.Dirk Dougherty2009-05-121-2/+3
| | | | | | BUG=1790234 Automated import of CL 148752
* Merge change 1057 into donutAndroid (Google) Code Review2009-05-121-1/+32
|\ | | | | | | | | * changes: * Add regoin scaling for transparent support
| * * Add regoin scaling for transparent supportMitsuru Oshima2009-05-121-1/+32
| |
* | Fixes #1847219. Add a new API to load fonts from arbitrary files: ↵Romain Guy2009-05-121-5/+27
| | | | | | | | Typeface.createFromFile(String/File).
* | Fixes #1846038. DrawableContainer was wrongly returning its opacity by ↵Romain Guy2009-05-121-38/+28
|/ | | | ignoring the visibility of the currently selected layer. This change simply reports a TRANSPARENT opacity if there is no currently selected layer of if the selected layer is not visible. Otherwise it reports the opacity computed by the state class.
* Merge branch 'readonly-p4-donut' into donutMitsuru Oshima2009-04-281-0/+13
|\
| * AI 147976: Compatibility mode support. Part 2.Mitsuru Oshima2009-04-281-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduced ApplicationScale (may not be good name. CompatibilityScale? CanvasScale? Pls let me know if you have better idea) * Changes to RootView / SurfaceView - Makes the app believe it's running in the supported density/resolution. - Makes the window manager believe it's running at the right density/resolution. * Added methods to Rect/Event for scaling up/down. Known issues: * certain kind of images (such as nine patch for buttons) seesm to be loaded not by app, thus does not take the scale into account, which, in turn, is causing layout issue. * ZoomButton in MapView is rendered in wrong place * Transparent region on Surface is not correct * Specifying different densities in one process is not working. BUG=1770627 Automated import of CL 147976
* | Merge change 618 into donutAndroid (Google) Code Review2009-04-281-50/+65
|\ \ | | | | | | | | | | | | * changes: Fixes #1816088. Avoid initializing empty Rects when they are useless, especially in Zygote.
| * | Fixes #1816088. Avoid initializing empty Rects when they are useless, ↵Romain Guy2009-04-281-50/+65
| | | | | | | | | | | | especially in Zygote.
* | | Add call to (new) Canvas.freeCaches() in response to low-memoryMike Reed2009-04-271-1/+11
|/ / | | | | | | | | This is in conjunction with removing a similar call made by the browser. Now it will be centralized, and the browser's call site will be removed.
* | Merge change 546 into donutAndroid (Google) Code Review2009-04-271-0/+30
|\ \ | | | | | | | | | | | | * changes: Add (hidden for now) purgeable bitmaps
| * | Add (hidden for now) purgeable bitmapsMike Reed2009-04-241-0/+30
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BitmapFactory::Options now let you specify if the resulting bitmap can be "purgeable". If so, then its decoded pixels may be purged when not actively being drawn, freeing up that RAM. When such a bitmap is drawn, it will automatically be re-decoded on demand. This is done by having the bitmap keep a reference/copy of the encoded data. Where it is a reference or a copy is controlled by the "shareable" flag in Options. If this is true, the implementation *may* just reference the encode data (e.g. a file descriptor) rathern than making a complete copy of it. Currently, purgeable is not supported for generic inputstreams, but is enabled for byte-array, file-descriptor, and assets, though for impl reasons only file-descripts are currently enabled for "shareable", but that may change in the future.
* | More optimization of dumpsys output.Dianne Hackborn2009-04-222-7/+69
|/ | | | | | | | There are three major classes of changes here: - Avoid writing lines where their values are often empty, false, or some other typical thing. - Use partial writes to the PrintWriter to avoid creating temporary strings. - Use StringBuilder where we need to generate real String objects (and where possible cache the result).
* auto import from //branches/cupcake/...@137873The Android Open Source Project2009-03-111-4/+4
|
* auto import from //depot/cupcake/@136594The Android Open Source Project2009-03-051-2/+13
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0384-0/+17165
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0384-17077/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-033-93/+5
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-023-5/+93
|
* auto import from //branches/cupcake/...@131421The Android Open Source Project2009-02-133-44/+103
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-1024-392/+995
|
* auto import from //branches/cupcake/...@127436The Android Open Source Project2009-01-223-9/+36
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-0912-30/+201
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-178-88/+203
|
* Initial ContributionThe Android Open Source Project2008-10-2183-0/+16102