summaryrefslogtreecommitdiff
path: root/touch
AgeCommit message (Collapse)AuthorFilesLines
2012-06-18touch depends on sal, toolkit depends on touchTor Lillqvist1-1/+1
Change-Id: I77e108391b48a9dc50491f8e76de8f277f92dfc6
2012-06-18Pass also scale and offset to createScreenCompatibleDeviceUsingBuffer()Tor Lillqvist1-1/+1
Pass on to VirtualDevice where used to set the MapMode of the device appropriately. Adapt DocumentLoader, use to scale the page rendering to exactly fit the virtual device. Change-Id: I4b0bc67e12114d3d9d493ff1aca2ef5d2cc78912
2012-06-18ByteBufferWrapper tweaksTor Lillqvist2-0/+38
operator() gets called in a Java GC thread. A JNIEnv* saved in the constructor (which is called from the UI thread) is not valid in other threads (although for now, Dalvik notices, warns, and works around it). So don't bother keeping the JNIEnv*. Instead fetch one when needed. Move the method implementations from inline in the header to libotouch's android.cxx. Change-Id: I7de6fc54bb8d9a59146576d6e8c325fe917393ee
2012-06-14fix build.lst contentDavid Tardon1-1/+2
Change-Id: I11c45830f6a322876041f6beda9e31fde110a2a7
2012-06-12More hackingTor Lillqvist1-26/+40
Note that this Document class is work in progress and the code hasn't ever been run yet even. Not used by the DocumentLoader test appp currently. Change-Id: Ibb285d455f31d9bda43133f3a289fc4564b83d47
2012-06-12Do use separate width and heightTor Lillqvist1-5/+7
Change-Id: I1bae38bf312ebc0186266be0dad3604e3f940aef
2012-06-12udkapi and offapi are not "internal"Tor Lillqvist1-1/+4
Change-Id: Id06783a999707ced3fe860fe23a6c48ccc40d9c4
2012-06-12Add Android-specific sal/ByteBufferWrapper.hxx headerTor Lillqvist2-0/+44
Used for impedance matching between Java's direct ByteBuffer and the boost::shared_array used by basebmp. Not sure yet how well this will actually work. I'm afraid leaks might be possible in exception throwing cases. Change-Id: I74fc57aaf46b2dd9f227043bd9045d4815a5ed40
2012-06-07Clarify ideas a bit, DocumentRenderCallback service not neededTor Lillqvist4-35/+22
Change-Id: I0a91a45dace5d2a35daadf1c9233ab68bee8701e
2012-06-05Work in progress: Add "touch" module for Android and iOS stuffTor Lillqvist17-0/+583
Change-Id: I10652743194d44d8465ddf8079f6b4458e6710f9