Don't unnecessarily set LayoutParams on children

Setting LayoutParams on children triggers requestLayout
which can be expensive and result in significantly lower
framerate for children layouts that don't need it. When
requestLayout method is invoked the needToMeasure boolean
will be true, this is what we'd like to avoid unless
it is actually needed.

BUG: https://code.google.com/p/android/issues/detail?id=72733

Change-Id: Id5d8f3431b5f943b1279eae41ee43d32a99514fc
Signed-off-by: Jacob Abrams <satur9nine@gmail.com>
Override onRestoreInstanceState() in MultiSelectListPreference

MultiSelectListPreference needs to override onRestoreInstanceState()
in order to apply saved values to the list.
This also fixes a crash which was caused by missing
onRestoreInstanceState().

Bug: 70088

Signed-off-by: Anton Cherkashyn <mail@antonc.com>

Change-Id: I78417e867402e5dc7e2bdaa852385c729bd96747
improving translation

Change-Id: Ic4c51d532952d67dc1efbbe088b06e7b834835df
SwipeHelper: Ignore ACTION_OUTSIDE touches

  When using the swiper class within a layout like a notification container
  elsewhere the notification shade, when tapping outside even if the finger will
  not move is easy to detect an ACTION_MOVE event. That will consider it like a
  dragging event and the view swipes to left a bit on its own getting stuck
  until next touch. Break if tapping outside, so it doesn't go mistakely forward
  to ACTION_MOVE event case.

Change-Id: I07e5a3a95b8bbebeadcc97ba2d7d1cf787a37e61
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>