/external/chromium_org/third_party/WebKit/Source/core/editing/ |
InsertListCommand.cpp | 84 bool InsertListCommand::selectionHasListOfType(const VisibleSelection& selection, const QualifiedName& listTag) 86 VisiblePosition start = selection.visibleStart(); 91 VisiblePosition end = startOfParagraph(selection.visibleEnd()); 117 // When a selection ends at the start of a paragraph, we rarely paint 118 // the selection gap before that paragraph, because there often is no gap. 119 // In a case like this, it's not obvious to the user that the selection 130 VisibleSelection selection = selectionForParagraphIteration(endingSelection()); local 131 ASSERT(selection.isRange()); 132 VisiblePosition startOfSelection = selection.visibleStart(); 133 VisiblePosition endOfSelection = selection.visibleEnd() [all...] |
/external/chromium_org/third_party/WebKit/Source/core/page/ |
DOMSelection.h | 56 // Safari Selection Object API 67 // Mozilla Selection Object API 68 // In Firefox, anchor/focus are the equal to the start/end of the selection, 69 // but reflect the direction in which the selection was made by the user. That does 92 // Microsoft Selection Object API
|
/external/chromium_org/ui/base/touch/ |
touch_editing_controller.h | 20 // end of selection. Visually, |start| may lie after |end|. 26 // Gets the end points of the current selection. The end points p1 and p2 must 27 // be the cursor rect for the start and end of selection: 33 // p1 should be the logical start and p2 the logical end of selection. Hence, 68 // Notifies the controller that the selection has changed.
|
/external/chromium_org/ui/base/x/ |
selection_owner.cc | 54 // The X server agrees that we are the selection owner. Commit our data. 67 // Incrementally build our selection. By default this is a refusal, and we'll 72 reply.xselection.selection = event.selection; 77 // Get the proper selection.
|
selection_requestor.h | 25 // Requests and later receives data from the X11 server through the selection 29 // drop. This class interprets messages from the statefull selection request 39 // Does the work of requesting |target| from the selection we handle, 51 // Returns the first of |types| offered by the current selection holder, or 64 // The X11 selection that this instance communicates on.
|
/frameworks/base/core/java/android/text/method/ |
NumberKeyListener.java | 23 import android.text.Selection; 101 int a = Selection.getSelectionStart(content); 102 int b = Selection.getSelectionEnd(content); 110 Selection.setSelection(content, 0); 118 Selection.setSelection(content, selEnd);
|
/frameworks/base/core/java/android/view/inputmethod/ |
ExtractedText.java | 57 * The offset where the selection currently starts within the extracted 58 * text. The real selection start position is at 64 * The offset where the selection currently ends within the extracted 65 * text. The real selection end position is at 77 * Bit for {@link #flags}: set if the editor is currently in selection mode.
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
ListSetSelectionTest.java | 29 * Tests setting the selection in touch mode 59 assertEquals("Selection still available after touch", -1, 89 assertEquals("Selection still available after touch", -1, 115 assertEquals("Selection not at correct location", 100 + mListView.getPaddingTop(), 127 assertEquals("Selection still available after touch", -1,
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
TrackerProvider.java | 86 public int delete(Uri uri, String selection, String[] selectionArgs) { 88 int result = db.delete(TABLE_NAME, selection, selectionArgs); 111 public Cursor query(Uri uri, String[] projection, String selection, 115 Cursor cursor = db.query(TABLE_NAME, projection, selection, 122 public int update(Uri uri, ContentValues values, String selection,
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
QueryService.java | 32 [-e p OPTIONAL PROJECTION] [-e s OPTIONAL SELECTION] [-e s OPTIONAL ORDER BY] \ 59 final String selection = intent.getStringExtra(EXTRA_SELECTION); local 64 Log.i(TAG, "Selection: " + selection); 67 Cursor c = getContentResolver().query(uri, parseProjection(projection), selection, null,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
NewItemSelectionDialog.java | 51 * A selection dialog to select the type of the new element node to 56 /** The UI node selected in the tree view before creating the new item selection dialog. 73 /** The potential XML Name to initially select in the selection dialog. This is computed 78 * Creates the new item selection dialog. 112 public IStatus validate(Object[] selection) { 113 if (selection.length == 1 && selection[0] instanceof ViewElementDescriptor) { 117 ((ViewElementDescriptor) selection[0]).getFullClassName(), //msg 119 } else if (selection.length == 1 && selection[0] instanceof ElementDescriptor) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
WorkingSetHelper.java | 40 public static IWorkingSet[] getSelectedWorkingSet(IStructuredSelection selection, 42 IWorkingSet[] selected= getSelectedWorkingSet(selection); 79 private static IWorkingSet[] getSelectedWorkingSet(IStructuredSelection selection) { 80 if (!(selection instanceof ITreeSelection)) 83 ITreeSelection treeSelection= (ITreeSelection) selection;
|
TestTargetPage.java | 111 // No initial selection: force the user to choose 136 // in the list, even when the selection is explicitly set to an empty 137 // array. This means the user is looking at a selection, so we need 140 // selection. 170 // pass itself as the selection event, it passes a reference to some internal 182 Object[] selection = mProjectList.getSelection(); local 183 IProject project = selection != null && selection.length == 1 184 ? ((IJavaProject) selection[0]).getProject() : null; 265 // Ensure that the user sees the page and makes a selection [all...] |
/external/chromium_org/chrome/browser/resources/print_preview/settings/ |
other_options_settings.js | 15 * @param {!print_preview.ticket_items.SelectionOnly} selectionOnly Selection 27 * Duplex ticket item, used to read/write the duplex selection. 34 * Fit-to-page ticket item, used to read/write the fit-to-page selection. 48 * Print selection only ticket item, used to read/write. 118 * Print selection only container element. 125 * Print selection only checkbox. 222 '.selection-only-container'); 224 '.selection-only-checkbox'); 281 * Called when the print selection only is clicked. Updates the 328 * Called when the print selection only ticket item has changed. Updates th [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
cmdevtools.css | 146 .cm-line-with-selection .cm-column-with-selection:before { 190 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight-full:before { 194 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight-start:before { 199 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight-end:before { 204 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight:before [all...] |
/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/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...] |
/external/chromium-trace/trace-viewer/src/cc/ |
layer_tree_quad_stack_viewer.js | 91 this.selection = null; 122 get selection() { 126 set selection(selection) { 127 base.setPropertyAndDispatchChange(this, 'selection', selection); 222 if (this.selection) { 223 var selectedLayerId = this.selection.associatedLayerId; 273 var selection = this.selection; [all...] |
layer_picker.js | 11 base.require('cc.selection'); 39 'selection-changed', this.onLayerSelectionChanged_.bind(this)); 172 base.dispatchSimpleEvent(this, 'selection-changed', false); 175 get selection() { 179 set selection(selection) { 180 this.selection_ = selection;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ResourceExplorerView.java | 67 * The view listener to change in selection in the workbench, and update to show the resource 112 // listen to selection change in the workbench. 117 // init with current selection 127 IStructuredSelection selection = (IStructuredSelection) sel; 129 if (selection.size() == 1) { 130 Object element = selection.getFirstElement(); 184 * Processes a new selection. 187 public void selectionChanged(IWorkbenchPart part, ISelection selection) { 202 } else if (selection instanceof IStructuredSelection) { 203 // if it's not an editor, we look for structured selection [all...] |
/development/samples/NotePad/tests/src/com/example/android/notepad/ |
NotePadProviderTest.java | 430 // Defines a selection column for the query. When the selection columns are passed 431 // to the query, the selection arguments replace the placeholders. 434 // Defines the selection columns for a query. 438 // Defines the arguments for the selection columns. 449 null, // no selection criteria, get all records 450 null, // no selection arguments 467 null, // no selection criteria, get all records 468 null, // no selection arguments 482 null, // no selection columns, get all the record [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
AsyncQueryService.java | 158 * @param selection A filter declaring which rows to return, formatted as an 161 * @param selectionArgs You may include ?s in selection, which will be 163 * they appear in the selection. The values will be bound as 170 String selection, String[] selectionArgs, String orderBy) { 180 info.selection = selection; 226 * @param selection A filter declaring which rows to update, formatted as an 229 * @param selectionArgs You may include ?s in selection, which will be 231 * they appear in the selection. The values will be bound as 238 String selection, String[] selectionArgs, long delayMillis) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/ |
EditableDialogCellEditor.java | 113 // We really want a selection listener but it is not supported so we 114 // use a key listener and a mouse listener to know when selection changes 163 * Checks to see if the selection state (selection / 164 * no selection) has changed and if so fire an 259 * Handles a default selection event from the text control by applying the editor 262 * @param event the selection event 275 * the current selection is not empty. 288 * the current selection is not empty. 301 * if there is a selection or if the caret is not positione [all...] |
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
file_browser_handler_api.h | 34 // Starts the file selection. It should prompt user to select a file path. 35 // Once the selection is made it should asynchronously call 36 // |function_->OnFilePathSelected| with the selection information. 42 // Selection UI should be displayed using |browser|. |browser| should outlive 50 // function is notified of file selection result. 96 // caller is notified of the selection result after this method is called. 99 // the selection did not succeed.
|
/external/chromium_org/ppapi/c/dev/ |
ppb_text_input_dev.h | 93 * call, informs the browser about the current text selection and surrounding 95 * of text selection in the plugin. <code>caret</code> is the byte-index of 98 * it is the other edge of selection different from <code>caret</code>. If 99 * there are no selection, <code>anchor</code> is equal to <code>caret</code>. 111 * the selection to IME (e.g., when the surrounding text is containing 119 * Informs the browser when a range of text selection is changed in a plugin. 120 * When the browser needs to know the content of the updated selection, it
|