/cts/tests/tests/text/src/android/text/cts/ |
SelectionTest.java | 21 import android.text.Selection; 30 assertEquals(-1, Selection.getSelectionStart(builder)); 32 Selection.setSelection(builder, 3, 8); 33 assertEquals(3, Selection.getSelectionStart(builder)); 35 Selection.setSelection(builder, 3, 9); 36 assertEquals(3, Selection.getSelectionStart(builder)); 38 Selection.setSelection(builder, 5, 7); 39 assertEquals(5, Selection.getSelectionStart(builder)); 41 assertEquals(-1, Selection.getSelectionStart(null)); 47 assertEquals(-1, Selection.getSelectionEnd(builder)) [all...] |
/external/chromium-trace/trace-viewer/src/tracing/analysis/ |
analyze_slices_test.js | 10 base.require('tracing.selection'); 16 var Selection = tracing.Selection; 33 var selection = new Selection(); 34 selection.addSlice(t53track, t53.sliceGroup.slices[0]); 35 assertEquals(1, selection.length); 37 return selection; 49 var selection = new Selection(); [all...] |
analysis_view_test.js | 10 base.require('tracing.selection'); 14 var Selection = tracing.Selection; 44 var selection = new Selection(); 45 selection.addObjectInstance(track, i10); 46 selection.addObjectSnapshot(track, s10); 47 selection.addObjectSnapshot(track, s25); 48 selection.addObjectSnapshot(track, s40); 51 analysisEl.selection = selection [all...] |
analyze_counters_test.js | 11 base.require('tracing.selection'); 19 var Selection = tracing.Selection; 34 var selection = new Selection(); 36 selection.addCounterSample(t1track, ctr, 1); 39 return selection; 41 selection.addCounterSample(t1track, ctr, 0); 42 return selection; 65 var selection = new Selection() [all...] |
analyze_selection.js | 14 * Analyzes the selection, outputting the analysis results into the provided 18 * @param {Selection} selection What to analyze. 20 function analyzeSelection(results, selection) { 21 analyzeHitsByType(results, selection.getHitsOrganizedByType()); 27 var objectHits = new tracing.Selection(); 70 var selection = new tracing.Selection(); 71 selection.addObjectSnapshot(hit.track, objectSnapshot); 72 return selection; [all...] |
/external/chromium-trace/trace-viewer/src/cc/ |
layer_tree_host_impl_view.js | 35 'selection-changed', 44 'selection-changed', 68 this.selection = this.selection_.findEquivalent(lthi); 71 get selection() { 75 set selection(selection) { 76 this.selection_ = selection; 77 this.layerPicker_.selection = selection; 78 this.layerViewer_.selection = selection [all...] |
/external/chromium-trace/trace-viewer/src/tracing/tracks/ |
object_instance_track_test.js | 8 base.require('tracing.selection'); 15 var Selection = tracing.Selection; 62 var selection = new Selection(); 64 8, 8.1, 0.1, selection); 65 assertEquals(0, selection.length); 68 selection = new Selection(); 70 9.98, 9.99, 0.1, selection); [all...] |
/external/chromium_org/third_party/WebKit/ManualTests/blackberry/ |
selection-touch-override.html | 1 <br><textarea cols="45" rows="5">Text Area without override attribute select all this text and tap on the selection, context menu should be shown!</textarea> 2 <br><textarea cols="45" rows="5" data-blackberry-end-selection-on-touch="on">Text Area with override attribute select all this text and tap on the selection, caret should be placed!</textarea>
|
/external/clang/test/CodeGenObjC/ |
debuginfo-properties.m | 10 @class Selection; 13 @property (nonatomic, retain) Selection* selection; 14 // CHECK: [ DW_TAG_subprogram ] [line [[@LINE-1]]] [local] [def] [-[MyClass selection]] 16 // CHECK: [ DW_TAG_subprogram ] [line [[@LINE-3]]] [local] [def] [-[OtherClass selection]] 21 Selection *_selection; 26 @synthesize selection = _selection; 30 Selection *_selection; 34 @synthesize selection = _selection;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
broken1-expected-completion20.txt | 2 android:textColorHighlight : Color of the text selection highlight. [color, reference]
|
completionvalues1-expected-completion23.txt | 3 android:textSelectHandle : Reference to a drawable that will be used to display a text selection anchor for positioning the cursor within text. [reference] 4 android:textSelectHandleLeft : Reference to a drawable that will be used to display a text selection anchor on the left side of a selection region. [reference] 5 android:textSelectHandleRight : Reference to a drawable that will be used to display a text selection anchor on the right side of a selection region. [reference]
|
/external/chromium_org/ui/base/models/ |
list_selection_model_unittest.cc | 17 // Returns the state of the selection model as a string. The format is: 18 // 'active=X anchor=X selection=X X X...'. 22 " selection="; 23 const ListSelectionModel::SelectedIndices& selection( 25 for (size_t i = 0; i < selection.size(); ++i) { 28 result += base::IntToString(selection[i]); 35 EXPECT_EQ("active=-1 anchor=-1 selection=", StateAsString(model)); 42 EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model)); 49 EXPECT_EQ("active=-1 anchor=-1 selection=", StateAsString(model)); 57 EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model)) [all...] |
/external/chromium-trace/trace-viewer/src/tracing/ |
record_selection_dialog.css | 6 .record-selection-dialog { 11 .record-selection-dialog .default-enabled-categories { 15 .record-selection-dialog .default-disabled-categories { 21 .record-selection-dialog .categories { 26 .record-selection-dialog form { 34 .record-selection-dialog .options { 40 .record-selection-dialog td { 44 .record-selection-dialog .options label {
|
selection.js | 130 * Represents a selection within a and its associated set of tracks. 133 function Selection(opt_hits) { 142 Selection.prototype = { 213 addSelection: function(selection) { 214 for (var i = 0; i < selection.length; i++) 215 this.push_(selection[i]); 221 var selection = new Selection(); 222 selection.bounds_dirty_ = true; 227 selection.push_(this[i]) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCursorLoader.java | 15 private String selection; field in class:ShadowCursorLoader 23 public void __constructor__(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { 27 this.selection = selection; 54 return selection; 58 public void setSelection(String selection) { 59 this.selection = selection;
|
/external/chromium/chrome/browser/tabs/ |
tab_strip_selection_model_unittest.cc | 14 // Returns the state of the selection model as a string. The format is: 15 // 'active=X anchor=X selection=X X X...'. 19 " selection="; 20 const TabStripSelectionModel::SelectedIndices& selection( 22 for (size_t i = 0; i < selection.size(); ++i) { 25 result += base::IntToString(selection[i]); 32 EXPECT_EQ("active=-1 anchor=-1 selection=", StateAsString(model)); 39 EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model)); 47 EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model)); 49 // Increment from 4. This shouldn't effect the selection as its past th [all...] |
/external/chromium_org/third_party/WebKit/Source/core/page/ |
DOMSelection.cpp | 51 Node* node = frame->selection().selection().base().anchorNode(); 76 return m_frame->selection().selection(); 79 static Position anchorPosition(const VisibleSelection& selection) 81 Position anchor = selection.isBaseFirst() ? selection.start() : selection.end(); 85 static Position focusPosition(const VisibleSelection& selection) 87 Position focus = selection.isBaseFirst() ? selection.end() : selection.start() 218 const VisibleSelection& selection = m_frame->selection().selection(); local 233 const VisibleSelection& selection = m_frame->selection().selection(); local 387 const VisibleSelection& selection = m_frame->selection().selection(); local [all...] |
/frameworks/base/core/java/android/text/method/ |
ArrowKeyMovementMethod.java | 21 import android.text.Selection; 29 * A movement method that provides cursor movement and selection. 39 return layout.getLineTop(layout.getLineForOffset(Selection.getSelectionEnd(buffer))); 72 return Selection.extendLeft(buffer, layout); 74 return Selection.moveLeft(buffer, layout); 82 return Selection.extendRight(buffer, layout); 84 return Selection.moveRight(buffer, layout); 92 return Selection.extendUp(buffer, layout); 94 return Selection.moveUp(buffer, layout); 102 return Selection.extendDown(buffer, layout) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
SetSelectionCommand.cpp | 34 SetSelectionCommand::SetSelectionCommand(const VisibleSelection& selection, FrameSelection::SetSelectionOptions options) 35 : SimpleEditCommand(*selection.base().document()) 37 , m_selectionToSet(selection) 43 FrameSelection& selection = document().frame()->selection(); local 44 selection.setSelection(m_selectionToSet, m_options); 50 FrameSelection& selection = document().frame()->selection(); local 51 selection.setSelection(startingSelection(), m_options);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListSetSelectionTest.java | 25 * Basic tests of setting & clearing the selection 49 /** Confirm that we can set the selection to each specific position */ 53 // Set the selection to each position 57 assertEquals("Set selection", i, mListView.getSelectedItemPosition()); 61 /** Confirm that you cannot unset the selection using the same API */ 65 // Set the selection to first position 67 assertEquals("Set selection", 0, mListView.getSelectedItemPosition()); 69 // Clear the selection 71 assertEquals("Set selection", 0, mListView.getSelectedItemPosition());
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/ |
file_selection.js | 8 * The current selection object. 75 // Collect all of the mime types and push that info into the selection. 149 * This object encapsulates everything related to current selection. 210 * Update the UI when the selection model changes. 217 if (this.selection) this.selection.cancelComputing_(); 218 var selection = new FileSelection(this.fileManager_, indexes); 219 this.selection = selection; 224 if (this.selection.totalCount == 1 & [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/ |
manifest.json | 2 "name": "Speak Selection", 4 "description": "Speaks the current selection out loud.", 21 "default_title": "Speak Selection"
|
/frameworks/base/core/tests/coretests/apks/version/src/com/android/frameworks/coretests/version_test/ |
NullProvider.java | 15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 26 public int delete(Uri uri, String selection, String[] selectionArgs) { 31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/frameworks/base/core/tests/coretests/apks/version_nosys/src/com/android/frameworks/coretests/version_test/ |
NullProvider.java | 15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 26 public int delete(Uri uri, String selection, String[] selectionArgs) { 31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/art/test/081-hot-exceptions/ |
info.txt | 2 exceptions encountered during trace selection. The existence of exceptions will
|