/external/chromium/chrome/browser/resources/file_manager/js/ |
file_manager.js | 70 this.addEventListener('selection-summarized', 575 this.selection.totalCount == 1); 710 this.deleteEntries(this.selection.entries); 892 if (this.selection && this.selection.entries.indexOf(entry) != -1) { [all...] |
/external/chromium_org/third_party/WebKit/Source/core/page/ |
DragController.cpp | 193 bool DragController::dragIsMove(FrameSelection& selection, DragData* dragData) 195 return m_documentUnderMouse == m_dragInitiator && selection.isContentEditable() && selection.isRange() && !isCopyKeyDown(dragData); 198 // FIXME: This method is poorly named. We're just clearing the selection from the document this drag is exiting. 278 // If we were over another document clear the selection 383 dragSession.operation = dragIsMove(innerFrame->selection(), dragData) ? DragOperationMove : DragOperationCopy; 430 frame->selection().setSelection(dragCaret); 431 if (frame->selection().isNone()) { 433 frame->selection().setSelection(dragCaret); 436 return !frame->selection().isNone() && frame->selection().isContentEditable() [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarProvider2.java | 682 Cursor cursor = mDb.rawQuery(SQL_SELECT_EVENTSRAWTIMES, null /* selection args */); 801 null /* selection */, null, [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContentProviderTest.java | 243 public int delete(Uri uri, String selection, String[] selectionArgs) { 263 public Cursor query(Uri uri, String[] projection, String selection, 269 public int update(Uri uri, ContentValues values, String selection, 314 public int delete(Uri uri, String selection, String[] selectionArgs) { 334 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 336 return mDb.query("files", projection, selection, selectionArgs, null, null, null); 340 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_TestDataBuilder.java | 168 StringBuilder selection = new StringBuilder(); local 175 if (selection.length() != 0) { 176 selection.append(" AND "); 179 selection.append(column); 181 selection.append(" NOT NULL"); 183 selection.append("=?"); 188 selection.toString(),
|
MediaStore_Audio_AlbumsTest.java | 86 String selection = Albums.ALBUM +"=?"; local 90 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs, 125 mContentResolver.update(audioAlbumsUri, albumValues, selection, selectionArgs); 133 mContentResolver.delete(audioAlbumsUri, selection, selectionArgs); 157 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs, null);
|
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_utils.cc | 258 const std::vector<const BookmarkNode*>& selection, 262 if (selection.size() == 1 && selection[0]->is_folder()) 263 real_parent = selection[0]; 266 if (selection.size() == 1 && selection[0]->is_url()) { 267 *index = real_parent->GetIndexOf(selection[0]) + 1;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
VoicemailContentTable.java | 178 public int delete(UriData uriData, String selection, String[] selectionArgs) { 180 String combinedClause = concatenateClauses(selection, uriData.getWhereClause(), 187 cursor = query(uriData, FILENAME_ONLY_PROJECTION, selection, selectionArgs, null); 212 public Cursor query(UriData uriData, String[] projection, String selection, 219 String combinedClause = concatenateClauses(selection, uriData.getWhereClause(), 230 public int update(UriData uriData, ContentValues values, String selection, 239 String combinedClause = concatenateClauses(selection, uriData.getWhereClause(), 267 /** Creates a clause to restrict the selection to only voicemail call type.*/
|
/external/linux-tools-perf/util/ui/browsers/ |
hists.c | 26 struct map_symbol *selection; member in struct:hist_browser 186 if (map_symbol__toggle_fold(self->selection)) { 422 self->selection = &chain->ms; 480 self->selection = &chain->ms; 542 self->selection = &entry->ms; 841 dso = browser->selection->map ? browser->selection->map->dso : NULL; 853 if (browser->selection == NULL || 854 browser->selection->sym == NULL || 855 browser->selection->map->dso->annotate_warned 1003 struct perf_evsel *selection; member in struct:perf_evsel_menu [all...] |
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
DataProvider.java | 235 * @param selection The selection clause for the query 244 String selection, 269 selection, 419 * @param selection The SQL WHERE string. Use "?" to mark places that should be substituted by 421 * @param selectionArgs An array of values that are mapped to each "?" in selection. If no "?" 427 public int delete(Uri uri, String selection, String[] selectionArgs) { 439 * @param selection An SQL WHERE clause (without the WHERE keyword) specifying the rows to 441 * @param selectionArgs An array of values that are mapped in order to each "?" in selection. 447 public int update(Uri uri, ContentValues values, String selection, [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
GalleryProvider.java | 83 public int delete(Uri uri, String selection, String[] selectionArgs) { 115 String selection, String[] selectionArgs, String sortOrder) { 126 projection, selection, selectionArgs, sortOrder); 136 String selection, String[] selectionArgs, String sortOrder) { 196 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
DynamicContextMenu.java | 74 * contributed by the {@link IViewRule} instances, based on the current selection 81 * they are both linked to the current selection state of the {@link LayoutCanvas}. 98 * contributed by the {@link IViewRule} instances, based on the current selection 101 * @param canvas The {@link LayoutCanvas} providing the selection, the node factory and 123 // shown, find dynamic contributions based on the current selection and insert 140 // Now add all the dynamic menu actions depending on the current selection. 150 * any new actions that depend on the current selection. 202 // to work this way to facilitate multi selection and actions which apply 221 List<SelectionItem> selection = mCanvas.getSelectionManager().getSelections(); local 222 if (selection.size() == 1) 245 List<SelectionItem> selection = mCanvas.getSelectionManager().getSelections(); local 284 List<SelectionItem> selection = mCanvas.getSelectionManager().getSelections(); local 500 List<SelectionItem> selection = mCanvas.getSelectionManager().getSelections(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/ |
KeySelectionPage.java | 48 * Key Selection Page. This is used when an existing keystore is used. 65 setTitle("Key alias selection"); 172 int selection = -1; local 178 if (selection == -1 && alias.equalsIgnoreCase(keyAlias)) { 179 selection = count; 186 if (selection != -1) { 187 mKeyAliases.select(selection);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
NewTemplateWizard.java | 61 public void init(IWorkbench workbench, IStructuredSelection selection) { 62 super.init(workbench, selection); 72 List<IProject> projects = AdtUtils.getSelectedProjects(selection); 197 public void init(IWorkbench workbench, IStructuredSelection selection) { 198 super.init(workbench, selection);
|
/external/chromium_org/ui/views/controls/textfield/ |
textfield_views_model_unittest.cc | 260 TEST_F(TextfieldViewsModelTest, Selection) { 279 EXPECT_EQ(gfx::Range(0, 5), model.render_text()->selection()); 284 EXPECT_EQ(gfx::Range(5, 0), model.render_text()->selection()); 305 // Selection is a logical operation. And it should work with the arrow 306 // keys doing visual movements, while the selection is logical between 307 // the (logical) start and end points. Selection is simply defined as 321 EXPECT_EQ(gfx::Range(2, 3), model.render_text()->selection()); 325 EXPECT_EQ(gfx::Range(2, 7), model.render_text()->selection()); 330 EXPECT_EQ(gfx::Range(2, 3), model.render_text()->selection()); 334 EXPECT_EQ(gfx::Range(2, 10), model.render_text()->selection()); 745 gfx::Range selection = model.render_text()->selection(); local [all...] |
/developers/build/prebuilts/gradle/BasicSyncAdapter/BasicSyncAdapterSample/src/main/java/com/example/android/common/db/ |
SelectionBuilder.java | 38 * Helper for building selection clauses for {@link SQLiteDatabase}. 116 * Append the given selection clause to the internal state. Each clause is 119 * <p>In the most basic usage, simply provide a selection in SQL {@code WHERE} statement format. 127 * <p>User input should never be directly supplied as as part of the selection statement. 128 * Instead, use positional parameters in your selection statement, then pass the user input 140 * @param selection SQL where statement 142 * {@code selection} statement. Will be automatically escaped. 145 public SelectionBuilder where(String selection, String... selectionArgs) { 146 if (TextUtils.isEmpty(selection)) { 149 "Valid selection required when including arguments=") [all...] |
/developers/samples/android/common/src/java/com/example/android/common/db/ |
SelectionBuilder.java | 38 * Helper for building selection clauses for {@link SQLiteDatabase}. 116 * Append the given selection clause to the internal state. Each clause is 119 * <p>In the most basic usage, simply provide a selection in SQL {@code WHERE} statement format. 127 * <p>User input should never be directly supplied as as part of the selection statement. 128 * Instead, use positional parameters in your selection statement, then pass the user input 140 * @param selection SQL where statement 142 * {@code selection} statement. Will be automatically escaped. 145 public SelectionBuilder where(String selection, String... selectionArgs) { 146 if (TextUtils.isEmpty(selection)) { 149 "Valid selection required when including arguments=") [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
FileProvider.java | 48 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 96 public int delete(Uri uri, String selection, String[] selectionArgs) { 102 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
DictionaryProvider.java | 89 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 194 public int delete(Uri uri, String selection, String[] selectionArgs) { 199 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
WeatherDataProvider.java | 88 public synchronized Cursor query(Uri uri, String[] projection, String selection, 115 public int delete(Uri uri, String selection, String[] selectionArgs) { 121 public synchronized int update(Uri uri, ContentValues values, String selection,
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/db/ |
SelectionBuilder.java | 38 * Helper for building selection clauses for {@link SQLiteDatabase}. 116 * Append the given selection clause to the internal state. Each clause is 119 * <p>In the most basic usage, simply provide a selection in SQL {@code WHERE} statement format. 127 * <p>User input should never be directly supplied as as part of the selection statement. 128 * Instead, use positional parameters in your selection statement, then pass the user input 140 * @param selection SQL where statement 142 * {@code selection} statement. Will be automatically escaped. 145 public SelectionBuilder where(String selection, String... selectionArgs) { 146 if (TextUtils.isEmpty(selection)) { 149 "Valid selection required when including arguments=") [all...] |
/external/chromium/chrome/browser/tabs/ |
tab_strip_selection_model_unittest.cc | 14 // Returns the state of the selection model as a string. The format is: 15 // 'active=X anchor=X selection=X X X...'. 19 " selection="; 20 const TabStripSelectionModel::SelectedIndices& selection( 22 for (size_t i = 0; i < selection.size(); ++i) { 25 result += base::IntToString(selection[i]); 32 EXPECT_EQ("active=-1 anchor=-1 selection=", StateAsString(model)); 39 EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model)); 47 EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model)); 49 // Increment from 4. This shouldn't effect the selection as its past th [all...] |
/external/chromium_org/ui/base/models/ |
list_selection_model_unittest.cc | 17 // Returns the state of the selection model as a string. The format is: 18 // 'active=X anchor=X selection=X X X...'. 22 " selection="; 23 const ListSelectionModel::SelectedIndices& selection( 25 for (size_t i = 0; i < selection.size(); ++i) { 28 result += base::IntToString(selection[i]); 35 EXPECT_EQ("active=-1 anchor=-1 selection=", StateAsString(model)); 42 EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model)); 49 EXPECT_EQ("active=-1 anchor=-1 selection=", StateAsString(model)); 57 EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model)) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/ |
SQLite.java | 109 * @param selection SQL where clause fragment 110 * @param selectionArgs Array of substitutions for args in selection 113 public static String buildWhereClause(String selection, String[] selectionArgs) throws SQLiteException { 114 String whereClause = selection; 118 for (char c : selection.toCharArray()) {
|
/frameworks/base/core/java/android/content/ |
IContentProvider.java | 37 public Cursor query(String callingPkg, Uri url, String[] projection, String selection, 45 public int delete(String callingPkg, Uri url, String selection, String[] selectionArgs) 47 public int update(String callingPkg, Uri url, ContentValues values, String selection,
|