• BlackBerry Dynamics
  • Runtime library for Android applications
  • 13.2.0.34
GDSearchView Class Reference

Replacement for native widget class. More...

Inherits SearchView.

Description

This class is a replacement for the native android.widget.SearchView class. BlackBerry Dynamics applications must utilize this class instead of the native class in order to enable secure cut-copy-paste operations.

This class has the same programming interface as the native class.

See also
android.widget.SearchView on the android.com developer website.
com.good.gd.widget package reference for details of secure cut-copy-paste operations.

Public Member Functions

void setSearchableInfo (final SearchableInfo searchable)
 
void setImeOptions (final int imeOptions)
 
int getImeOptions ()
 
void setInputType (final int inputType)
 
int getInputType ()
 
boolean requestFocus (final int direction, final Rect previouslyFocusedRect)
 
void clearFocus ()
 
CharSequence getQuery ()
 
void setQuery (final CharSequence query, final boolean submit)
 
void setQueryHint (final CharSequence hint)
 
void setSuggestionsAdapter (final CursorAdapter adapter)
 
void setSubmitButtonEnabled (final boolean enabled)
 
void setIconifiedByDefault (final boolean iconified)
 
boolean onKeyDown (final int keyCode, final KeyEvent event)
 
void onWindowFocusChanged (final boolean hasWindowFocus)
 
void onActionViewCollapsed ()
 
void onActionViewExpanded ()
 
void setIconified (final boolean iconify)
 
void onRtlPropertiesChanged (final int layoutDirection)
 

Protected Member Functions

void onDetachedFromWindow ()
 

Member Function Documentation

◆ setSearchableInfo()

void setSearchableInfo ( final SearchableInfo  searchable)
See also
android.widget.SearchView::setSearchableInfo(android.app.SearchableInfo)

DESNOTE rlozhkin: changed to use GDSearchAutoCompleteTextView instance.

◆ setImeOptions()

void setImeOptions ( final int  imeOptions)
See also
android.widget.SearchView::setImeOptions(int)

◆ getImeOptions()

int getImeOptions ( )
See also
android.widget.SearchView::getImeOptions()

◆ setInputType()

void setInputType ( final int  inputType)
See also
android.widget.SearchView::setInputType(int)

◆ getInputType()

int getInputType ( )
See also
android.widget.SearchView::getInputType()

◆ requestFocus()

boolean requestFocus ( final int  direction,
final Rect  previouslyFocusedRect 
)
See also
android.widget.SearchView::requestFocus(int, android.graphics.Rect)

◆ clearFocus()

void clearFocus ( )
See also
android.widget.SearchView::clearFocus()

◆ getQuery()

CharSequence getQuery ( )
See also
android.widget.SearchView::getQuery().

◆ setQuery()

void setQuery ( final CharSequence  query,
final boolean  submit 
)
See also
android.widget.SearchView::setQuery(CharSequence, boolean)

◆ setQueryHint()

void setQueryHint ( final CharSequence  hint)
See also
android.widget.SearchView::setQueryHint(CharSequence)

◆ setSuggestionsAdapter()

void setSuggestionsAdapter ( final CursorAdapter  adapter)
See also
android.widget.SearchView::setSuggestionsAdapter(android.widget.CursorAdapter)

◆ setSubmitButtonEnabled()

void setSubmitButtonEnabled ( final boolean  enabled)
See also
android.widget.SearchView::setSubmitButtonEnabled(boolean)

◆ setIconifiedByDefault()

void setIconifiedByDefault ( final boolean  iconified)
See also
android.widget.SearchView::setIconifiedByDefault(boolean)

◆ onDetachedFromWindow()

void onDetachedFromWindow ( )
protected
See also
android.widget.SearchView::onDetachedFromWindow()

◆ onKeyDown()

boolean onKeyDown ( final int  keyCode,
final KeyEvent  event 
)
See also
android.widget.SearchView::onKeyDown(int, android.view.KeyEvent)

◆ onWindowFocusChanged()

void onWindowFocusChanged ( final boolean  hasWindowFocus)
See also
android.widget.SearchView::onWindowFocusChanged(boolean)

◆ onActionViewCollapsed()

void onActionViewCollapsed ( )
See also
android.widget.SearchView::onActionViewCollapsed()

◆ onActionViewExpanded()

void onActionViewExpanded ( )
See also
android.widget.SearchView::onActionViewExpanded()

◆ setIconified()

void setIconified ( final boolean  iconify)
See also
android.widget.SearchView::setIconified(boolean)

◆ onRtlPropertiesChanged()

void onRtlPropertiesChanged ( final int  layoutDirection)
See also
android.widget.SearchView::onRtlPropertiesChanged(int)