History log of /packages/apps/Settings/src/com/android/settings/users/CircleFramedDrawable.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8397ba603c9eacbd095a15478d60d5f7b85845a8 25-Apr-2013 Svetoslav <svetoslavganov@google.com> CircleFramedDrawable incorrectly has implicit dependency on the hosting view size.

CircleFramedDrawable was trying to draw itself as big as the hosting view by
looking at the canvas size. However, due to inconsistent API behavior for the
cases with and without hardware acceleration the canvas size returns the
size of clipped canvas or the size of the entire canvas, respectively. While
we should fix the inconsistent API behavior, it is not correct for a lower
level component to know about the higher level one, i.e. a drawable trying
to infer the size of the hosting view. The hosting view should set the size
of the drawable. This change removes the dependency on the host view size and
if one wants to enlarge the drawable, he/she should just set the scale.

bug:8671059

Change-Id: Idc572da7dff60fd10cb37d3c3eca27aac2c0a21f
/packages/apps/Settings/src/com/android/settings/users/CircleFramedDrawable.java
bf3391f19b6f1733825de07d9c602545f8818c64 15-Apr-2013 Svetoslav <svetoslavganov@google.com> Adding UI for editing the name and the picture of a limited user.

A limited user may not have access to contacts, thus the settings
app has to be able to show UI for selecting a user photo from
gallery or via camera.

bug:8566861

Change-Id: I1974b1a19b0fee8c737d1345302e1b2fba108379
/packages/apps/Settings/src/com/android/settings/users/CircleFramedDrawable.java
864e3b7c5176199f7f0fae53c2639f9dacd737e2 27-Mar-2013 Amith Yamasani <yamasani@google.com> Split User settings into limited and trusted.

Also show avatars with the circular frame like on lockscreen.

Change-Id: I032d842555b2f50a07166460f9cfb1963366dbb1
/packages/apps/Settings/src/com/android/settings/users/CircleFramedDrawable.java