cketti
9a385146c4
Replace tabs with spaces
2013-08-21 13:23:52 +02:00
cketti
bd3bd861c5
Optimize code to extract the character to display in the fallback contact picture
2013-08-21 13:08:05 +02:00
cketti
ce56475a4f
Avoid race condition that can lead to a NullPointerException
2013-08-21 12:33:27 +02:00
cketti
20fcd6f63d
Add setting to toggle colored background of fallback contact pictures
2013-08-16 18:43:00 +02:00
cketti
3064d8ab31
Code style and documentation cleanup
2013-08-16 01:49:26 +02:00
Jesse Vincent
2ba84bceaa
Merge pull request #353 from sfuhrm/gmail-style-user-pics
...
Gmail style user pics, 2nd try
* sfuhrm/gmail-style-user-pics:
Changed the fallback char from 'K' to '?'. The riddler was here ;).
Using Android proposed colors as contact color palette now: http://developer.android.com/design/style/color.html
Fixed NPE found by blackbox87 ... thanks pal!
Added more finer characters as proposed by cketti
Caching also the calculated anonymous bitmap as proposed by maniac103. This removes a lot of code for special handling unknown contacts.
Bugfix for negative modulo result indexing the palette array
Changed hash based color calc to a hash indexed palette as discussed in the pull request.
GMail-app-style generated colorful one-letter contact pictures for pictureless contacts
Conflicts:
src/com/fsck/k9/activity/misc/ContactPictureLoader.java
src/com/fsck/k9/fragment/MessageListFragment.java
2013-07-30 22:00:19 -04:00
Stephan Fuhrmann
c30af244cf
Changed the fallback char from 'K' to '?'. The riddler was here ;).
2013-07-30 21:27:52 +02:00
Stephan Fuhrmann
ea5905861a
Using Android proposed colors as contact color palette now: http://developer.android.com/design/style/color.html
2013-07-30 21:27:52 +02:00
Stephan Fuhrmann
6af02c4c13
Added more finer characters as proposed by cketti
2013-07-30 21:27:52 +02:00
Stephan Fuhrmann
df5766ba3a
Caching also the calculated anonymous bitmap as proposed by maniac103. This removes a lot of code for special handling unknown contacts.
2013-07-30 21:27:52 +02:00
Stephan Fuhrmann
d45c8b053b
Bugfix for negative modulo result indexing the palette array
2013-07-30 21:27:52 +02:00
Stephan Fuhrmann
64212072c0
Changed hash based color calc to a hash indexed palette as discussed in the pull request.
2013-07-30 21:27:52 +02:00
Stephan Fuhrmann
16f6d85ea2
GMail-app-style generated colorful one-letter contact pictures for pictureless contacts
2013-07-21 14:34:45 -04:00
Stephan Fuhrmann
3feaeb6903
GMail-app-style generated colorful one-letter contact pictures for pictureless contacts
2013-07-21 16:58:38 +02:00
cketti
9118097dcb
Avoid NullPointerException when decoding contact pictures
2013-03-19 02:59:05 +01:00
cketti
d6d9effbec
Remove unused stuff
2013-02-21 02:00:12 +01:00
cketti
25c452420d
Resize contact images to display size
...
Display size was changed in 20d229c91b
2013-02-13 19:43:07 +01:00
cketti
b25dfb802d
Resize the contact picture bitmaps to the display size
2013-02-08 18:04:38 +01:00
cketti
04ce0a9d3f
Add contact pictures to message list
2013-02-08 15:37:27 +01:00
cketti
8a226972a5
Extracted functionality common to most activities to K9ActivityCommon
2012-10-05 18:14:07 +02:00
cketti
c7003ab028
Cleaned up ActionBarNavigationSpinner
2012-09-08 22:21:05 -07:00
cketti
f46f733bce
Moved ActionBarNavigationSpinner to another package
2012-09-08 22:21:05 -07:00
cketti
f8bd9e481c
Converted MessageList to a K9ListActivity
2012-09-08 21:47:52 -07:00
cketti
b146fcb2fd
Improved handling of object retention on configuration changes
2011-10-14 02:52:32 +02:00
cketti
dfa97cd878
Handle activity restarts due to configuration changes
...
Close existing dialogs before the activity is destroyed. Recreate them
and rewire AsyncTasks to the new activity instance after its creation.
2011-10-01 20:11:14 +02:00