/packages/apps/Contacts/src/com/android/contacts/list/ |
JoinContactListAdapter.java | 20 import android.database.Cursor; 116 public void setSuggestionsCursor(Cursor cursor) { 117 changeCursor(PARTITION_SUGGESTIONS, cursor); 121 public void changeCursor(Cursor cursor) { 122 changeCursor(PARTITION_ALL_CONTACTS, cursor); 142 protected View newHeaderView(Context context, int partition, Cursor cursor, 163 protected void bindHeaderView(View view, int partitionIndex, Cursor cursor) [all...] |
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
SmartDialCursorLoader.java | 21 import android.database.Cursor; 35 * Implements a Loader<Cursor> class to asynchronously load SmartDial search results. 37 public class SmartDialCursorLoader extends AsyncTaskLoader<Cursor> { 44 private Cursor mCursor; 70 * @return Cursor of contacts that matches the SmartDial query. 73 public Cursor loadInBackground() { 88 /** Constructs a cursor for the returned array of results. */ 89 final MatrixCursor cursor = new MatrixCursor(PhoneQuery.PROJECTION_PRIMARY); local 98 cursor.addRow(row); 100 return cursor; [all...] |
/external/clang/tools/libclang/ |
CXCursor.h | 66 /// \brief Unpack an ObjCSuperClassRef cursor into the interface it references 76 /// \brief Unpack an ObjCProtocolRef cursor into the protocol it references 86 /// \brief Unpack an ObjCClassRef cursor into the class it references 95 /// \brief Unpack a TypeRef cursor into the class it references 103 /// \brief Unpack a TemplateRef cursor into the template it references and 113 /// \brief Unpack a NamespaceRef cursor into the namespace or namespace alias 121 /// \brief Unpack a VariableRef cursor into the variable it references and the 129 /// \brief Unpack a MemberRef cursor into the field it references and the 133 /// \brief Create a CXX base specifier cursor. 137 /// \brief Unpack a CXXBaseSpecifier cursor into a CXXBaseSpecifier [all...] |
/external/chromium-trace/trace-viewer/src/ui/ |
tool_button.css | 11 cursor: pointer; 16 cursor: auto;
|
/external/clang/test/Format/ |
cursor.cpp | 2 // RUN: clang-format -style=LLVM %t2.cpp -cursor=6 > %t.cpp 4 // CHECK: {{^\{ "Cursor": 4 \}$}}
|
/external/clang/test/Index/ |
remap-cursor-at.c | 1 // RUN: c-index-test -cursor-at=%s:1:15 -cursor-at=%s:2:21 -remap-file="%s;%S/Inputs/remap-load-to.c" %s | FileCheck %s
|
/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_WarpMouse.3 | 3 SDL_WarpMouse \- Set the position of the mouse cursor\&. 11 Set the position of the mouse cursor (generates a mouse motion event)\&.
|
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
SDL_nxmouse.c | 32 // The implementation dependent data for the window manager cursor 40 WMcursor * cursor ; local 44 cursor = (WMcursor *) SDL_malloc (sizeof (WMcursor)) ; 45 if (cursor == NULL) { 51 return cursor ; 54 void NX_FreeWMCursor (_THIS, WMcursor * cursor) 57 SDL_free (cursor) ; 75 int NX_ShowWMCursor (_THIS, WMcursor * cursor)
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalImage.java | 22 import android.database.Cursor; 107 public LocalImage(Path path, GalleryApp application, Cursor cursor) { 110 loadFromCursor(cursor); 118 Cursor cursor = LocalAlbum.getItemCursor(resolver, uri, PROJECTION, id); local 119 if (cursor == null) { 120 throw new RuntimeException("cannot get cursor for: " + path); 123 if (cursor.moveToNext()) { 124 loadFromCursor(cursor); [all...] |
/dalvik/dx/src/com/android/dx/io/instructions/ |
CodeCursor.java | 20 * Cursor over code units, for reading or writing out Dalvik bytecode. 24 * Gets the cursor. The cursor is the offset in code units from 29 public int cursor(); method in interface:CodeCursor 32 * Gets the base address associated with the current cursor. This 33 * differs from the cursor value when explicitly set (by {@link
|
/developers/build/prebuilts/gradle/BasicContactables/BasicContactablesSample/src/main/java/com/example/android/basiccontactables/ |
ContactablesLoaderCallbacks.java | 23 import android.database.Cursor; 34 public class ContactablesLoaderCallbacks implements LoaderManager.LoaderCallbacks<Cursor> { 47 public Loader<Cursor> onCreateLoader(int loaderIndex, Bundle args) { 80 public void onLoadFinished(Loader<Cursor> arg0, Cursor cursor) { 93 if (cursor.getCount() == 0) { 97 // Pulling the relevant value from the cursor requires knowing the column index to pull 100 int phoneColumnIndex = cursor.getColumnIndex(CommonDataKinds.Phone.NUMBER); 101 int emailColumnIndex = cursor.getColumnIndex(CommonDataKinds.Email.ADDRESS) [all...] |
/developers/samples/android/content/contacts/BasicContactables/BasicContactablesSample/src/main/java/com/example/android/basiccontactables/ |
ContactablesLoaderCallbacks.java | 23 import android.database.Cursor; 34 public class ContactablesLoaderCallbacks implements LoaderManager.LoaderCallbacks<Cursor> { 47 public Loader<Cursor> onCreateLoader(int loaderIndex, Bundle args) { 80 public void onLoadFinished(Loader<Cursor> arg0, Cursor cursor) { 93 if (cursor.getCount() == 0) { 97 // Pulling the relevant value from the cursor requires knowing the column index to pull 100 int phoneColumnIndex = cursor.getColumnIndex(CommonDataKinds.Phone.NUMBER); 101 int emailColumnIndex = cursor.getColumnIndex(CommonDataKinds.Email.ADDRESS) [all...] |
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/utils/ |
CloseUtils.java | 19 import android.database.Cursor; 44 /** If the argument is non-null, close the cursor. */ 45 public static void closeQuietly(Cursor cursor) { 46 if (cursor != null) { 47 cursor.close();
|
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/ |
ContactablesLoaderCallbacks.java | 23 import android.database.Cursor; 34 public class ContactablesLoaderCallbacks implements LoaderManager.LoaderCallbacks<Cursor> { 47 public Loader<Cursor> onCreateLoader(int loaderIndex, Bundle args) { 80 public void onLoadFinished(Loader<Cursor> arg0, Cursor cursor) { 93 if (cursor.getCount() == 0) { 97 // Pulling the relevant value from the cursor requires knowing the column index to pull 100 int phoneColumnIndex = cursor.getColumnIndex(CommonDataKinds.Phone.NUMBER); 101 int emailColumnIndex = cursor.getColumnIndex(CommonDataKinds.Email.ADDRESS) [all...] |
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/ |
CodeCursor.java | 20 * Cursor over code units, for reading or writing out Dalvik bytecode. 24 * Gets the cursor. The cursor is the offset in code units from 29 public int cursor(); method in interface:CodeCursor 32 * Gets the base address associated with the current cursor. This 33 * differs from the cursor value when explicitly set (by {@link
|
/frameworks/base/core/java/android/database/ |
DataSetObserver.java | 21 * that are observed are {@link Cursor}s or {@link android.widget.Adapter}s. 27 * most likely through a call to {@link Cursor#requery()} on a {@link Cursor}. 35 * most likely through a call to {@link Cursor#deactivate()} or {@link Cursor#close()} on a 36 * {@link Cursor}.
|
/frameworks/ex/common/java/com/android/common/io/ |
MoreCloseables.java | 20 import android.database.Cursor; 26 * Closes the supplied cursor iff it is not null. 28 public static void closeQuietly(Cursor cursor) { 29 if (cursor != null) { 30 cursor.close();
|
/frameworks/support/v4/java/android/support/v4/content/ |
CursorLoader.java | 21 import android.database.Cursor; 35 public class CursorLoader extends AsyncTaskLoader<Cursor> { 44 Cursor mCursor; 48 public Cursor loadInBackground() { 49 Cursor cursor = getContext().getContentResolver().query(mUri, mProjection, mSelection, local 51 if (cursor != null) { 52 // Ensure the cursor window is filled 53 cursor.getCount(); 54 cursor.registerContentObserver(mObserver) [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SuggestionPosition.java | 30 public SuggestionPosition(SuggestionCursor cursor) { 31 this(cursor, cursor.getPosition()); 34 public SuggestionPosition(SuggestionCursor cursor, int suggestionPos) { 35 mCursor = cursor; 44 * Gets the suggestion cursor, moved to point to the right suggestion.
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
MemoryCursor.java | 19 import android.database.Cursor; 24 * Implementation of an in-memory cursor backed by a cursor window. 35 public void fillFromCursor(Cursor cursor) { 36 DatabaseUtils.cursorFillWindow(cursor, 0, getWindow());
|
/frameworks/base/core/java/android/widget/ |
AlphabetIndexer.java | 19 import android.database.Cursor; 28 * invalidates the cache if changes occur in the cursor. 30 * Your adapter is responsible for updating the cursor by calling {@link #setCursor} if the 31 * cursor changes. {@link #getPositionForSection} method does the binary search for the starting 37 * Cursor that is used by the adapter of the list view. 39 protected Cursor mDataCursor; 42 * The index of the cursor column that this list is sorted on. 58 * the dataset changes or the cursor changes. 74 * @param cursor the cursor containing the data se 148 final Cursor cursor = mDataCursor; local [all...] |
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/ |
SourceLatency.java | 25 import android.database.Cursor; 139 Cursor cursor = null; local 142 cursor = getSuggestions(searchable, query); 145 if (cursor == null) { 146 Log.d(TAG, src + ": null cursor in " + formatTime(elapsed) 149 Log.d(TAG, src + ": " + cursor.getCount() + " rows in " + formatTime(elapsed) 154 if (cursor != null) { 155 cursor.close(); 160 public Cursor getSuggestions(SearchableInfo searchable, String query) 234 Cursor cursor = null; local [all...] |
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
VoicemailProviderHelpers.java | 27 import android.database.Cursor; 161 Cursor cursor = null; local 163 cursor = mContentResolver.query(mBaseUri, FULL_PROJECTION, 166 if (cursor.getCount() != 1) { 168 cursor.getCount()); 171 cursor.moveToFirst(); 172 return getVoicemailFromCursor(cursor); 174 CloseUtils.closeQuietly(cursor); 180 Cursor cursor = null local 233 Cursor cursor = null; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
SDL_riscosmouse.c | 28 Implements mouse cursor shape definitions and positioning 44 /* Area to save cursor palette colours changed by SDL. 45 Actual values will be read before we change to the SDL cursor */ 58 void RISCOS_FreeWMCursor(_THIS, WMcursor *cursor) 60 SDL_free(cursor->data); 61 SDL_free(cursor); 67 WMcursor *cursor; local 73 /* Check to make sure the cursor size is okay */ 79 /* Allocate the cursor */ 80 cursor = (WMcursor *)SDL_malloc(sizeof(*cursor)) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
AutoComplete4.java | 24 import android.database.Cursor; 44 Cursor cursor = content.query(Contacts.CONTENT_URI, local 47 ContactListAdapter adapter = new ContactListAdapter(this, cursor); 57 public ContactListAdapter(Context context, Cursor c) { 63 public View newView(Context context, Cursor cursor, ViewGroup parent) { 67 view.setText(cursor.getString(COLUMN_DISPLAY_NAME)); 72 public void bindView(View view, Context context, Cursor cursor) { [all...] |