summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorBrian Colonna <bcolonna@google.com>2011-12-12 18:02:23 -0500
committerBrian Colonna <bcolonna@google.com>2011-12-12 18:02:23 -0500
commita44f2a59a2408ff367bd2efc7f74ec56f92565dc (patch)
tree37fe63dbd27fa2cdf39ff595d08423357c5962bf /graphics/java/android/renderscript/ProgramVertexFixedFunction.java
parent2ff8cc2438866f791d8fe888573b5fba103e2cd0 (diff)
Changed how Face Unlock coordinates are specified
Was using View.getLeft() and View.getTop() to specify the upper-left corner of the Face Unlock area. That gives coordinates relative the view, which was fine for the phones. For the tablet it needs coordinates relative to the window (which still works for the phones). Also fixed a 'bug' where h and w were swapped. However, it wasn't causing a problem because it was swapped in two places. Change-Id: I86c1f68439f1dcef826cfe6b8fb56c9a4a6b8dc3
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions