/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/draw2d/ |
ICursorConstants.java | 14 import org.eclipse.swt.graphics.Cursor; 24 * System resize west-east cursor 26 Cursor SIZEWE = new Cursor(null, SWT.CURSOR_SIZEWE); 28 * System resize north-south cursor 30 Cursor SIZENS = new Cursor(null, SWT.CURSOR_SIZENS); 32 * System resize all directions cursor. 35 // The SWT CURSOR_SIZEALL cursor looks wrong; it's cross hairs. Use a hand for resizing 38 //Cursor SIZEALL = new Cursor(null, SWT.CURSOR_SIZEALL) [all...] |
/frameworks/base/core/java/android/widget/ |
FilterQueryProvider.java | 19 import android.database.Cursor; 39 * @return a Cursor representing the results of the new query 41 Cursor runQuery(CharSequence constraint);
|
CursorFilter.java | 19 import android.database.Cursor; 32 CharSequence convertToString(Cursor cursor); 33 Cursor runQueryOnBackgroundThread(CharSequence constraint); 34 Cursor getCursor(); 35 void changeCursor(Cursor cursor); 44 return mClient.convertToString((Cursor) resultValue); 49 Cursor cursor = mClient.runQueryOnBackgroundThread(constraint) local [all...] |
CursorTreeAdapter.java | 22 import android.database.Cursor; 31 * An adapter that exposes data from a series of {@link Cursor}s to an 32 * {@link ExpandableListView} widget. The top-level {@link Cursor} (that is 33 * given in the constructor) exposes the groups, while subsequent {@link Cursor}s 34 * returned from {@link #getChildrenCursor(Cursor)} expose children within a 44 /** The cursor helper that is used to get the groups */ 48 * The map of a group position to the group's children cursor helper (the 49 * cursor helper that is used to get the children for that group) 58 * Constructor. The adapter will call {@link Cursor#requery()} on the cursor wheneve 196 Cursor cursor = mGroupCursorHelper.moveTo(groupPosition); local 240 Cursor cursor = cursorHelper.moveTo(childPosition); local [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/database/ |
CursorMapper.java | 16 import android.database.Cursor; 19 * Abstract class used to convert the current {@link Cursor} row to a single 24 private Cursor mCursor; 27 * Called once when the associated {@link Cursor} is changed. A subclass 31 protected abstract void bindColumns(Cursor cursor); 38 protected abstract Object bind(Cursor cursor); 41 * Convert a {@link Cursor} at its current position to an Object. 43 public Object convert(Cursor cursor) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
CursorCreator.java | 19 import android.database.Cursor; 22 * An object that knows how to create its implementing class using a single row of a cursor alone. 28 * Creates an object using the current row of the cursor given here. The implementation should 29 * not advance/rewind the cursor, and is only allowed to read the existing row. 33 T createFromCursor(Cursor c);
|
/external/llvm/unittests/Bitcode/ |
BitstreamReaderTest.cpp | 22 BitstreamCursor Cursor(Reader); 24 EXPECT_FALSE(Cursor.AtEndOfStream()); 25 (void)Cursor.Read(8); 26 EXPECT_FALSE(Cursor.AtEndOfStream()); 27 (void)Cursor.Read(24); 28 EXPECT_TRUE(Cursor.AtEndOfStream()); 30 Cursor.JumpToBit(0); 31 EXPECT_FALSE(Cursor.AtEndOfStream()); 33 Cursor.JumpToBit(32); 34 EXPECT_TRUE(Cursor.AtEndOfStream()) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
CloseUtils.java | 18 import android.database.Cursor; 27 /** If the argument is non-null, close the cursor. */ 28 public static void closeQuietly(Cursor cursor) { 29 if (cursor != null) { 30 cursor.close();
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/mock/ |
SimpleMockContentProvider.java | 20 import android.database.Cursor; 28 private Cursor mResult; 30 public SimpleMockContentProvider(Cursor result) { 35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) {
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/extensions/ |
xtestconst.h | 34 #define XTestCurrentCursor ((Cursor)1)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/extensions/ |
xtestconst.h | 34 #define XTestCurrentCursor ((Cursor)1)
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteCursorDriver.java | 19 import android.database.Cursor; 28 * Executes the query returning a Cursor over the result set. 32 * @return a Cursor over the result set 34 Cursor query(CursorFactory factory, String[] bindArgs); 44 void cursorRequeried(Cursor cursor);
|
/packages/apps/Email/src/com/android/email/data/ |
ClosingMatrixCursor.java | 19 import android.database.Cursor; 25 * {@link MatrixCursor} which takes an extra {@link Cursor} to the constructor, and close 29 private final Cursor mInnerCursor; 31 public ClosingMatrixCursor(String[] columnNames, Cursor innerCursor) {
|
/frameworks/base/core/java/android/content/ |
CursorEntityIterator.java | 19 import android.database.Cursor; 23 * Abstract implementation of EntityIterator that makes it easy to wrap a cursor 28 private final Cursor mCursor; 32 * Constructor that makes initializes the cursor such that the iterator points to the 34 * @param cursor the cursor that contains the rows that make up the entities 36 public CursorEntityIterator(Cursor cursor) { 38 mCursor = cursor; 43 * Returns the entity that the cursor is currently pointing to. This must take care to advanc [all...] |
/frameworks/base/core/java/android/database/ |
CrossProcessCursor.java | 20 * A cross process cursor is an extension of a {@link Cursor} that also supports 23 * The contents of a cross process cursor are marshalled to the remote process by 25 * the cursor can provide a pre-filled window to use via {@link #getWindow} thereby 26 * obviating the need to copy the data to yet another cursor window. 28 public interface CrossProcessCursor extends Cursor { 30 * Returns a pre-filled window that contains the data within this cursor. 32 * In particular, the window contains the row indicated by {@link Cursor#getPosition}. 42 * Copies cursor data into the window. 45 * row position until all of the data in the cursor is exhauste [all...] |
/frameworks/support/core-ui/java/android/support/v4/widget/ |
CursorFilter.java | 19 import android.database.Cursor; 33 CharSequence convertToString(Cursor cursor); 34 Cursor runQueryOnBackgroundThread(CharSequence constraint); 35 Cursor getCursor(); 36 void changeCursor(Cursor cursor); 45 return mClient.convertToString((Cursor) resultValue); 50 Cursor cursor = mClient.runQueryOnBackgroundThread(constraint) local [all...] |
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
CursorFilter.java | 18 import android.database.Cursor; 34 CharSequence convertToString(Cursor cursor); 35 Cursor runQueryOnBackgroundThread(CharSequence constraint); 36 Cursor getCursor(); 37 void changeCursor(Cursor cursor); 46 return mClient.convertToString((Cursor) resultValue); 51 Cursor cursor = mClient.runQueryOnBackgroundThread(constraint) local [all...] |
CursorRecyclerViewAdapter.java | 19 import android.database.Cursor; 25 * Adapter that exposes data from a Cursor to a {@link RecyclerView} widget. 26 * The Cursor must include an Id column or this class will not work. 32 protected Cursor mCursor; 35 public CursorRecyclerViewAdapter(Context context, Cursor cursor) { 37 mCursor = cursor; 45 public Cursor getCursor() { 65 public void onBindViewHolder(VH viewHolder, Cursor cursor) {} [all...] |
/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();
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
JoinContactLoader.java | 20 import android.database.Cursor; 28 * This loader also loads the "suggestion" cursor, which can be accessed with: 38 * class. This class is needed to tie the lifecycle of the second cursor to that of the 42 * extends AsyncTaskLoader<Cursor>, not AsyncTaskLoader<? extends Cursor> 45 public final Cursor suggestionCursor; 47 public JoinContactLoaderResult(Cursor baseCursor, Cursor suggestionCursor) { 81 public Cursor loadInBackground() { 84 final Cursor suggestionsCursor = getContext().getContentResolver( [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationCursorOperationListener.java | 19 import android.database.Cursor; 24 * Marks all contents of this cursor as seen. 35 * Invokes {@link ConversationCursorOperationListener#markContentsSeen(Cursor)} on the 36 * specified {@link Cursor}, recursively calls {@link #markContentsSeen(Cursor)} on a 37 * wrapped cursor, or returns. 39 public static void markContentsSeen(final Cursor cursor) { 40 if (cursor == null) { 44 if (cursor instanceof ConversationCursorOperationListener) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
SystemFolderSelectorAdapter.java | 21 import android.database.Cursor; 29 public SystemFolderSelectorAdapter(Context context, Cursor folders, 34 public SystemFolderSelectorAdapter(Context context, Cursor folders,
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhoneLookupWithStarPrefix.java | 20 import android.database.Cursor; 34 * Returns a cursor with a subset of the rows passed into this function. If {@param number} 35 * starts with a "*" then only rows from {@param cursor} that have a number equal to 37 * only rows from {@param cursor} that have numbers without starting "*" characters 43 * @param cursor this function takes ownership of the cursor. The calling scope MUST NOT 44 * use or close() the cursor passed into this function. The cursor must contain 47 * @return a cursor that the calling context owns 49 public static Cursor removeNonStarMatchesFromCursor(String number, Cursor cursor) [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();
|
/packages/apps/Gallery2/src/com/android/photos/adapters/ |
PhotoThumbnailAdapter.java | 20 import android.database.Cursor; 36 private LoaderCompatShim<Cursor> mDrawableFactory; 43 public void setDrawableFactory(LoaderCompatShim<Cursor> factory) { 48 public void bindView(View view, Context context, Cursor cursor) { 51 Drawable drawable = mDrawableFactory.drawableForItem(cursor, recycle); 58 public View newView(Context context, Cursor cursor, ViewGroup parent) { 65 Cursor cursor = getItem(position) local [all...] |