OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:searchView
(Results
1 - 25
of
52
) sorted by null
1
2
3
/frameworks/support/v4/java/android/support/v4/widget/
SearchViewCompat.java
27
* Helper for accessing features in {@link android.widget.
SearchView
}
34
void setSearchableInfo(View
searchView
, ComponentName searchableComponent);
35
void setImeOptions(View
searchView
, int imeOptions);
36
void setInputType(View
searchView
, int inputType);
38
void setOnQueryTextListener(Object
searchView
, Object listener);
40
void setOnCloseListener(Object
searchView
, Object listener);
41
CharSequence getQuery(View
searchView
);
42
void setQuery(View
searchView
, CharSequence query, boolean submit);
43
void setQueryHint(View
searchView
, CharSequence hint);
44
void setIconified(View
searchView
, boolean iconify)
[
all
...]
/frameworks/support/v4/honeycomb/android/support/v4/widget/
SearchViewCompatHoneycomb.java
23
import android.widget.
SearchView
;
24
import android.widget.
SearchView
.OnCloseListener;
25
import android.widget.
SearchView
.OnQueryTextListener;
28
* Implementation of
SearchView
compatibility that can call Honeycomb APIs.
42
return new
SearchView
(context);
45
public static void setSearchableInfo(View
searchView
, ComponentName searchableComponent) {
46
SearchView
sv = ((
SearchView
)
searchView
);
66
public static void setOnQueryTextListener(Object
searchView
, Object listener)
[
all
...]
/frameworks/support/v4/ics/android/support/v4/widget/
SearchViewCompatIcs.java
21
import android.widget.
SearchView
;
24
* Implementation of
SearchView
compatibility that can call ICS APIs.
28
public static class MySearchView extends
SearchView
{
33
// The normal
SearchView
doesn't clear its search text when
46
public static void setImeOptions(View
searchView
, int imeOptions) {
47
((
SearchView
)
searchView
).setImeOptions(imeOptions);
50
public static void setInputType(View
searchView
, int inputType) {
51
((
SearchView
)
searchView
).setInputType(inputType)
[
all
...]
/cts/tests/tests/holo/src/android/holo/cts/modifiers/
SearchViewModifier.java
23
import android.widget.
SearchView
;
38
SearchView
searchView
= (
SearchView
) view;
43
searchView
.setQueryHint(context.getString(R.string.searchview_query_hint));
47
searchView
.setQuery(context.getString(R.string.searchview_query), false);
54
searchView
.setIconifiedByDefault(false);
55
return
searchView
;
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-SearchView/src/main/src/com/example/android/actionbarcompat/searchview/
SearchActivity.java
17
package com.example.android.actionbarcompat.
searchview
;
22
import android.support.v7.widget.
SearchView
;
27
* This sample shows you how to use {@link
SearchView
} to provide a search function in a single
64
* retrieve the
SearchView
.
72
// Now we get the
SearchView
from the item
73
final
SearchView
searchView
= (
SearchView
) MenuItemCompat.getActionView(searchItem);
76
// Set the hint text which displays when the
SearchView
is empty
77
searchView
.setQueryHint(getString(R.string.search_hint))
[
all
...]
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
LoaderCursorSupport.java
105
final View
searchView
= SearchViewCompat.newSearchView(getActivity());
106
if (
searchView
!= null) {
107
SearchViewCompat.setOnQueryTextListener(
searchView
,
128
SearchViewCompat.setOnCloseListener(
searchView
,
132
if (!TextUtils.isEmpty(SearchViewCompat.getQuery(
searchView
))) {
133
SearchViewCompat.setQuery(
searchView
, null, true);
139
MenuItemCompat.setActionView(item,
searchView
);
LoaderRetainedSupport.java
107
View
searchView
= SearchViewCompat.newSearchView(getActivity());
108
if (
searchView
!= null) {
109
SearchViewCompat.setOnQueryTextListener(
searchView
,
130
MenuItemCompat.setActionView(item,
searchView
);
LoaderCustomSupport.java
444
final View
searchView
= SearchViewCompat.newSearchView(getActivity());
445
if (
searchView
!= null) {
446
SearchViewCompat.setOnQueryTextListener(
searchView
,
457
SearchViewCompat.setOnCloseListener(
searchView
,
461
if (!TextUtils.isEmpty(SearchViewCompat.getQuery(
searchView
))) {
462
SearchViewCompat.setQuery(
searchView
, null, true);
468
MenuItemCompat.setActionView(item,
searchView
);
/developers/build/prebuilts/gradle/BasicContactables/BasicContactablesSample/src/main/java/com/example/android/basiccontactables/
MainActivity.java
24
import android.widget.
SearchView
;
82
// Associate searchable configuration with the
SearchView
85
SearchView
searchView
=
86
(
SearchView
) menu.findItem(R.id.search).getActionView();
87
searchView
.setSearchableInfo(
/developers/samples/android/content/contacts/BasicContactables/BasicContactablesSample/src/main/java/com/example/android/basiccontactables/
MainActivity.java
24
import android.widget.
SearchView
;
82
// Associate searchable configuration with the
SearchView
85
SearchView
searchView
=
86
(
SearchView
) menu.findItem(R.id.search).getActionView();
87
searchView
.setSearchableInfo(
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/
MainActivity.java
24
import android.widget.
SearchView
;
82
// Associate searchable configuration with the
SearchView
85
SearchView
searchView
=
86
(
SearchView
) menu.findItem(R.id.search).getActionView();
87
searchView
.setSearchableInfo(
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
WordActivity.java
31
import android.widget.
SearchView
;
74
SearchView
searchView
= (
SearchView
) menu.findItem(R.id.search).getActionView();
75
searchView
.setSearchableInfo(searchManager.getSearchableInfo(getComponentName()));
76
searchView
.setIconifiedByDefault(false);
SearchableDictionary.java
34
import android.widget.
SearchView
;
137
SearchView
searchView
= (
SearchView
) menu.findItem(R.id.search).getActionView();
138
searchView
.setSearchableInfo(searchManager.getSearchableInfo(getComponentName()));
139
searchView
.setIconifiedByDefault(false);
/development/samples/ApiDemos/src/com/example/android/apis/app/
ActionBarUsage.java
24
import android.widget.
SearchView
;
25
import android.widget.
SearchView
.OnQueryTextListener;
52
SearchView
searchView
= (
SearchView
) menu.findItem(R.id.action_search).getActionView();
53
searchView
.setOnQueryTextListener(this);
81
// The following callbacks are called for the
SearchView
.OnQueryChangeListener
82
// For more about using
SearchView
, see src/.../view/SearchView1.java and SearchView2.java
/development/samples/Support7Demos/src/com/example/android/supportv7/app/
ActionBarUsage.java
24
import android.support.v7.widget.
SearchView
;
53
SearchView
searchView
= (
SearchView
) MenuItemCompat
55
searchView
.setOnQueryTextListener(mOnQueryTextListener);
83
// The following callbacks are called for the
SearchView
.OnQueryChangeListener
84
// For more about using
SearchView
, see src/.../view/SearchView1.java and SearchView2.java
85
private final
SearchView
.OnQueryTextListener mOnQueryTextListener =
86
new
SearchView
.OnQueryTextListener() {
/development/samples/ApiDemos/src/com/example/android/apis/view/
WindowFocusObserver.java
28
import android.widget.
SearchView
;
34
public class WindowFocusObserver extends Activity implements
SearchView
.OnQueryTextListener {
62
SearchView
searchView
= (
SearchView
) menu.findItem(R.id.action_search).getActionView();
63
searchView
.setOnQueryTextListener(this);
ContentBrowserActivity.java
38
import android.widget.
SearchView
;
43
import android.widget.
SearchView
.OnQueryTextListener;
187
SearchView
searchView
= (
SearchView
) menu.findItem(R.id.action_search).getActionView();
188
searchView
.setOnQueryTextListener(this);
ContentBrowserNavActivity.java
38
import android.widget.
SearchView
;
43
import android.widget.
SearchView
.OnQueryTextListener;
189
SearchView
searchView
= (
SearchView
) menu.findItem(R.id.action_search).getActionView();
190
searchView
.setOnQueryTextListener(this);
VideoPlayerActivity.java
37
import android.widget.
SearchView
;
42
import android.widget.
SearchView
.OnQueryTextListener;
211
SearchView
searchView
= (
SearchView
) menu.findItem(R.id.action_search).getActionView();
212
searchView
.setOnQueryTextListener(this);
/development/samples/ControllerSample/libs/
android-support-v4.jar
/development/samples/training/ContactsList/libs/
android-support-v4.jar
/development/samples/training/EffectiveNavigation/libs/
android-support-v4.jar
/prebuilts/maven_repo/android/com/android/support/support-v4/13.0.0/
support-v4-13.0.0.jar
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
ContactsListFragment.java
55
import android.widget.
SearchView
;
81
* On newer API platforms, the search is implemented in a
SearchView
in the ActionBar; as the user
125
* In platform versions prior to Android 3.0, the ActionBar and
SearchView
are not supported,
319
// searches. In Android 3.0 and later, searching is done via a
SearchView
in the ActionBar.
326
// In version 3.0 and later, sets up and configures the ActionBar
SearchView
333
// Retrieves the
SearchView
from the search menu item
334
final
SearchView
searchView
= (
SearchView
) searchItem.getActionView();
336
// Assign searchable info to
SearchView
[
all
...]
/development/samples/training/NavigationDrawer/libs/
android-support-v4.jar
Completed in 818 milliseconds
1
2
3