aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Don't depend on org.slim.frameworkHEADn7.1SpiritCroc2017-01-271-2/+1
| | | | Change-Id: I2b9c04d054e4e0b8b9763a54176bb7118a5bb7e7
* Merge changes I566f3391,Id77fad48 into ng7.1Nicholas Flintham2016-11-140-0/+0
|\ | | | | | | | | | | * changes: Add new options menu Add CardRecyclerView
| * Add new options menuGriffin Millender2016-11-079-24/+203
| | | | | | | | Change-Id: I566f3391c832dc0a0b5584838a53c9ec6f6746c9
| * Add CardRecyclerViewGriffin Millender2016-11-071-0/+3
| | | | | | | | Change-Id: Id77fad4845c259cfd3eeab5acb14b6b28fd0e773
* | Add new options menuGriffin Millender2016-10-209-24/+203
| | | | | | | | Change-Id: I566f3391c832dc0a0b5584838a53c9ec6f6746c9
* | Add CardRecyclerViewGriffin Millender2016-10-138-0/+826
|/ | | | Change-Id: Id77fad4845c259cfd3eeab5acb14b6b28fd0e773
* fix card header title vertical centeringVictor Lapin2015-06-122-10/+7
| | | | Change-Id: Iedacbab89e337e09d60f39b931277e60c23618cb
* More centering fixesGriffin Millender2015-06-122-1/+2
| | | | Change-Id: I9cc07deb1f8ccbc2cb3cc1653daeaf05b670ce47
* Another expanded icon fixGriffin Millender2015-06-121-3/+3
| | | | Change-Id: I8ea4eb5cf03343c5b01f44b06bf7f255c3ed3c0c
* Fix the expand icon and center some thingsGriffin Millender2015-06-123-3/+5
| | | | Change-Id: I160312c1f7ef6dffa3a4407ae5ba2700e527a0b3
* Use a better expand iconGriffin Millender2015-06-122-2/+3
| | | | Change-Id: Ie00c4e4e24ee5a7960583a0333024c53b82a6759
* Use proper expand iconsGriffin Millender2015-06-121-1/+1
| | | | Change-Id: I5aeab29f3c235c2291d1a97f4d9f136d0b414987
* Some fixesGriffin Millender2015-06-124-6/+42
| | | | Change-Id: Ie174dc64b2babbacbf97474fd41fb355201c75c8
* Cardslib: Add partial onLongClickListener abilityLars Greiss2015-06-123-62/+217
| | | | | | | | | | | | | Adds the ability like the partial click listeners to add partial onLongClickListener per view. As well this commit adds the expanded area as possible partial clickable area. ToDo: This change should be reflected to gridview and the logic change should be adapted to the partial clicklistener to allow global click events and partial at the same time (see new implementation of partial onLongLickListener partial) Change-Id: I6ff74a41a7e564d92299c85be2cab99fa1c9cf8d
* more RTL changesGriffin Millender2015-06-125-33/+34
| | | | Change-Id: Ic4379b86818220b7ef27a51978538caec8b3be8d
* Cardslib: CardsListView allow to touchevents from swipetodismiss for gesture ↵Lars Greiss2015-06-122-1/+34
| | | | | | | | | | | | | | events due of this commit https://github.com/SlimRoms/frameworks_opt_cards/commit/40f08d2fd6c01d4979f2f205f4a527ecfa0f6543 which sets an overall touchlistener to our listview it broke our gesture detector in the recent tasks implementation. We give here a general ability to assign a gesture listener so that we can pass back the motion events from the touchlistener. Cleanest way and reduces in the same time the need from 2 touchlisteners to one Change-Id: I6bce71c719cd79b63e33b7864760b8bea6923e29
* Some RTL fixesGriffin Millender2015-06-123-119/+119
| | | | Change-Id: Iebcf200b0abd33b9379b0c117a73babb5f0ad57c
* use api21Daniel Koman2015-06-122-2/+2
| | | | Change-Id: I7f338c4ca67b1ecabbbdc3e8664db1352d218192
* rename pathsDaniel Koman2015-06-1260-0/+0
| | | | Change-Id: Id322c7d98310b57addf5f35331104bd937c33f46
* Update cards libGriffin Millender2015-06-12172-1680/+8887
| | | | | | | squashed all changes from: https://github.com/gabrielemariotti/cardslib Thanks a bunch to gabrielemariotti for the cardslib Change-Id: I96922b3ca76a7b89af7fce039eb33f499790f0a0
* remove trds resourcesGriffin Millender2015-06-108-0/+0
| | | | Change-Id: Ib8e19d93fe857761a7a8fdc8e154058cd9ca99a2
* Cardslib: do not pass trough touch event to gesture listener during swipeLars Greiss2014-04-121-1/+1
| | | | | | | | | New implementation allows us now to block gesture listener events during the user is swiping. Way more consistent and solves as well a possible crash on SlimRecents if the user is swiping the card nearly completely away and at the same time pinching to clear all (well rarly will ever happen but save is save) Change-Id: I1365f1b4113e5f764dbf38c9fe4476148de1d496
* Cardslib: CardsListView allow to touchevents from swipetodismiss for gesture ↵Lars Greiss2014-04-122-0/+33
| | | | | | | | | | | | | | events due of this commit https://github.com/SlimRoms/frameworks_opt_cards/commit/40f08d2fd6c01d4979f2f205f4a527ecfa0f6543 which sets an overall touchlistener to our listview it broke our gesture detector in the recent tasks implementation. We give here a general ability to assign a gesture listener so that we can pass back the motion events from the touchlistener. Cleanest way and reduces in the same time the need from 2 touchlisteners to one Change-Id: I973a4f3265c654e37543c482d0a3395eb67eda6d
* push to 1.5.0 releaseLars Greiss2014-04-101-1/+1
| | | | | | thanks gabriel Change-Id: I4472d3552b520a3d990f28b190b5f5bd3aaf5ddc
* Fix new import RTL/LTRLars Greiss2014-04-101-2/+2
| | | | Change-Id: I5d154cac26de8dd1ee35bb1c95bb760fa6a4dad9
* LIB: Fixed Overflow animation buttongabrielemariotti2014-04-101-1/+3
|
* LIB: kitkat stylesgabrielemariotti2014-04-106-2/+118
| | | | Change-Id: I63dfdccc234b9b420509485c330b8895cba6e91e
* LIB: Added the method getCardThumbnailView in CardThumbnailgabrielemariotti2014-04-101-0/+13
| | | | Change-Id: I6704c377a9d53703941af30274f4a34e2cb496b7
* LIB: Added a ForegroundLayoutgabrielemariotti2014-04-102-0/+250
| | | | Change-Id: I969f7e9b39583af53657caffbe275b7f3e3f0fe3
* LIB: Added a ForegroundLayoutgabrielemariotti2014-04-102-0/+19
|
* Cleanupgabrielemariotti2014-04-106-217/+2
| | | | Change-Id: I634acb6699c40fa238a83da1f8ef166088eb5725
* LIB: Added a custom scrollListener for ListView and Swipe #98gabrielemariotti2014-04-104-10/+100
| | | | Change-Id: Ib528114a6f8b3c7bf582577a29d00931074354cb
* LIB: Added `ViewToClickToExpand.setupCardElement()` to enable the ↵gabrielemariotti2014-04-102-2/+64
| | | | | | expand/collapse action on the default card elements Change-Id: Iaa19b7aeb6458ed6eb4d25d5525907e1e556ab7c
* LIB: Added a flag to disable the broadcast in CardThumbnailgabrielemariotti2014-04-102-12/+38
| | | | Change-Id: Ie9448793b527bceb5cbb9277ed81ff43a9600adc
* LIB: DismissAnimationgabrielemariotti2014-04-102-0/+444
| | | | Change-Id: I9d8f075f88e0dc3677264490aed18b028d6c0a68
* #Fixed #104gabrielemariotti2014-04-101-16/+0
|
* LIB: Expand action for cursorAdaptergabrielemariotti2014-04-102-7/+30
|
* LIB: Expand action for cursorAdaptergabrielemariotti2014-04-102-127/+134
| | | | Change-Id: I699f4af56c1afb6ac6dc1127b5fb2091908a4e17
* Fixed log on CardListViewgabrielemariotti2014-04-101-1/+1
|
* Fixed call with a ViewToClickToExpand()gabrielemariotti2014-04-101-1/+1
|
* Cardslib: use own getCount and getItemLars Greiss2014-03-191-1/+17
| | | | Change-Id: I19696a80769ec73dfe31646d66f1d3ac32bd40e7
* Cardslib: only initiliaze LRUCache if really needed.Lars Greiss2014-03-161-20/+25
| | | | | | | Do not init it on thumbnailview construct. If someone uses external loading resources this is simply not needed. Change-Id: If20922147a95cfb9bce656763656743c3c59077a
* Cardslib: Add partial onLongClickListener abilityLars Greiss2014-03-163-61/+215
| | | | | | | | | | | | | Adds the ability like the partial click listeners to add partial onLongClickListener per view. As well this commit adds the expanded area as possible partial clickable area. ToDo: This change should be reflected to gridview and the logic change should be adapted to the partial clicklistener to allow global click events and partial at the same time (see new implementation of partial onLongLickListener partial) Change-Id: If701eba1724c232890d66d70785bbc883be104a6
* Cardslib: make it RTL/LTR aware (2/3)Lars Greiss2014-03-165-59/+59
| | | | | | to support new FB feature and RTL compatiblity Change-Id: Iefe29c254f80b6ee3c98aa143b44ff59ade059d4
* Cardslib: update SwipeDismissListViewTouchListener and fix it upLars Greiss2014-03-091-58/+51
| | | | | | | | | | | | | | | | | | Update to latest improvements from Roman Nurik. Cleanup a bit and fix the following issue: Swipe to the left....then in the same swipe swipe back to the right the view will jump after going over the initial touchdown point. Reason is that the offset which was introduced to give a better swipe feeling is taken at this moment into account. Fix it to set the offset only on swipe start. As well this commit fixes the sometimes not that responsive areas. Change-Id: Iafac2db20e5a2044886ae332554d86974773250e
* add trds drawablesLars Greiss2014-03-018-0/+0
| | | | Change-Id: I90c73d6b509d83c99e0d7339a58f539e188ba254
* Cardslib: Do not consume touchevents on swipe down eventLars Greiss2014-02-281-2/+1
| | | | | | this can give on listview scroll kick start problems. Change-Id: Ide6266512bb7f7f316214b3332adeb8c20636b54
* Cardslib: use viewholder in the different card layoutsLars Greiss2014-02-273-14/+57
| | | | | | | | | Again a tiny optimization which helps listviews to prevent expensive calls for fiendViewById. Add viewholder to CardHeader, CardExpanded and Card. Change-Id: Ie363208c836e055e95ec4f58a351496ecbfa8972
* Cardslib: add tiny optimization and use a viewholder + cleanupLars Greiss2014-02-271-29/+39
| | | | | | | | | Every bit counts on listviews....use for getting the cardView a ViewHolder to improve scrolling more. As well small code and style cleanup Change-Id: I2adf707d342a05e385bba54fa9d7413c397fd59e
* Cardslib: Rework expanded/collapse feature on listviewsGabriele Mariotti2014-02-274-934/+127
| | | | Change-Id: I2a8d475439b92df75fa4442c1d678c0b86ddedfe