/external/webkit/Source/WebCore/inspector/front-end/ |
utilities.js | 244 var selection = window.getSelection(); 245 if (!selection.rangeCount || !selection.isCollapsed) 247 var selectionRange = selection.getRangeAt(0); 321 var selection = window.getSelection(); 322 selection.removeAllRanges(); 326 selection.addRange(range); 331 // Calculate selection offset relative to the current element. 333 var selection = window.getSelection(); 334 if (!selection.containsNode(this, true) [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
collected_cookies_gtk.cc | 329 void CollectedCookiesGtk::ShowSelectionInfo(GtkTreeSelection* selection, 333 GList* paths = gtk_tree_selection_get_selected_rows(selection, &model); 375 GtkTreeSelection* selection, gtk_tree::TreeAdapter* adapter) { 379 gtk_tree_selection_get_selected_rows(selection, &model); 435 void CollectedCookiesGtk::AddExceptions(GtkTreeSelection* selection, 440 gtk_tree_selection_get_selected_rows(selection, &model); 508 void CollectedCookiesGtk::OnTreeViewSelectionChange(GtkWidget* selection) {
|
/frameworks/base/core/java/android/widget/ |
AdapterView.java | 95 * Indicates whether to sync based on the selection or position. Possible 357 * @param parent The AdapterView where the selection happened 365 * Callback method to be invoked when the selection disappears from this 366 * view. The selection can disappear for instance when touch is activated 560 int selection = getSelectedItemPosition(); local 561 if (adapter != null && adapter.getCount() > 0 && selection >= 0) { 562 return adapter.getItem(selection); 869 // we fire selection events here not in View 879 int selection = this.getSelectedItemPosition(); local 880 if (selection >= 0) [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
Helpers.java | 386 * Checks whether this looks like a legitimate selection parameter 388 public static void validateSelection(String selection, Set<String> allowedColumns) { 390 if (selection == null || selection.isEmpty()) { 393 Lexer lexer = new Lexer(selection, allowedColumns); 400 Log.d(Constants.TAG, "invalid selection [" + selection + "] triggered " + ex); 402 Log.d(Constants.TAG, "invalid selection triggered " + ex); 486 public Lexer(String selection, Set<String> allowedColumns) { 487 mSelection = selection; [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/event/ |
EditEventHelperTest.java | 1242 int selection = EditEventHelper.DOES_NOT_REPEAT; local [all...] |
/external/webkit/Source/WebKit/mac/WebView/ |
WebTextCompletionController.mm | 176 DOMRange *selection = kit(core(frame)->selection()->toNormalizedRange().get()); 180 [prefix setEnd:[selection startContainer] offset:[selection startOffset]]; 206 _originalString = [[frame _stringForRange:selection] retain];
|
WebFrame.mm | 421 // optimization for common case to avoid creating potentially large selection string 424 return coreFrame->selection()->isRange(); 433 return coreFrame && coreFrame->selection()->isRange(); 480 // While we're in the general area of selection and frames, check that there is only one now. 657 if (_private->coreFrame->selection()->isNone()) 660 SelectionController selection; 661 selection.setSelection(_private->coreFrame->selection()->selection()); 662 selection.modify(alteration, direction, granularity) [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
EmulatorControlPanel.java | 190 // now handle selection change. 317 // called when selection changes 334 // called when selection changes 351 // called when selection changes 368 // called when selection changes 422 // called when selection changes 705 ISelection selection = event.getSelection(); 706 if (selection instanceof IStructuredSelection) { 707 IStructuredSelection structuredSelection = (IStructuredSelection)selection; 752 ISelection selection = event.getSelection() [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
BaseContactsProvider2Test.java | 1105 String selection = null; local [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
AsyncQueryHandlerTest.java | 386 String selection, String[] selectionArgs, String orderBy, boolean cancelable) { 391 selection, selectionArgs, orderBy); 403 String selection, String[] selectionArgs, boolean cancelable) { 407 mAsyncHandler.startUpdate(token, cookie, uri, values, selection, selectionArgs); 410 private void startDelete(int token, Object cookie, Uri uri, String selection, 415 mAsyncHandler.startDelete(token, cookie, uri, selection, selectionArgs);
|
/packages/apps/Calendar/src/com/android/calendar/ |
Event.java | 284 * that match the given selection. This is a blocking function and 296 * @param selection Filter on the query as an SQL WHERE statement 297 * @param selectionArgs Args to replace any '?'s in the selection 299 * @return A Cursor of instances matching the selection 302 int startDay, int endDay, String selection, String[] selectionArgs, String orderBy) { 310 if (TextUtils.isEmpty(selection)) { 311 selection = WHERE_CALENDARS_SELECTED; 314 selection = "(" + selection + ") AND " + WHERE_CALENDARS_SELECTED; 322 return cr.query(builder.build(), projection, selection, selectionArgs [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
MoveGesture.java | 109 /** Singleton used to keep track of drag selection in the same Eclipse instance. */ 132 // Hide selection overlays during a move drag 142 // Ensure that the outline is back to showing the current selection, since during 432 // defer selection briefly until the view hierarchy etc is up to 460 SelectionItem[] selection = dragInfo.getCurrentSelection(); local 461 if (selection != null) { 462 for (SelectionItem item : selection) { 698 SelectionItem[] selection = mGlobalDragInfo.getCurrentSelection(); local 699 if (selection != null) { 700 for (SelectionItem cs : selection) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintListDialog.java | 310 TableItem[] selection = mTable.getSelection(); local 312 if (selection.length == 1) { 313 selectMarker((IMarker) selection[0].getData()); 318 boolean canFix = selection.length > 0; 319 for (TableItem item : selection) { 327 if (selection.length > 1) {
|
/external/webkit/Source/WebCore/editing/ |
ApplyBlockElementCommand.cpp | 66 // When a selection ends at the start of a paragraph, we rarely paint 67 // the selection gap before that paragraph, because there often is no gap. 68 // In a case like this, it's not obvious to the user that the selection 77 VisibleSelection selection = selectionForParagraphIteration(endingSelection()); local 78 VisiblePosition startOfSelection = selection.visibleStart(); 79 VisiblePosition endOfSelection = selection.visibleEnd();
|
/external/webkit/Source/WebCore/html/ |
HTMLTextAreaElement.cpp | 225 // Restore the cached selection. This matches other browsers' behavior. 230 document()->frame()->selection()->revealSelection(); 253 // selectionLength represents the selection length of this text field to be 256 // selection length. The selection is the source of text drag-and-drop in 258 unsigned selectionLength = focused() ? numGraphemeClusters(plainText(document()->frame()->selection()->selection().toNormalizedRange().get())) : 0;
|
HTMLFormControlElement.h | 209 PassRefPtr<Range> selection() const;
|
/frameworks/base/core/java/android/app/ |
SearchManager.java | 480 * query is being inserted. If false, the selection point will be placed at the end of the 810 String selection = searchable.getSuggestSelection(); local [all...] |
/packages/apps/Mms/src/com/android/mms/ |
SuggestionsProvider.java | 50 public int delete(Uri uri, String selection, String[] selectionArgs) { 70 public Cursor query(Uri uri, String[] projection, String selection, 86 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/ |
SourceLatency.java | 189 // get the query selection, may be null 190 String selection = searchable.getSuggestSelection(); local 191 // inject query, either as selection args or inline 193 if (selection != null) { // use selection if provided 195 } else { // no selection, use REST pattern 207 return getContentResolver().query(uri, null, selection, selArgs, null);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
RefactoringAssistant.java | 141 ISelection selection = provider.getSelection(); local 142 if (selection instanceof ITextSelection) { 143 ITextSelection textSelection = (ITextSelection) selection; 149 // the selection is going to be the set of eligible attributes
|
/external/skia/src/views/ |
SkListWidget.cpp | 84 if (index < 0) // no selection 103 if (index < 0) // no selection 172 int selection = this->logicalToVisualIndex(fCurrIndex); local 174 SkScalar height = fHeights[index == selection ? kSelected_Height : kNormal_Height]; 177 if (index > selection && selection >= 0)
|
/external/webkit/Source/WebCore/page/win/ |
FrameCGWin.cpp | 88 FloatRect fr = frame->selection()->bounds();
|
/external/webkit/Source/WebKit/android/jni/ |
WebViewCore.h | 217 * Tell the java side to update the current selection in the focused 219 * focused textinput, and passes its selection to java. 296 // scroll the selection on screen (if necessary). 354 * If start == end, set the selection, but perform no deletion. 361 * Set the selection of the currently focused textfield to (start, end). 367 * Modifies the current selection. 371 * direction - The direction in which to alter the selection. 372 * granularity - The granularity of the selection modification. 375 * HTML, rather the selection annotated with the tags of all 381 * Moves the selection to the given node in a given frame i.e. selects that node [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SearchableSource.java | 386 // get the query selection, may be null 387 String selection = searchable.getSuggestSelection(); local 388 // inject query, either as selection args or inline 390 if (selection != null) { // use selection if provided 392 } else { // no selection, use REST pattern 402 Log.d(TAG, "query(" + uri + ",null," + selection + "," 405 Cursor c = context.getContentResolver().query(uri, null, selection, selArgs, null);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
SocialProvider.java | 295 public int delete(Uri uri, String selection, String[] selectionArgs) { 317 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 323 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 380 final Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, sortOrder, limit);
|