/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;
|
/cts/tests/src/android/content/cts/ |
DummyProvider.java | 118 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 125 Cursor c = db.query(tbName, projection, selection, selectionArgs, null, null, sortOrder); 165 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 171 int count = db.update(tbName, values, selection, selectionArgs); 182 public int delete(Uri uri, String selection, String[] selectionArgs) { 188 int count = db.delete(tbName, selection, selectionArgs);
|
/external/chromium/chrome/browser/autocomplete/ |
autocomplete_edit_view_mac.h | 146 // the selection to |range|. Otherwise does nothing. 157 // Update the field with |display_text| and set the selection. 168 // any selection. Named to be consistent with GTK and Windows, 181 // Places the caret at the given position. This clears any selection. 199 // Selection at the point where the user started using the 216 // Was the delete key pressed with an empty selection at the end of the edit?
|
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...] |
/libcore/luni/src/test/java/tests/security/cert/ |
X509CRLSelector2Test.java | 73 assertTrue("The CRL should match the selection criteria.", selector 75 assertFalse("The CRL should not match the selection criteria.", 78 assertTrue("The CRL should match the selection criteria.", selector 100 assertTrue("The CRL should match the selection criteria.", selector 102 assertFalse("The CRL should not match the selection criteria.", 110 assertTrue("The CRL should match the selection criteria.", selector 153 assertTrue("The CRL should match the selection criteria.", selector 156 assertFalse("The CRL should not match the selection criteria.", 186 assertTrue("The CRL should match the selection criteria.", selector 189 assertFalse("The CRL should not match the selection criteria." [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapVcardManager.java | 182 String selection = BluetoothPbapObexServer.createSelectionPara(type); local 186 callCursor = mResolver.query(myUri, null, selection, null, 201 String selection = BluetoothPbapObexServer.createSelectionPara(type); local 211 callCursor = mResolver.query(myUri, projection, selection, null, 366 String selection; local 368 selection = recordSelection; 370 selection = "(" + typeSelection + ") AND (" + recordSelection + ")"; 373 if (V) Log.v(TAG, "Call log query selection is: " + selection); 375 return composeAndSendVCards(op, selection, vcardType21, null, false) 410 final String selection; local 431 String selection = null; local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
EventGeometry.java | 107 * Returns true if this event intersects the selection region. 109 boolean eventIntersectsSelection(Event event, Rect selection) { 110 if (event.left < selection.right && event.right >= selection.left 111 && event.top < selection.bottom && event.bottom >= selection.top) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutCanvasViewer.java | 43 * canvas' selection changes are broadcasted to anyone listening, which includes 111 * Sets a new selection. <code>reveal</code> is ignored right now. 113 * The selection can be null, which is interpreted as an empty selection. 116 public void setSelection(ISelection selection, boolean reveal) { 120 mCanvas.getSelectionManager().setSelection(selection);
|
PlayAnimationMenu.java | 53 * run on the selection 90 List<SelectionItem> selection = selectionManager.getSelections(); local 91 if (selection.size() != 1) { 145 List<SelectionItem> selection = selectionManager.getSelections(); local 146 SelectionItem canvasSelection = selection.get(0); 240 IStructuredSelection selection = new StructuredSelection(pair); local 241 wizard.init(workbench, selection);
|
/frameworks/base/docs/html/training/contacts-provider/ |
retrieve-details.jd | 127 <h3>Define the selection criteria</h3> 129 Define a constant for your selection clause, an array to hold selection arguments, and a 130 variable to hold the selection value. Use 135 // Defines the selection clause 136 private static final String SELECTION = Data.LOOKUP_KEY + " = ?"; 140 * Defines a variable to contain the selection value. Once you 148 Using "?" as a placeholder in your selection text expression ensures that the resulting search 224 // Assigns the selection parameter 232 SELECTION, [all...] |
/external/webkit/Source/WebKit/android/jni/ |
WebViewCore.cpp | 1759 VisibleSelection selection = sc->selection(); local 2261 DOMSelection* selection = m_mainFrame->domWindow()->getSelection(); local 4262 const VisibleSelection& selection = ranges[i]; local 4388 const VisibleSelection& selection = ranges[i]; local [all...] |
/external/webkit/Source/WebKit2/WebProcess/WebPage/mac/ |
WebPageMac.mm | 228 if (frame->selection()->isContentEditable()) { 232 frame->selection()->setSelection(VisibleSelection(replacementRange.get(), SEL_DEFAULT_AFFINITY)); 257 frame->selection()->setSelection(VisibleSelection(replacementRange.get(), SEL_DEFAULT_AFFINITY)); 299 RefPtr<Range> range = frame->selection()->toNormalizedRange(); 314 if (frame->selection()->isNone() || !frame->selection()->isContentEditable() || frame->selection()->isInPasswordField()) 362 // concentrate on a given area containing the selection 365 // to use the root editable element of the selection start as the positional base. 367 Element* selectionRoot = frame->selection()->rootEditableElement() [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContentProviderTest.java | 257 public int delete(String callingPkg, Uri url, String selection, String[] selectionArgs) { 289 public Cursor query(String callingPkg, Uri url, String[] projection, String selection, 296 public int update(String callingPkg, Uri url, ContentValues values, String selection, 341 public int delete(Uri uri, String selection, String[] selectionArgs) { 361 public Cursor query(Uri uri, String[] projection, String selection, 367 public int update(Uri uri, ContentValues values, String selection, 412 public int delete(Uri uri, String selection, String[] selectionArgs) { 432 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 434 return mDb.query("files", projection, selection, selectionArgs, null, null, null); 438 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) [all...] |
/external/webkit/Source/WebCore/editing/ |
DeleteButtonController.cpp | 147 static HTMLElement* enclosingDeletableElement(const VisibleSelection& selection) 149 if (!selection.isContentEditable()) 152 RefPtr<Range> range = selection.toNormalizedRange(); 176 HTMLElement* newElement = enclosingDeletableElement(m_frame->selection()->selection()); 331 show(enclosingDeletableElement(m_frame->selection()->selection())); 350 // Because the deletion UI only appears when the selection is entirely 351 // within the target, we unconditionally update the selection to be 355 m_frame->selection()->setSelection(VisiblePosition(pos)) [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
GlobalDismissManager.java | 256 * build a selection over a set of row IDs 260 * @return a selection string suitable for a resolver query. 263 StringBuilder selection = new StringBuilder(); local 269 selection.append(" OR "); 271 selection.append(key); 272 selection.append("="); 273 selection.append(id); 275 return selection.toString(); 363 String selection = CalendarAlerts.STATE + "=" + local 369 selection, null) [all...] |
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CRLSelectorTest.java | 202 assertTrue("The CRL should match the selection criteria.", 204 assertFalse("The CRL should not match the selection criteria.", 248 assertTrue("The CRL should match the selection criteria.", 250 assertFalse("The CRL should not match the selection criteria.", 270 assertTrue("The CRL should match the selection criteria.", 272 assertFalse("The CRL should not match the selection criteria.", 275 assertTrue("The CRL should match the selection criteria.", 297 assertTrue("The CRL should match the selection criteria.", 299 assertFalse("The CRL should not match the selection criteria.", 307 assertTrue("The CRL should match the selection criteria." [all...] |
X509CertSelectorTest.java | 463 assertTrue("The certificate should match the selection criteria.", 465 assertFalse("The certificate should not match the selection criteria.", 468 assertTrue("The certificate should match the selection criteria.", 507 assertTrue("The certificate should match the selection criteria.", 509 assertFalse("The certificate should not match the selection criteria.", 512 assertTrue("The certificate should match the selection criteria.", 551 assertTrue("The certificate should match the selection criteria.", 553 assertFalse("The certificate should not match the selection criteria.", 556 assertTrue("The certificate should match the selection criteria.", 598 assertTrue("The certificate should match the selection criteria." [all...] |
/frameworks/base/core/java/android/webkit/ |
AccessibilityInjectorFallback.java | 118 // getting two empty selection strings in a row we let the WebView handle the event 124 // Lock used for asynchronous selection callback. 127 // Whether the asynchronous selection callback was received. 130 // Whether the asynchronous selection callback succeeded. 186 // on second null selection string in same direction - WebView handles the event 198 // on second null selection string in same direction => WebView handle the event 221 // While WebVew handles navigation we do not get null selection 358 // The text will be set upon receiving the selection string. 365 // result in cursor ring movement and selection of its content 386 // Asynchronously changes the selection in WebView, which responds b [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactBrowseListFragment.java | 64 * The id for a delayed message that triggers automatic selection of the first 284 * Sets the new selection for the list. 297 * Sets whether or not a contact selection must be made. 298 * @param required if true, we need to check if the selection is present in 310 * Sets the new contact selection. 312 * @param uri the new selection 313 * @param required if true, we need to check if the selection is present in 317 * selection 318 * @param persistent if true, the selection will be stored in shared 320 * @param willReloadData if true, the selection will be remembered but no [all...] |
/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(),
|
/libcore/luni/src/main/java/java/nio/channels/ |
SelectableChannel.java | 27 * from a selector, its selection key must be canceled. This can be done 91 * Gets this channel's selection key for the specified selector. 95 * @return the selection key for the channel or {@code null} if this channel 110 * corresponding selection key is returned but the 128 * @return the selection key for this registration. 149 * registered with the selector, the corresponding selection key is returned 166 * @return the selection key for this registration.
|
/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/ |
UnwrapRefactoring.java | 52 * Removes the layout surrounding the current selection (or if the current selection has 71 ITextSelection selection, 73 super(file, delegate, selection, treeSelection); 90 status.addFatalError("No selection to wrap"); 94 // Make sure that the selection all has the same parent? 105 // it's the selection itself which represents the container.
|
/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);
|
/external/webkit/Source/WebCore/page/ |
EventHandler.cpp | 269 static void setSelectionIfNeeded(SelectionController* selection, const VisibleSelection& newSelection) 271 ASSERT(selection); 272 if (selection->selection() != newSelection && selection->shouldChangeSelection(newSelection)) 273 selection->setSelection(newSelection); 276 static void setNonDirectionalSelectionIfNeeded(SelectionController* selection, const VisibleSelection& newSelection, TextGranularity granularity) 278 ASSERT(selection); 279 if (selection->selection() != newSelection && selection->shouldChangeSelection(newSelection) 2261 RefPtr<Range> selection = selectionController->toNormalizedRange(); local [all...] |