/external/smack/src/org/apache/harmony/javax/security/auth/callback/ |
ChoiceCallback.java | 95 public void setSelectedIndex(int selection) { 97 this.selections[0] = selection;
|
/frameworks/ex/common/java/com/android/common/content/ |
SQLiteContentProvider.java | 76 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, 82 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs); 148 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 155 count = updateInTransaction(uri, values, selection, selectionArgs); 166 count = updateInTransaction(uri, values, selection, selectionArgs); 176 public int delete(Uri uri, String selection, String[] selectionArgs) { 183 count = deleteInTransaction(uri, selection, selectionArgs); 194 count = deleteInTransaction(uri, selection, selectionArgs);
|
/packages/apps/Browser/src/com/android/browser/provider/ |
SQLiteContentProvider.java | 75 public abstract int updateInTransaction(Uri uri, ContentValues values, String selection, 81 public abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, 149 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 157 count = updateInTransaction(uri, values, selection, selectionArgs, 166 count = updateInTransaction(uri, values, selection, selectionArgs, callerIsSyncAdapter); 173 public int delete(Uri uri, String selection, String[] selectionArgs) { 181 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter); 189 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
NoNullCursorAsyncQueryHandler.java | 36 public void startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, 39 super.startQuery(token, projectionCookie, uri, projection, selection, selectionArgs,
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
SQLiteContentProvider.java | 83 public abstract int updateInTransaction(Uri uri, ContentValues values, String selection, 90 public abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, 159 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 167 count = updateInTransaction(uri, values, selection, selectionArgs, 176 count = updateInTransaction(uri, values, selection, selectionArgs, callerIsSyncAdapter); 183 public int delete(Uri uri, String selection, String[] selectionArgs) { 191 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter); 199 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
SQLiteContentProvider.java | 69 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, 75 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, 144 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 153 count = updateInTransaction(uri, values, selection, selectionArgs, 166 count = updateInTransaction(uri, values, selection, selectionArgs, 177 public int delete(Uri uri, String selection, String[] selectionArgs) { 186 count = deleteInTransaction(uri, selection, selectionArgs, isCallerSyncAdapter); 198 count = deleteInTransaction(uri, selection, selectionArgs, isCallerSyncAdapter);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
DeletedContactUtil.java | 76 String selection = DeletedContacts.CONTACT_DELETED_TIMESTAMP + ">?"; local 78 Cursor cursor = resolver.query(URI, projection, selection, args, null);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
GlobalCanvasDragInfo.java | 70 * multi-selection it will be the element under the mouse as the 71 * selection was initiated 72 * @param selection The selection (which can be null, for example when the 82 @Nullable SelectionItem[] selection, 86 mCurrentSelection = selection; 110 /** Returns the selection originally dragged.
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
TemplateTestWizard.java | 38 public void init(IWorkbench workbench, IStructuredSelection selection) { 39 super.init(workbench, selection);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/actions/ |
AddNativeAction.java | 60 public void selectionChanged(IAction action, ISelection selection) { 61 mSelection = selection;
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/ui/ |
preview_panel.js | 90 * Sequence value that is incremented by every selection update and is used to 122 // Preview panel shows when the selection property are set. 188 * Apply the selection and update the view of the preview panel. 189 * @param {FileSelection} selection Selection to be applied. 191 PreviewPanel.prototype.setSelection = function(selection) { 193 this.selection_ = selection; 249 var selection = this.selection_; 252 this.thumbnails.selection = selection.totalCount !== 0 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintListDialog.java | 207 List<IMarker> selection = mList.getSelectedMarkers(); local 208 if (selection.size() > 0) { 209 EclipseLintClient.showMarker(selection.get(0)); 212 List<IMarker> selection = mList.getSelectedMarkers(); local 213 for (IMarker marker : selection) { 263 List<IMarker> selection = mList.getSelectedMarkers(); local 265 if (selection.size() == 1) { 266 selectMarker(selection.get(0)); 271 boolean canFix = selection.size() > 0; 272 for (IMarker marker : selection) { 296 List<IMarker> selection = mList.getSelectedMarkers(); local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_ArtistsTest.java | 76 String selection = Artists.ARTIST + "=?"; local 80 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); 96 mContentResolver.update(artistsUri, artistValues, selection, selectionArgs); 104 mContentResolver.delete(artistsUri, selection, selectionArgs); 128 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
DirectoryListLoader.java | 122 String selection; local 125 selection = mLocalInvisibleDirectoryEnabled ? null 130 selection = Directory.SHORTCUT_SUPPORT + "=" + Directory.SHORTCUT_SUPPORT_FULL 136 selection = Directory.SHORTCUT_SUPPORT + " IN (" 149 DirectoryQuery.PROJECTION, selection, null, DirectoryQuery.ORDER_BY);
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
TransactionSettings.java | 65 String selection = Telephony.Carriers.CURRENT + " IS NOT NULL"; local 68 selection += " AND " + Telephony.Carriers.APN + "=?"; 74 APN_PROJECTION, selection, selectionArgs, null); 77 Log.v(TAG, "TransactionSettings looking for apn: " + selection + " returned: " + 119 Log.v(TAG, "APN setting: MMSC: " + mServiceCenter + " looked for: " + selection);
|
/packages/apps/Camera2/src/com/android/camera/crop/ |
CropDrawingUtils.java | 84 RectF bounds, boolean fixedAspect, int selection) { 85 boolean notMoving = (selection == CropObject.MOVE_NONE); 87 if ((selection == CropObject.TOP_LEFT) || notMoving) { 90 if ((selection == CropObject.TOP_RIGHT) || notMoving) { 93 if ((selection == CropObject.BOTTOM_LEFT) || notMoving) { 96 if ((selection == CropObject.BOTTOM_RIGHT) || notMoving) { 100 if (((selection & CropObject.MOVE_TOP) != 0) || notMoving) { 103 if (((selection & CropObject.MOVE_BOTTOM) != 0) || notMoving) { 106 if (((selection & CropObject.MOVE_LEFT) != 0) || notMoving) { 109 if (((selection & CropObject.MOVE_RIGHT) != 0) || notMoving) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
HandleApiCalls.java | 106 final StringBuilder selection = new StringBuilder(); local 108 setSelectionFromIntent(intent, hour, minutes, selection, args); 113 selection.toString(), 252 StringBuilder selection, 254 selection.append(Alarm.HOUR).append("=?"); 256 selection.append(" AND ").append(Alarm.MINUTES).append("=?"); 260 selection.append(" AND ").append(Alarm.LABEL).append("=?"); 266 selection.append(" AND ").append(Alarm.DAYS_OF_WEEK).append("=?"); 271 selection.append(" AND ").append(Alarm.VIBRATE).append("=?"); 276 selection.append(" AND ").append(Alarm.RINGTONE).append("=?") [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropDrawingUtils.java | 84 RectF bounds, boolean fixedAspect, int selection) { 85 boolean notMoving = (selection == CropObject.MOVE_NONE); 87 if ((selection == CropObject.TOP_LEFT) || notMoving) { 90 if ((selection == CropObject.TOP_RIGHT) || notMoving) { 93 if ((selection == CropObject.BOTTOM_LEFT) || notMoving) { 96 if ((selection == CropObject.BOTTOM_RIGHT) || notMoving) { 100 if (((selection & CropObject.MOVE_TOP) != 0) || notMoving) { 103 if (((selection & CropObject.MOVE_BOTTOM) != 0) || notMoving) { 106 if (((selection & CropObject.MOVE_LEFT) != 0) || notMoving) { 109 if (((selection & CropObject.MOVE_RIGHT) != 0) || notMoving) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
HyperlinksTest.java | 254 Point selection = null; local 259 selection = xmlEditor.getStructuredSourceViewer().getSelectedRange(); 271 selection = textViewer.getSelectedRange(); 290 selection = new Point(range.getOffset(), range.getLength()); 296 if (document != null && selection != null) { 297 int lineStart = document.getLineInformationOfOffset(selection.x).getOffset(); 298 IRegion lineEndInfo = document.getLineInformationOfOffset(selection.x + selection.y); 301 int selectionStart = selection.x - lineStart; 302 int selectionEnd = selectionStart + selection.y [all...] |
/external/chromium_org/chrome/browser/history/android/ |
android_provider_backend.cc | 139 const std::string& selection, 152 return QueryHistoryAndBookmarksInternal(projections, selection, 158 const std::string& selection, 165 if (!UpdateHistoryAndBookmarks(row, selection, selection_args, updated_count, 190 const std::string& selection, 197 if (!DeleteHistoryAndBookmarks(selection, selection_args, deleted_count, 207 const std::string& selection, 214 if (!DeleteHistory(selection, selection_args, deleted_count, 292 const std::string& selection, 306 if (!GetSelectedURLs(selection, selection_args, &ids_set) [all...] |
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/ |
drag_selector.js | 9 * TODO(hirono): Support drag selection for grid view. crbug.com/224832 14 * Target list of drag selection. 63 * Flag that shows whether the item is included in the selection or not. 94 * Starts drag selection by reacting dragstart event. 98 * @param {cr.ui.List} list List where the drag selection starts. 106 // Set the target of the drag selection 124 this.border_.className = 'drag-selection-border'; 132 // If no modifier key is pressed, clear the original selection. 150 // Get the selection bounds. 161 // Collect items within the selection rect [all...] |
/frameworks/base/core/java/android/content/ |
ContentProvider.java | 192 String selection, String[] selectionArgs, String sortOrder, 195 return rejectQuery(uri, projection, selection, selectionArgs, sortOrder, 201 uri, projection, selection, selectionArgs, sortOrder, 267 public int delete(String callingPkg, Uri uri, String selection, String[] selectionArgs) { 273 return ContentProvider.this.delete(uri, selection, selectionArgs); 280 public int update(String callingPkg, Uri uri, ContentValues values, String selection, 287 return ContentProvider.this.update(uri, values, selection, selectionArgs); 713 * rewrites the <var>selection</var> argument to include a condition 719 String selection, String[] selectionArgs, String sortOrder, 722 // selection statement with a dummy one that will always be false [all...] |
SearchRecentSuggestionsProvider.java | 225 public int delete(Uri uri, String selection, String[] selectionArgs) { 236 count = db.delete(sSuggestions, selection, selectionArgs); 319 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 369 // Tack on the user's selection, if present 370 if (selection != null && selection.length() > 0) { 376 whereClause.append(selection); 393 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardComposer.java | 291 * String selection = Data.CONTACT_ID + "=?"; 294 * contentUriForRawContactsEntity, null, selection, selectionArgs, null) 310 * Initializes this object using default {@link Contacts#CONTENT_URI} and given selection 313 public boolean init(final String selection, final String[] selectionArgs) { 314 return init(Contacts.CONTENT_URI, sContactsProjection, selection, selectionArgs, 321 public boolean init(final Uri contentUri, final String selection, 323 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, null); 329 * @param selection selection used with 339 public boolean init(final Uri contentUri, final String selection, 503 final String selection = Data.CONTACT_ID + "=?"; local [all...] |
/external/chromium/chrome/browser/autocomplete/ |
autocomplete_edit_view_win.cc | 515 CHARRANGE selection; local 516 GetSelection(selection); 517 const int start = std::max(0, static_cast<int>(selection.cpMax - 1)); 531 CHARRANGE selection; local 532 GetSelection(selection); 536 State(selection, saved_selection_for_focus_change_))); 571 // Restore user's selection. We do this after restoring the user_text 573 SetSelectionRange(state->view_state.selection); 588 // NOTE: The selection can be longer than the text length if the edit is in 675 CHARRANGE selection; local 686 CHARRANGE selection; local 1649 CHARRANGE selection; local 1895 CHARRANGE selection; local 1946 CHARRANGE selection; local 1955 CHARRANGE selection; local 2009 CHARRANGE selection; local 2536 CHARRANGE selection; local [all...] |