History log of /frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d8ee8fab3fab996b6dfba84ef10ee4ed09a37cb0 10-Sep-2016 Aurimas Liutikas <aurimas@google.com> Fix SearchView measure for UNSPECIFIED height.

Previously it would almost always force SearchView to become 0
when height mode was UNSPECIFIED.

This is support lib pair of ag/1429040.

Bug: 31302290
Change-Id: I7bac7db52b47ebb28307a728fd8c263b90523f16
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
c39d9c75590eca86a5e7e32a8824ba04a0d42e9b 25-Aug-2016 Alan Viverette <alanv@google.com> Add @RestrictTo(GROUP_ID) annotations to match @hide docs annotations

Also removes some unnecessary @hide annotations on classes that wouldn't
have shown up in docs anyway due to package/private visibility or NO_DOCS.

Bug: 27937193
Change-Id: Iab127a5a3ce57a2d61965d3cef782621eb3859f5
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
2c1bad7ecd5879bf0f29ce2ce1bc5bd67a3f4682 25-Aug-2016 Aurimas Liutikas <aurimas@google.com> Remove all the extra accessor methods added by javac in support-v7-appcompat.

Change private methods to be package protected to avoid extra methods
that get added to be able to access them from inner classes.

This CL saves 196 methods in our jar.

Bug: 31075707
Change-Id: I2592b845b920384ff523fe130f634d5808a382a8
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
47082c30c630c34829439a9eecd1cf7e8d255a86 23-Aug-2016 Aurimas Liutikas <aurimas@google.com> Fix all usages of deprecated setBackgroundDrawable.

- Adds ViewCompat#setBackground that will call setBackgroundDrawable
or setBackground depending on the version.
- Replaced usages of setBackgroundDrawable with this ViewCompat version.

Bug: 30074170
Change-Id: I756c8558608da752acd6f3ca7121114d3cd1416a
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
4c99f0e29b0926d8e5de44b7e3980d47f052f04c 24-Jun-2016 Chris Banes <chrisbanes@google.com> Add AppCompatResources.getDrawable()

This CL adds the new public method, which just
proxies to AppCompatDrawableManager for now. Also
moved all internal calls of
AppCompatDrawableManager.getDrawable() to the new method.

Looks like a huge commit, but it's mostly just moving
things to use the new method.

BUG: 29564497
Change-Id: Ie1603cc83d58333d70b90aefcfaf21fd367081ae
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
dc8e099ed130434c0238f558277c5bcb6a533121 23-May-2016 Aurimas Liutikas <aurimas@google.com> Add missing @Override annotations in v7 code. Part 1.

Change-Id: I8487ae3980cf84aa486edb086f676a14a82f22c6
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
64dbe1d454f1190b3cd8426d09b9119949a10709 11-May-2016 Kirill Grouchnikov <kirillg@google.com> Final pass for removing all donut/eclair/froyo references

Also clean up code blocks that were conditional on pre-v9
build version.

Change-Id: I9c87496446d842cbd176adb44635205206e7bb3d
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
d6e47228c44aaadb0d4518da6db5c3f5dffda1ab 21-Apr-2016 Chris Banes <chrisbanes@google.com> Backport framework changes to AppCompat

Changes includes:

- Menu popup updates
- SwitchCompat tinting APIs
- Various bug fixes from the framework

BUG: 28262702

Change-Id: Id263334df8f921b6379366f4b383d35468dcde41
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
05f5ba020fa6caa658c75b6d77436aa980ca0fcc 22-Apr-2016 Chris Banes <chrisbanes@google.com> Backport AbsSavedState and fixes to v4

Also makes the support library widgets use it
so that they handle multi-class loaders correctly
when restoring state.

BUG: 27790353

Change-Id: I5c7888f119b8fcb79fd7cb67987c304c0c982c8e
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
6c46b615beb0f05cc168f01bbc4dfa95a6eadddc 07-Apr-2016 Aurimas Liutikas <aurimas@google.com> Increase SearchView touch targets to meet GAR3.

- Allow SearchView to expand to 48dp height if possible.
- Make the search clear button have 48dp height if possible.
- Expand the search TextView touch target height to 48dp is possible.

Bug: 19479861
Change-Id: I4eca8a140f01cb1482cff628ed38ce1871a4fcd8
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
7541e4bfa0c9fff31bcb12fc5a94365565388715 17-Mar-2016 Aurimas Liutikas <aurimas@google.com> Check for saved state type in onRestoreInstanceState.
am: bb58a82

* commit 'bb58a82daf11bf3c056d1cd5887aa26435d37b69':
Check for saved state type in onRestoreInstanceState.
bb58a82daf11bf3c056d1cd5887aa26435d37b69 16-Mar-2016 Aurimas Liutikas <aurimas@google.com> Check for saved state type in onRestoreInstanceState.

Add instanceof check in onRestoreInstanceState calls throughout
frameworks/support code.

Bug: 27589237
Change-Id: Id9db70de03979379ca9d98bb8599ac9fa2b46218
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
6c4d136d312f8ecbe059b9833c94561849902731 29-Feb-2016 Aurimas Liutikas <aurimas@google.com> Merge "Fix crash when restoring SearchView." into mnc-ub-dev
am: 5e775842f6

* commit '5e775842f60aa1e402a6f90849a4c0d169dcc38f':
Fix crash when restoring SearchView.
9950da639cb16f776b9cd39669b416ec6d91bce5 27-Feb-2016 Aurimas Liutikas <aurimas@google.com> Fix crash when restoring SearchView.

I forgot to include Parcelable.Creator when I added SearchView
iconified state saving.

Bug: 27357167
Change-Id: Id4ffdc570ce8975e2e206eee37c73f4804226f35
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
0cbe64051d4241ad38cb4a232a86e6f26a3c8259 23-Feb-2016 Chris Banes <chrisbanes@google.com> Add ConfigurationHelper to the support lib

Allows access to configuration screen dimension
properties in a backwards compatible way.

Fixes several run-time crashes in AppCompat due to
trying to access API 13/17 properties on older platforms.

Change-Id: I0f031006e6cd861b59c806efad3c77ac78976ed2
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
54333e113896da69f4b7c331effcdc1717c1342a 12-Feb-2016 Aurimas Liutikas <aurimas@google.com> Merge "Start saving iconified state of SearchView." into mnc-ub-dev
am: b62c39702d

* commit 'b62c39702d5ddde3e267039c0d13d624bf1778b0':
Start saving iconified state of SearchView.
3de9a134c5b81bbe150c081209595d82f2bbf19f 11-Feb-2016 Aurimas Liutikas <aurimas@google.com> Start saving iconified state of SearchView.

Bug: 27113484
Change-Id: I3380a3250bae640edbf73088115a5fd1ac056dcf
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
ed1096ebffac8f3cac5e5b98f54b96ae2ce8579e 02-Feb-2016 Chris Banes <chrisbanes@google.com> Fix AppCompat running on pre-v13

BUG: 26928253

Change-Id: I1d0f56df5072e35370b1943ebaf15531145f8c5b
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
8dd9fe7e5a46645cc7a0ec950df7ff7d76b90aba 04-Dec-2015 Filip Gruszczynski <gruszczy@google.com> Remove appcompat library size based resources.

Bug: 25394588

Change-Id: Iaad5e5d210c082aececc8c2283e923ee2316a8d5
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
66698bb15ba0f873aa1c2290cc50d6bb839a474a 26-Oct-2015 Chris Banes <chrisbanes@google.com> Flatten AppCompat class hierarchy

This allows us to do two things:

1) Move away from using public @hidden classes
everywhere.
2) Workaround silly OEM bugs.

BUG: 18218511

Change-Id: I7582e242c7564c32feeb044fc9eff6bfb5c56536
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
7e4e8b664820f773bc96e37ee1d2bbf500d64e69 12-Oct-2015 Chris Banes <chrisbanes@google.com> Add AppCompatDrawableManager

Refactored from TintManager, AppCompatDrawableManager
is now architectured differently. It is now a singleton
which keeps multi-map of cached tints.

This is to enable the new InflateDelegate extension point,
which will allows libraries (and eventually apps) to hook
into the compat drawable inflation.

While this CL looks large, it's mostly just updating method
calls to match the new parameters.

BUG: 24852773

Change-Id: Ic9f5ecc6fd0208d2f7a8a686f077f16588020516
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
4ae9d79a932a0518a41d6cbc67cb0ad69ce7dca3 22-Sep-2015 Chris Banes <chrisbanes@google.com> Hide SearchView icon when no drawable set - support edition

Bug: 23511899
Change-Id: I9ec866cc324136654838ba5ac138f2ebb51a4a1d
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
e68db207928c55c3c4941aab5ed6ec9dccc3c8fc 01-May-2015 Chris Banes <chrisbanes@google.com> Fix SearchView's AutoCompleteTextView default style

BUG: 20745011
Change-Id: If813808fedbd921a1f63068e51aa5f8af46cc8da
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
ecd75f2a7ec12bcbec7a9f0382cbd63b5c903188 27-Apr-2015 Chris Banes <chrisbanes@google.com> Fix SearchView's hint selection - support edition

As we know load a default hint via the default style,
the SearchableInfo's hint was never used. This CL
removes the hint from the style, and uses it manually,
if needed.

BUG: 20614122
Change-Id: I46967e8f74ec5a9bed49b276070cbd753aaa8331
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
2cccf609662389d6a23dbc0711d5fb2e826e8c63 18-Feb-2015 Chris Banes <chrisbanes@google.com> Rename and move all of the tint widgets

They're public so shouldn't live in the internal package.
I've also stopped setting the setting the platform widget styles
(e.g. android:editTextStyle) and instead provide our own versions.
On Lollipop, we set these the default framework styles.

This fixes the times where the framework widgets are used but with
the untinted material style (e.g. Preferences).

BUG: 19407610
BUG: 19300319

Change-Id: I5dbdee240cbf28d4dc9b05f5c56b386d83b18df3
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
cc489cd904db41ba9f8efaec0fde0b2d259123d7 20-Nov-2014 Chris Banes <chrisbanes@google.com> Remove underline and search icon from ActionBar search view

AppCompat edition

BUG: 17396265
Change-Id: I18c91e72bbeff565fc0ccdccfab2e6a7f28433e9
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
f0befbfd05c33c4dc6667a051f9b69a47dfe4aa7 23-Oct-2014 Chris Banes <chrisbanes@google.com> Update SearchView suggestions so we display the commit icon

Depends on Ibb7de7a3c49a1da22cd008aa6ae1791cc651fb3c

BUG: 18030252

Change-Id: I5fa19c02c2881d608f16b0f01fa874001bb383ba
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
469286122bcbbecbdd0bef74fb50f9d8920e77b9 02-Sep-2014 Chris Banes <chrisbanes@google.com> Add dynamic Drawable tinting to appcompat

Brings the res folder down to 297kB from 435kB,
saving > 30% of disk space (compressed).

Change-Id: Ia64ceacb5afed7f17203ff17ce5eaa990d58be7c
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
6912ef40f2cbf2a449c492cbe81ca96deee67ca0 04-Sep-2014 Adam Powell <adamp@google.com> Fix a regression in SearchView focusability - appcompat edition

Follow the same change to fix a regression from frameworks/base.

Bug 17292230

Change-Id: Iacb1464f3d014763e54dca7957ea95882511bf79
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
7fa6a00a4600aac591402398c23fea97721adf26 06-Aug-2014 Chris Banes <chrisbanes@google.com> Use ContextCompat.getDrawable(...) in appcompat

Fixes NPE in RippleDrawable. Also fixed appcompat's
ThemeOverlay styles on v21, as they led to cyclic
attrs which resulted in empty colors.

BUG: 16602748

Change-Id: I3dffbeff3f8280f816593af13bc3db666ed462fd
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
6da3e2ee07ff8acd7de4ed810eafeb70a8d4027d 25-Jul-2014 Chris Banes <chrisbanes@google.com> Fix javadoc errors

We can't refer to internal attrs via the @attr
feature. Decided to remove all @attrs as they're
not really necessary for appcompat.

Change-Id: I600045180bfd4578512844ff78f6d30a09f74feb
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
1b01ce23fa533d467ca2ccbc65c980a59662aa8d 24-Jul-2014 Chris Banes <chrisbanes@google.com> Update appcompat' SearchView to L

Change-Id: Ie9856690048421b6f6a88a1d4cb0e9d247099e44
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
9dcd2e58138ca4eb4b18f80b50e8979329e859d6 17-Jul-2013 Scott Main <smain@google.com> javadoc edits for support library

Change-Id: Ie8f228036dc9d33315430490a2e03e9c504ada71
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
2e21b5e22c320fd7e6af86a7cc05b4b11d7a0f64 11-Jun-2013 Chris Banes <chrisbanes@google.com> Fix ABC CollapsibleActionViews on ICS+

- Fix ActionBarCompat CollapsibleActionView callbacks
not being propogated on ICS+.
- Moved support version of CollapsibleActionView from
internal to public package.
- Fix IME not showing on SearchView when expanded

Bug: 9382915

Change-Id: I17851985c014f8c56e4adaa225354a023d3177fa
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
07a07ce59efb770e9fb9ca53a0133e5e64a63bbc 23-May-2013 Chris Banes <chrisbanes@google.com> Rename remaining resources to use abc_ prefix

Bug: 9100364

Change-Id: I93332ecaf1e8d5234acf005e263c6c0309e6413f
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java
818041428e0aca4943fe5adc0d54dad0d36a75f4 22-May-2013 Chris Banes <chrisbanes@google.com> Import of SearchView into AppCompat

This commit imports SearchView into AppCompat:
- Drawable size has increased to ~100KB
- Removed the old SearchActionProvider

Bug: 8396910

Change-Id: If4777c5058c6035b517439a5452edb41512ee569
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java