summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* am 1fbbc071: Merge "Implement an integrating VelocityTracker strategy." into ↵Jeff Brown2012-06-031-0/+104
|\ | | | | | | | | | | | | jb-dev * commit '1fbbc0716f9b70c6dcee00c4550757077ef7f7b5': Implement an integrating VelocityTracker strategy.
| * Merge "Implement an integrating VelocityTracker strategy." into jb-devJeff Brown2012-06-031-0/+104
| |\
| | * Implement an integrating VelocityTracker strategy.Jeff Brown2012-06-031-0/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This algorithm better tolerates certain kinds of errors in the touch input than the least squares strategy but it may underestimate the velocity of accelerating movements. This algorithm is mainly of interest as a baseline for testing and comparison with the least squares algorithm, which remains the default. Bug: 6413587 Change-Id: I8ddb50084e44875e234717907e5b06d03f59788c
* | | am f47e76e2: Merge "Make velocity tracker strategy configurable." into jb-devJeff Brown2012-06-031-17/+74
|\ \ \ | |/ / | | | | | | | | | * commit 'f47e76e2c78e78e26110786e99548d718d177c32': Make velocity tracker strategy configurable.
| * | Merge "Make velocity tracker strategy configurable." into jb-devJeff Brown2012-06-031-17/+74
| |\ \ | | |/
| | * Make velocity tracker strategy configurable.Jeff Brown2012-06-031-17/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is very useful for testing purposes because it makes it easy to compare different implementations to see how they behave. There is no change to the current default strategy. Bug: 6413587 Change-Id: I4d8567aa4160571ba9fa397ce419882cd9366749
* | | am 561ff8a7: Merge "Skip eglSwapBuffers() call when we do not draw to GL" ↵Chet Haase2012-06-014-147/+202
|\ \ \ | |/ / | | | | | | | | | | | | | | | into jb-dev * commit '561ff8a74e3d9ea15f58d9b6534da9ea5a63d84b': Skip eglSwapBuffers() call when we do not draw to GL
| * | Skip eglSwapBuffers() call when we do not draw to GLChet Haase2012-05-314-147/+202
| |/ | | | | | | | | | | | | | | | | | | The fix is to track when we issue GL drawing commands, and to skip the call to eglSwapBuffers() when a DisplayList does not result in any actual rendering calls to GL. Issue #6364143 QuickMuni list items and buttons flicker instead of fade Change-Id: I60a02c61a58c32d92481a1e814b4c8a49c6a37a3
* | am 3534e134: Merge "Avoid crash if onDetachedFromWindow called after ↵Chris Craik2012-05-221-2/+1
|\ \ | |/ | | | | | | | | | | destroy" into jb-dev * commit '3534e13486a0081b1229e698f13bd3a37efa3fb0': Avoid crash if onDetachedFromWindow called after destroy
| * Merge "Avoid crash if onDetachedFromWindow called after destroy" into jb-devChris Craik2012-05-221-2/+1
| |\
| | * Avoid crash if onDetachedFromWindow called after destroyChris Craik2012-05-221-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | This also removes the temporary logging from commit f8dafa14e058cdc2f408b59be7911abaceb73c47. bug:6535911 Change-Id: Icf1d0438b349a0e92e7d9cefed57a252eed2b9b0
* | | am 7a9328a3: Merge "Add temporary functor lifetime logging" into jb-devChris Craik2012-05-221-1/+2
|\ \ \ | |/ / | | | | | | | | | * commit '7a9328a3118725389564fe2a9b926837fa3d58a9': Add temporary functor lifetime logging
| * | Merge "Add temporary functor lifetime logging" into jb-devChris Craik2012-05-221-1/+2
| |\ \ | | |/
| | * Add temporary functor lifetime loggingChris Craik2012-05-221-1/+2
| | | | | | | | | | | | | | | | | | bug:6535911 Change-Id: Ida5cc1def7fe1fc314317bbc5df50e1465753deb
* | | am e5a4a3dc: Merge "Ensure we always set the proper blending mode Bug ↵Romain Guy2012-05-223-10/+24
|\ \ \ | |/ / | | | | | | | | | | | | | | | #6527305" into jb-dev * commit 'e5a4a3dc1648844f06d29efd42c9306c3cdf177e': Ensure we always set the proper blending mode Bug #6527305
| * | Merge "Ensure we always set the proper blending mode Bug #6527305" into jb-devRomain Guy2012-05-223-10/+24
| |\ \ | | |/ | |/|
| | * Ensure we always set the proper blending modeRomain Guy2012-05-223-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #6527305 At the beginning of a frame, always set the blending mode that we think GL is using just in case it was modified by another entity (for instance a WebView functor.) Change-Id: I0e1d0abee8a2abb2b8e7622aed28346e89562c06
* | | am 12fd5db4: Merge "Don\'t clear the functor at every draw" into jb-devChris Craik2012-05-221-1/+2
|\ \ \ | |/ / | | | | | | | | | * commit '12fd5db435043681371ca7e9694744d71b6ba271': Don't clear the functor at every draw
| * | Don't clear the functor at every drawChris Craik2012-05-221-1/+2
| |/ | | | | | | | | | | | | instead clear functors at invoke time, and let them detach themselves as needed. bug:6511995 Change-Id: I9115fcadffb27eb850c1d1773c098d3d2e22788b
* | am 196a7dae: Merge "Sanitize display list properties" into jb-devRomain Guy2012-05-183-14/+11
|\ \ | |/ | | | | | | * commit '196a7dae6387b118f73c78b7ae16ebfa604ae249': Sanitize display list properties
| * Sanitize display list propertiesRomain Guy2012-05-183-14/+11
| | | | | | | | | | | | | | | | | | | | | | The comparisons used in the various properties setters could fail badly in some specific conditions. The scale properties in particular did not use the same comparisons. This change also clamps alpha to the 0..1 range which avoids overflow issues with lowp registers in GLSL computations. Change-Id: I3e73b584e907a14e2c33d0865ca0d2d4d5bff31d
* | am 2298fe22: Merge "Avoid unnecessary copy when invoking drawBitmap(int[]) ↵Romain Guy2012-05-155-35/+55
|\ \ | |/ | | | | | | | | | | Bug #6483390" into jb-dev * commit '2298fe223f1ae45d45dbdd69e115a24a8ea2df10': Avoid unnecessary copy when invoking drawBitmap(int[]) Bug #6483390
| * Avoid unnecessary copy when invoking drawBitmap(int[])Romain Guy2012-05-155-35/+55
| | | | | | | | | | | | Bug #6483390 Change-Id: I4d2d725ef50c9401b4bd998b6160128102b40745
* | am 7b8523aa: Merge "Remove all Dalvik allocations from ↵Romain Guy2012-05-156-9/+91
|\ \ | |/ | | | | | | | | | | Cavnas.drawBitmap(int[], ...)" into jb-dev * commit '7b8523aaed11a3b5ee286776023233036ac0759d': Remove all Dalvik allocations from Cavnas.drawBitmap(int[], ...)
| * Merge "Remove all Dalvik allocations from Cavnas.drawBitmap(int[], ...)" ↵Romain Guy2012-05-146-9/+91
| |\ | | | | | | | | | into jb-dev
| | * Remove all Dalvik allocations from Cavnas.drawBitmap(int[], ...)Romain Guy2012-05-146-9/+91
| | | | | | | | | | | | Change-Id: Ie28538a2104d21154fdc78a56525e7403f08287d
* | | am e4db99cf: Merge "Detect when pointer has stopped moving." into jb-devJeff Brown2012-05-151-6/+25
|\ \ \ | |/ / | | | | | | | | | * commit 'e4db99cf87c47730e80dc1431f07f4f1062c648e': Detect when pointer has stopped moving.
| * | Merge "Detect when pointer has stopped moving." into jb-devJeff Brown2012-05-141-6/+25
| |\ \
| | * | Detect when pointer has stopped moving.Jeff Brown2012-05-141-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some input devices do not generate ACTION_MOVE events while all pointers have stopped, thereby lulling the VelocityTracker into a false sense of complacency. Before handling the following sample, reset the VelocityTracker state so as not to be influenced by earlier samples before the pointer stopped. The velocity after stopping is assumed to be discontinuous. Bug: 6413587 Change-Id: I6387bc036ff141d083d3d17a89e37eeaa3188349
* | | | am 08b544c7: Merge "Fix pointer indexing issue in VelocityTracker." into jb-devJeff Brown2012-05-151-6/+13
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '08b544c7be67343b10a4130611318b8273d06433': Fix pointer indexing issue in VelocityTracker.
| * | | Merge "Fix pointer indexing issue in VelocityTracker." into jb-devJeff Brown2012-05-141-6/+13
| |\ \ \ | | |/ /
| | * | Fix pointer indexing issue in VelocityTracker.Jeff Brown2012-05-141-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VelocityTracker was implicitly assuming that the pointer ids in a MotionEvent were ordered. That is not necessarily the case so we need to be careful while copying the pointer coordinates out. Bug: 6413587 Change-Id: I3b23a954f893eebdf786f2a94207149b092ef036
* | | | am 47a4a50d: Merge "Improve touch event resampling." into jb-devJeff Brown2012-05-152-67/+153
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '47a4a50df09b5ab76ee06cb8845fe5a02952ec32': Improve touch event resampling.
| * | | Merge "Improve touch event resampling." into jb-devJeff Brown2012-05-142-67/+153
| |\ \ \ | | |/ /
| | * | Improve touch event resampling.Jeff Brown2012-05-142-67/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed a few bugs related to the id-to-index mapping for pointer coordinates. Tightened the bounds on the resampling time interval to avoid predicting too far into the future. Only lerp X and Y components of motion events. Alter the future to satisfy past predictions. (Rewrite touch events to conceal obvious discontinuities.) Added a system property to control whether resampling is enabled for debugging purposes. Bug: 6375101 Change-Id: I35972d63278bc4e78148053a4125ad9abeebfedb
* | | | am 00ff4748: Merge "More VelocityTracker refactoring." into jb-devJeff Brown2012-05-151-49/+89
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '00ff47484f8137aa3e59f680ff07d2662cfb4088': More VelocityTracker refactoring.
| * | | Merge "More VelocityTracker refactoring." into jb-devJeff Brown2012-05-141-49/+89
| |\ \ \ | | |/ / | | | / | | |/ | |/|
| | * More VelocityTracker refactoring.Jeff Brown2012-05-131-49/+89
| | | | | | | | | | | | | | | Bug: 6413587 Change-Id: Ida1152e7a34d5fe5caab5e6b5e1bc79f6c7a25e6
* | | am c9ade202: Merge "Forget the name of a texture after freeing Bug #6408362" ↵Romain Guy2012-05-152-6/+10
|\ \ \ | |/ / | | | | | | | | | | | | | | | into jb-dev * commit 'c9ade202ed6a43a4edba6596492aa810530b88b6': Forget the name of a texture after freeing Bug #6408362
| * | Forget the name of a texture after freeingRomain Guy2012-05-142-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #6408362 FontRenderer allocates large font textures when more room is needed to store all the glyphs used by an application. Thse large textures are the first to be freed when memory needs to be reclaimed by the system. When freeing a texture, the renderer would however not set the texture name to an invalid name, leading future allocations to be performed on the same texture name. That name could have by then be recycled by the driver and returned by a call to glGenTexture and used to create an entirely different texture. This would cause the font renderer to point to the wrong texture, thus leading to the "corruptions." Change-Id: I8a1e80e5b79e8f21d1baf5320c090df4f2066cd4
* | | am 2be45697: Merge "Fix two memory leaks Bug #6408362" into jb-devRomain Guy2012-05-152-17/+30
|\ \ \ | |/ / | | | | | | | | | * commit '2be45697f93291e1740c3b7e4ba0af5d4ae81ed6': Fix two memory leaks Bug #6408362
| * | Fix two memory leaksRomain Guy2012-05-142-17/+30
| | | | | | | | | | | | | | | | | | Bug #6408362 Change-Id: I58543938e7b64d83504e11e97b0dd21ef8ebf3b6
* | | am 00fdfe41: Merge "Properly pre-cache latin glyphs Bug #6408362" into jb-devRomain Guy2012-05-142-14/+17
|\ \ \ | |/ / | | | | | | | | | * commit '00fdfe4106922502232d747d87bedc5343b5d4be': Properly pre-cache latin glyphs Bug #6408362
| * | Properly pre-cache latin glyphsRomain Guy2012-05-142-14/+17
| |/ | | | | | | | | | | Bug #6408362 Change-Id: Ie11644c5a9e2d87d3b851b7e619e5f04b60a7e02
* | am 15e84399: Merge "Add call sites for OpenGL\'s debug label extension" into ↵Romain Guy2012-05-123-22/+53
|\ \ | |/ | | | | | | | | | | jb-dev * commit '15e8439905cfae4605d101ae96a2694e69fb5017': Add call sites for OpenGL's debug label extension
| * Add call sites for OpenGL's debug label extensionRomain Guy2012-05-123-22/+53
| | | | | | | | Change-Id: I9c689127e8166cbef92c935f8aa07217ab806dda
* | am b12b6b51: Merge "Minor refactoring before starting on velocity tracker ↵Jeff Brown2012-05-114-508/+558
|\ \ | |/ | | | | | | | | | | changes." into jb-dev * commit 'b12b6b5116e3d76474296b45f570693bb10d6c99': Minor refactoring before starting on velocity tracker changes.
| * Minor refactoring before starting on velocity tracker changes.Jeff Brown2012-05-114-508/+558
| | | | | | | | | | Bug: 6413587 Change-Id: I5eba2bb57193bff78cb3740de5f87aca0b31d154
* | am aa997294: Merge "Revert "Add temporary functor lifetime logging"" into jb-devChris Craik2012-05-091-1/+0
|\ \ | |/ | | | | | | * commit 'aa9972943cab627db9b10e5c9c4bb80f99f8a4bd': Revert "Add temporary functor lifetime logging"
| * Merge "Revert "Add temporary functor lifetime logging"" into jb-devChris Craik2012-05-081-1/+0
| |\