/external/chromium-trace/trace-viewer/src/tracing/analysis/ |
analysis_results_test.js | 9 base.require('tracing.selection'); 16 var selection = new tracing.Selection(); 17 selection.addSlice(track, {}); 18 return selection;
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
SpellChecker.cpp | 55 bool isSelectionInTextField(const VisibleSelection& selection) 57 HTMLTextFormControlElement* textControl = enclosingTextFormControl(selection.start()); 136 VisibleSelection selection = VisibleSelection::selectionFromContentsOfNode(element); local 137 markMisspellingsAndBadGrammar(selection); 146 if (RefPtr<Range> selectedRange = m_frame.selection().toNormalizedRange()) 152 // The basic approach is to search in two phases - from the selection end to the end of the doc, and 155 // Start at the end of the selection, search to edge of document. Starting at the selection end makes 157 VisibleSelection selection(m_frame.selection().selection()) [all...] |
EditingBehavior.h | 39 // When extending a selection beyond the top or bottom boundary of an editable area, 51 // On Mac, when revealing a selection (for example as a result of a Find operation on the Browser), 52 // content should be scrolled such that the selection gets certer aligned. 55 // On Mac, style is considered present when present at the beginning of selection. On other platforms, 56 // style has to be present throughout the selection. 59 // Standard Mac behavior when extending to a boundary is grow the selection rather than leaving the base 73 // forward leaves the caret back in the middle with no selection, instead of directly selecting 87 // System that treat selection as a type of clipboard.
|
/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/chromium-trace/trace-viewer/src/tracing/ |
timeline_view_test.js | 86 var selection = new tracing.Selection(); 89 }, selection); 90 view.timeline.selection = selection; 121 var selection = new tracing.Selection(); 123 view.timeline.addAllObjectsMatchingFilterToSelection(filter, selection); 124 assertEquals(selection.length, 1);
|
/external/chromium_org/ui/base/ime/ |
composition_text_util_pango.cc | 45 composition->selection = gfx::Range(cursor_offset); 52 // background attribute into selection if possible. 82 // is usually the selection range. 86 // it as the selection range as well, but make sure to set the cursor 87 // position to the selection end. 89 composition->selection.set_start(underline.end_offset); 90 composition->selection.set_end(cursor_offset); 92 composition->selection.set_start(underline.start_offset); 93 composition->selection.set_end(cursor_offset);
|
/external/chromium_org/ui/views/touchui/ |
touch_selection_controller_impl.h | 18 // displaying selection handles and menu elements relevant in a touch interface. 40 // Callback to inform the client view that the selection handle has been 41 // dragged, hence selection may need to be updated. 44 // Convenience method to convert a point from a selection handle's coordinate 48 // Convenience method to set a handle's selection rect and hide it if it is 60 // |client_view_| so that when its moved/resized, we can update the selection 93 // selection handles are being updated. It appears only when the handles are 100 // Selection end points. In cursor mode, the two end points are the same and 103 // values should be used when selection end points are needed rather than
|
/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_org/chrome/browser/history/android/ |
android_history_provider_service.cc | 24 const std::string& selection, 36 projections, selection, selection_args, sort_order); 46 const std::string& selection, 57 selection, selection_args); 66 const std::string& selection, 77 selection, selection_args); 104 const std::string& selection, 114 &HistoryBackend::DeleteHistory, NULL, request, selection, 176 const std::string& selection, 186 &HistoryBackend::UpdateSearchTerms, NULL, request, row, selection, [all...] |
/external/chromium_org/chrome/browser/history/ |
history_backend_android.cc | 27 const std::string& selection, 36 projections, selection, selection_args, sort_order); 44 const std::string& selection, 53 selection, selection_args, &count); 61 const std::string& selection, 69 result = android_provider_backend_->DeleteHistoryAndBookmarks(selection, 77 const std::string& selection, 85 result = android_provider_backend_->DeleteHistory(selection, selection_args, 135 const std::string& selection, 143 result = android_provider_backend_->UpdateSearchTerms(row, selection, [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_org/chrome/android/java/src/org/chromium/chrome/browser/ |
ChromeBrowserProvider.java | 255 private String buildSuggestWhere(String selection, int argc) { 256 StringBuilder sb = new StringBuilder(selection); 259 sb.append(selection); 269 private Cursor getBookmarkHistorySuggestions(String selection, String[] selectionArgs, 287 urlWhere.append(buildSuggestWhere(selection, args.size())); 306 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 324 cursor = getBookmarkHistorySuggestions(selection, selectionArgs, sortOrder, true); 327 cursor = getBookmarkHistorySuggestions(selection, selectionArgs, sortOrder, false); 330 cursor = queryBookmarkFromAPI(projection, selection, selectionArgs, sortOrder); 333 cursor = queryBookmarkFromAPI(projection, buildWhereClause(bookmarkId, selection), [all...] |
/external/chromium-trace/trace-viewer/src/cc/ |
selection.js | 14 function Selection() { 17 Selection.prototype = { 19 * If a selection is related to a specific layer, then this returns the 20 * layerId of that layer. If the selection is not related to a layer, for 47 * color of the highlight quads for this selection. 54 * Called when the selection is made active in the layer viewer. Must return 55 * an HTMLElement that explains this selection in detail. 62 * Should try to create the equivalent selection in the provided LTHI, 80 __proto__: Selection.prototype, 121 __proto__: Selection.prototype [all...] |
/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_org/ui/views/controls/table/ |
table_view_unittest.cc | 207 // Returns the state of the selection model as a string. The format is: 208 // 'active=X anchor=X selection=X X X...'. 213 " selection="; 214 const ui::ListSelectionModel::SelectedIndices& selection( 216 for (size_t i = 0; i < selection.size(); ++i) { 219 result += base::IntToString(selection[i]); 520 // Assertions around changing the selection. 521 TEST_F(TableViewTest, Selection) { 525 // Initially no selection. 526 EXPECT_EQ("active=-1 anchor=-1 selection=", SelectionStateAsString()) [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/chromium_org/chrome/browser/ssl/ |
ssl_client_certificate_selector.h | 24 // Opens a constrained SSL client certificate selection dialog under |parent|, 26 // selection, the dialog will report back to |callback|. |callback| is notified
|
/external/chromium_org/ppapi/api/dev/ |
ppp_text_input_dev.idl | 21 * selection by <code>PPB_TextInput_Dev::UpdateSurroundingText</code>. 23 * characters before and after the selection, but not mandatory.
|
/external/chromium_org/ui/views/controls/ |
prefix_delegate.h | 12 // An interface used to expose lists of items for selection by text input. 22 // Sets the selection to the specified row.
|