Don't switch between fast and normal scroll during drag in listviews

Signed-off-by: Vojtech Bocek <vbocek@gmail.com>

Change-Id: I925adda7f417c6e578f501babc8ef2bec638f66b
ifdef some file system options that are not available in older trees

Change-Id: I11a7e441f7fe4e556a5349822150493de90095f1
Fix SELinux function compatibility in older trees

Change-Id: I3d8c23b51b3331d062099c1edb1833551cc6af91
Merge "ifdef some file system options that are not available in older trees" into android-4.4
Add option to set flag for storage=0

Change-Id: I46b94d55fc649a2abf27569ccf99aabb2822d663
Clear the relative directory before passing on to twrpTar with the static du object. Otherwise we will not backup /system/media etc

Change-Id: Ib62af6ad8596aa18bf48cb750e2ecf442dadc627
minui: Allow devices to blank/unblank using LCD backlight

* Some devices rely on the LCD backlight to blank/unblank the display,
  support them by allowing a custom LCD backlight path to be used.

Change-Id: I8406b4b55cd7a2afc4f8f8ba65de2c53b949489d
Refactor twrpTar to use TarList

Eliminate the use of tarDirs and Generate_MultipleArcives in
favor of Generate_TarList so that we have one method for backup
creation instead of three.

Change-Id: I267937b6e40b32d43fbac8b4cca82f7468d4f94c
Improve android secure handling

Change-Id: I9e1c7f4a8353b7be51e1a54bf5d506c9dce70da2
Load RTC offset on Qualcomm Krait chips, fixes the broken time & date

Signed-off-by: Vojtech Bocek <vbocek@gmail.com>

Change-Id: I04ad07f3e6be961003e063be8c648e191e2f9431
Fix error message on split backups

Change-Id: I9effd57c2b4d28c3bd9ca1045a0bb0ac8c958245
minui: adapt backlight blanking commit to TWRP

Change-Id: I79417d218c84fcdaf2ce5ecdf314031831d89575
Disable alpha blending for fully opaque rectangles

* This makes the rendering several times faster, because the giant
  rectangle used as background no longer uses expensive blending
  calculations, and there are also many other big rectangles which
  don't need it (fileselector, ...).

* Results on hammerhead:
  - WITHOUT the patch - scrolling in fileselector on install page:

      I:render 67 ms, flip 6 ms, total 73 ms
      I:render 82 ms, flip 6 ms, total 88 ms
      I:render 81 ms, flip 6 ms, total 87 ms
      I:render 80 ms, flip 5 ms, total 85 ms

  - WITH the patch - scrolling in fileselector on install page:

      I:render 32 ms, flip 6 ms, total 38 ms
      I:render 16 ms, flip 6 ms, total 22 ms
      I:render 16 ms, flip 7 ms, total 23 ms
      I:render 18 ms, flip 3 ms, total 21 ms
      I:render 18 ms, flip 2 ms, total 20 ms

* On flo, the results are even more noticable - 160ms -> 40ms

Signed-off-by: Vojtech Bocek <vbocek@gmail.com>

Change-Id: I5685763ba21745d7cd93133adf5f0bcb4c9a581f
Merge "Improve android secure handling" into android-4.4
Merge "Don't switch between fast and normal scroll during drag in listviews" into android-4.4
Merge "minui: adapt backlight blanking commit to TWRP" into android-4.4
Merge "Load RTC offset on Qualcomm Krait chips, fixes the broken time & date" into android-4.4
Add haptic feedback

Change-Id: I15d723f73c0b0bb4a40645d1c3f4c1c616f36998
Disable alpha blending for non-transparent bitmaps

* The difference isn't as big as there are not many big non-transparent
  bitmaps in TWRP, on install screen on flo it is about 5-10ms better.
  Only place where the difference is noticable is keyboard, which is
  pretty big non-transparent bitmap, where it speeds up the render
  by ~40ms on flo.

Signed-off-by: Vojtech Bocek <vbocek@gmail.com>

Change-Id: I4c51ef957ae2a1829ada4eb566e9964f708efcf0
Add option to print render time of each frame to log file

Signed-off-by: Vojtech Bocek <vbocek@gmail.com>

Change-Id: Id158a6375fbadf4cdf0a8c7d143759e602419e7f