/external/webkit/Source/WebCore/manual-tests/ |
password-ctrl-click-lose-focus.html | 10 <br>1) Make a selection in the password field 14 After ctrl-clicking in the text field, the password field should lose focus, and its selection should be cleared. 18 After ctrl-clicking in the text field, if the password field still has a selection, the test has failed. 20 <br><input type="text" value="Ctrl-Click in this field. Test passes if the password field no longer has a selection." size=100></input>
|
/cts/tests/tests/provider/src/android/provider/cts/ |
Settings_SystemTest.java | 45 String selection = System.NAME + "=\"" + INT_FIELD + "\""; local 46 cr.delete(System.CONTENT_URI, selection, null); 48 selection = System.NAME + "=\"" + LONG_FIELD + "\""; 49 cr.delete(System.CONTENT_URI, selection, null); 51 selection = System.NAME + "=\"" + FLOAT_FIELD + "\""; 52 cr.delete(System.CONTENT_URI, selection, null); 54 selection = System.NAME + "=\"" + STRING_FIELD + "\""; 55 cr.delete(System.CONTENT_URI, selection, null); 57 selection = System.NAME + "=\"" + System.SHOW_GTALK_SERVICE_STATUS + "\""; 58 cr.delete(System.CONTENT_URI, selection, null) [all...] |
/external/chromium-trace/trace-viewer/src/analysis/ |
single_slice_selection_analysis.js | 11 * @fileoverview Conains classes for single slice selection. 22 tracing.ui.define('single-slice-selection'); 31 get selection() { 35 set selection(selection) { 37 if (selection.getNumCounterHits() != 0) 38 throw new Error('Expected only slices in selection'); 40 if (selection.getNumSliceHits() != 1) 41 throw new Error('Expected only 1 slice in selection'); 43 this.selection_ = selection; [all...] |
/frameworks/base/docs/html/design/building-blocks/ |
text-fields.jd | 14 typing, text fields allow for a variety of other activities, such as text selection (cut, copy, 51 <h2 id="text-selection">Text Selection</h2> 53 <p>Users can select any word in a text field with a long press. This action triggers a text selection 54 mode that facilitates extending the selection or choosing an action to perform on the selected text. 55 Selection mode includes:</p> 68 <p>A contextual action bar (CAB) displays the actions available to perform on the selection: 72 <h4>Selection handles</h4> 73 <p>Selection handles can be dragged to select more or less text while remaining in selection mode.</p [all...] |
/external/webkit/Source/WebCore/editing/ |
SetSelectionCommand.cpp | 33 SetSelectionCommand::SetSelectionCommand(const VisibleSelection& selection, SelectionController::SetSelectionOptions options) 34 : SimpleEditCommand(selection.base().anchorNode()->document()) 36 , m_selectionToSet(selection) 42 SelectionController* selectionController = document()->frame()->selection(); 53 SelectionController* selectionController = document()->frame()->selection();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SelectionHandle.java | 21 * A selection handle is a small rectangle on the border of a selected view which lets you 26 * Size of the selection handle radius, in control coordinates. Note that this isn't 31 * selection handles to grow or shrink along with the screen zoom; they are always 37 * Extra number of pixels to look beyond the actual radius of the selection handle 42 /** The position of the handle in the selection rectangle */ 85 /** The x coordinate of the center of the selection handle */ 87 /** The y coordinate of the center of the selection handle */ 89 /** The position of the handle in the selection rectangle */ 96 * @param centerX the x coordinate of the center of the selection handle 97 * @param centerY y coordinate of the center of the selection handl [all...] |
ClipboardSupport.java | 87 * This sanitizes the selection, so it must be a copy. It then inserts the 88 * selection both as text and as {@link SimpleElement}s in the clipboard. 92 * @param selection A list of selection items to add to the clipboard; 96 public void copySelectionToClipboard(List<SelectionItem> selection) { 97 SelectionManager.sanitize(selection); 109 if (selection.isEmpty()) { 120 SelectionItem.getAsElements(selection), 121 message != null ? message : SelectionItem.getAsText(mCanvas, selection) 136 * This sanitizes the selection, so it must be a copy. It uses th 147 deleteSelection(mCanvas.getCutLabel(), selection); local [all...] |
SelectionManager.java | 82 * The {@link SelectionManager} manages the selection in the canvas editor. 84 * operations for manipulating the selection - such as toggling items, copying 85 * the selection to the clipboard, etc. 88 * the selection provider from the {@link LayoutCanvasViewer}. 90 * Note that {@link LayoutCanvasViewer} sets a selection change listener on this 92 * selection changes. 98 /** The current selection list. The list is never null, however it can be empty. */ 105 /** Barrier set when updating the selection to prevent from recursively 110 * The <em>current</em> alternate selection, if any, which changes when the Alt key is 111 * used during a selection. Can be null 988 ISelection selection = selectionProvider.getSelection(); local [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
PhoneNumberWatcherTest.java | 21 import android.text.Selection; 34 Selection.setSelection(number, number.length()); 38 assertEquals(formatted1.length(), Selection.getSelectionEnd(number)); 45 Selection.setSelection(number, number.length()); 49 assertEquals(formatted2.length(), Selection.getSelectionEnd(number)); 61 Selection.setSelection(number, number.length()); 65 assertEquals(result1.length(), Selection.getSelectionEnd(number)); 70 Selection.setSelection(number, number.length()); 74 assertEquals(result2.length(), Selection.getSelectionEnd(number)); 86 Selection.setSelection(number, 4); // make the cursor at right of [all...] |
/external/llvm/include/llvm/CodeGen/PBQP/ |
Solution.h | 25 /// To get the selection for each node in the problem use the getSelection method. 73 /// \brief Set the selection for a given node. 75 /// @param selection Selection for nItr. 76 void setSelection(Graph::NodeItr nItr, unsigned selection) { 77 selections[nItr] = selection; 80 /// \brief Get a node's selection. 82 /// @return The selection for nItr; 85 assert(sItr != selections.end() && "No selection for node.");
|
/frameworks/base/core/java/android/widget/ |
EditText.java | 21 import android.text.Selection; 84 * Convenience for {@link Selection#setSelection(Spannable, int, int)}. 87 Selection.setSelection(getText(), start, stop); 91 * Convenience for {@link Selection#setSelection(Spannable, int)}. 94 Selection.setSelection(getText(), index); 98 * Convenience for {@link Selection#selectAll}. 101 Selection.selectAll(getText()); 105 * Convenience for {@link Selection#extendSelection}. 108 Selection.extendSelection(getText(), index);
|
/external/chromium-trace/trace-viewer/src/tracks/ |
container_track.js | 121 * Adds items intersecting a point to a selection. 124 * @param {Selection} selection Selection to which to add hits. 127 addIntersectingItemsToSelection: function(vX, vY, selection) { 131 this.tracks_[i].addIntersectingItemsToSelection(vX, vY, selection); 137 * Adds items intersecting the given range to a selection. 146 * @param {Selection} selection Selection to which to add hits [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/ |
AutoCompleteTextViewPopup.java | 43 /** Test that we can move the selection and it responds as expected */ 55 // No initial selection 65 waitAssertListSelection("set selection to (0)", textView, 0); 69 waitAssertListSelection("move selection to (1)", textView, 1); 75 /** Test that we can look at the selection as we move around */ 87 // No initial selection 90 // check for selection position as expected 92 waitAssertListSelection("move selection to (0)", textView, 0); 96 waitAssertListSelection("move selection to (1)", textView, 1); 102 /** Test that we can clear the selection */ [all...] |
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityTextTraversalTest.java | 20 import android.text.Selection; 526 // Verify the selection position. 527 assertEquals(1, Selection.getSelectionStart(textView.getText())); 528 assertEquals(1, Selection.getSelectionEnd(textView.getText())); 560 // Verify the selection position. 561 assertEquals(2, Selection.getSelectionStart(textView.getText())); 562 assertEquals(2, Selection.getSelectionEnd(textView.getText())); 594 // Verify the selection position. 595 assertEquals(3, Selection.getSelectionStart(textView.getText())); 596 assertEquals(3, Selection.getSelectionEnd(textView.getText())) [all...] |
/external/chromium-trace/trace-viewer/src/ |
timeline_view_test.html | 91 var selection = new tracing.Selection(); 94 }, selection); 95 view.timeline.selection = selection; 127 var selection = new tracing.Selection(); 129 view.timeline.addAllObjectsMatchingFilterToSelection(filter, selection); 130 assertEquals(selection.length, 1); 160 var selection = new tracing.Selection() [all...] |
selection_test.html | 9 <title>Timeline selection tests</title> 15 base.require('selection'); 30 var sel = new tracing.Selection(); 56 var sel = new tracing.Selection();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
VisualRefactoringAction.java | 59 * Examine the selection to determine if the action should be enabled or not. 61 * Keep a link to the relevant selection structure 64 public void selectionChanged(IAction action, ISelection selection) { 70 // This simply deals with the refactoring based on a non-empty selection. 80 if (selection instanceof ITextSelection) { 81 mTextSelection = (ITextSelection) selection; 84 } else if (selection instanceof ITreeSelection) { 85 Object firstElement = ((ITreeSelection)selection).getFirstElement(); 87 mTreeSelection = (ITreeSelection) selection; 106 * Returns the active {@link IFile} (hopefully matching our selection) or null 163 ISelection selection = site.getSelectionProvider().getSelection(); local [all...] |
/external/chromium/chrome/browser/resources/gpu_internals/ |
timeline_view.css | 31 .timeline-view .selection { 35 .timeline-view .selection ul {
|
/external/chromium/chrome/browser/ |
ssl_client_certificate_selector.h | 18 // Opens a constrained SSL client certificate selection dialog under |parent|, 20 // selection, the dialog will report back to |delegate|. |delegate| is notified
|
/external/clang/test/Sema/ |
nowarn-documentation-property.m | 7 /// It is an AND of the parent's `prefixPredicate` (e.g., the selection for 8 /// volume number) and the `filterPredicate` (selection by matching the name).
|
/external/webkit/Source/WebCore/inspector/front-end/ |
TextPrompt.js | 52 // Append a break element instead of setting textContent to make sure the selection is inside the prompt. 143 var selection = window.getSelection(); variable 144 selection.removeAllRanges(); 145 selection.addRange(finalSelectionRange); 177 var selection = window.getSelection(); variable 178 selection.removeAllRanges(); 179 selection.addRange(selectionRange); 194 var selection = window.getSelection(); variable 195 if (!selection.rangeCount) 198 var selectionRange = selection.getRangeAt(0) [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
SelectionBuilder.java | 27 * Helper for building selection clauses for {@link SQLiteDatabase}. Each 47 * Append the given selection clause to the internal state. Each clause is 50 public SelectionBuilder append(String selection, Object... selectionArgs) { 51 if (TextUtils.isEmpty(selection)) { 54 "Valid selection required when including arguments"); 65 mSelection.append("(").append(selection).append(")"); 78 * Return selection string for current internal state. 87 * Return selection arguments for current internal state.
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ProfileProvider.java | 76 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 78 return query(uri, projection, selection, selectionArgs, sortOrder, null); 82 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 85 return mDelegate.queryLocal(uri, projection, selection, selectionArgs, sortOrder, -1, 97 protected int updateInTransaction(Uri uri, ContentValues values, String selection, 101 return mDelegate.updateInTransaction(uri, values, selection, selectionArgs); 105 protected int deleteInTransaction(Uri uri, String selection, String[] selectionArgs) { 108 return mDelegate.deleteInTransaction(uri, selection, selectionArgs);
|
/frameworks/base/core/java/android/text/ |
Selection.java | 24 * A cursor is a selection where the start and end are at the same offset. 26 public class Selection { 27 private Selection() { /* cannot be instantiated */ } 30 * Retrieving the selection 34 * Return the offset of the selection anchor or cursor, or -1 if 35 * there is no selection or cursor. 45 * Return the offset of the selection edge or cursor, or -1 if 46 * there is no selection or cursor. 56 * Setting the selection 64 * Set the selection anchor to <code>start</code> and the selection edg [all...] |
/external/smack/src/org/apache/harmony/javax/security/auth/callback/ |
ConfirmationCallback.java | 60 private int selection; field in class:ConfirmationCallback 203 return selection; 206 public void setSelectedIndex(int selection) { 208 if (0 <= selection && selection <= options.length) { 209 this.selection = selection; 216 if (selection != YES && selection != NO) { 221 if (selection != YES && selection != NO && selection != CANCEL) [all...] |