/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/analysis/ |
slice_selection_analysis_test.html | 9 <title>Slice Selection Analysis Tests</title> 23 var selection = new tracing.Selection(); 26 analysis.selection = selection; 33 var selection = new tracing.Selection(); 34 data.t1track.selectByTitle('b', selection); 37 analysis.selection = selection; [all...] |
single_counter_selection_analysis_test.html | 9 <title>Single Counter Selection Analysis Tests</title> 25 var selection = new tracing.Selection(); 26 data.t1track.selectByTitle('b', selection); 30 analysis.selection = selection; 37 var selection = new tracing.Selection(); 38 selection.addCounterSample(data.ctr1track, data.ctr1track.counter, 0); 41 analysis.selection = selection [all...] |
slice_group_selection_analysis_test.html | 9 <title>Slice Group Selection Analysis Tests</title> 25 var selection = new tracing.Selection(); 26 data.t1track.selectByTitle('f', selection); 29 analysis.selection = selection; 44 var selection = new tracing.Selection(); 45 data.t1track.selectByTitle('b', selection); 48 analysis.selection = selection [all...] |
counter_selection_analysis_test.html | 9 <title>Counter Selection Analysis Tests</title> 22 var selection = new tracing.Selection(); 25 analysis.selection = selection; 32 var selection = new tracing.Selection(); 33 data.t1track.selectByTitle('b', selection); 37 analysis.selection = selection; [all...] |
single_slice_selection_analysis_test.html | 9 <title>Single Slice Selection Analysis Tests</title> 25 var selection = new tracing.Selection(); 26 data.t1track.selectByTitle('D', selection); 29 analysis.selection = selection; 48 var selection = new tracing.Selection(); 49 data.t1track.selectByTitle('f', selection); 52 analysis.selection = selection [all...] |
counter_selection_analysis.js | 23 tracing.ui.define('counter-selection-analysis'); 31 set selection(s) { 33 throw new Error('Expected at least 1 counter in selection'); 35 throw new Error('Expected only counters in selection'); 41 get selection() { 63 var childSelection = new tracing.Selection(); 65 childEl.selection = childSelection;
|
selection_analysis_test.html | 9 <title>Selection Analysis Tests</title> 27 var selection = new tracing.Selection(); 28 data.t1track.selectByTitle('f', selection); 31 analysis.selection = selection; 50 var selection = new tracing.Selection(); 51 data.t1track.selectByTitle('D', selection); 54 analysis.selection = selection [all...] |
single_counter_selection_analysis.js | 22 tracing.ui.define('single-counter-selection'); 31 set selection(selection) { 33 if (selection.getNumSliceHits() != 0) 34 throw new Error('Expected only counters in selection'); 36 if (selection.getNumCounterHits() != 1) 37 throw new Error('Expected only 1 counter in selection'); 39 this.selection_ = selection; 43 get 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/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...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
DismissAlarmsService.java | 67 String selection; local 72 selection = CalendarAlerts.STATE + "=" + CalendarAlerts.STATE_FIRED + " AND " + 76 selection = buildMultipleEventsQuery(eventIds); 82 selection = CalendarAlerts.STATE + "=" + CalendarAlerts.STATE_FIRED; 90 resolver.update(uri, values, selection, null); 110 StringBuilder selection = new StringBuilder(); local 111 selection.append(CalendarAlerts.STATE); 112 selection.append("="); 113 selection.append(CalendarAlerts.STATE_FIRED); 115 selection.append(" AND (") [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/webkit/Source/WebCore/page/ |
DOMSelection.cpp | 46 Node* node = frame->selection()->selection().base().anchorNode(); 73 return m_frame->selection()->selection(); 76 static Position anchorPosition(const VisibleSelection& selection) 78 Position anchor = selection.isBaseFirst() ? selection.start() : selection.end(); 82 static Position focusPosition(const VisibleSelection& selection) 84 Position focus = selection.isBaseFirst() ? selection.end() : selection.start() 223 const VisibleSelection& selection = m_frame->selection()->selection(); local 238 const VisibleSelection& selection = m_frame->selection()->selection(); local 384 const VisibleSelection& selection = m_frame->selection()->selection(); local [all...] |
/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-trace/trace-viewer/src/ |
find_control_test.html | 46 this.selection = new tracing.Selection(); 68 setSelectionAndMakeVisible: function(selection, zoomAllowed) { 69 this.selection = selection; 72 addAllObjectsMatchingFilterToSelection: function(filter, selection) { 75 selection.push_( 122 timeline.selection = new tracing.Selection(); 124 assertArrayShallowEquals([], timeline.selection); [all...] |
timeline_analysis_view_test.html | 44 var Selection = tracing.Selection; 62 var selection = new Selection(); 64 new TitleFilter('b'), selection); 65 assertEquals(1, selection.length); 67 return selection; 82 var selection = new Selection(); 84 new TitleFilter('a'), selection); [all...] |
/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) {
|
/dalvik/tests/081-hot-exceptions/ |
info.txt | 2 exceptions encountered during trace selection. The existence of exceptions will
|
/external/chromium/chrome/browser/resources/shared/js/cr/ui/table/ |
table_selection_model.js | 6 * @fileoverview This is a multiple selection model for table 12 * Creates a new selection model that is to be used with tables. 13 * This implementation supports multiple selection. 16 * @param {number=} opt_length The number of items in the selection. 29 * Adjusts the selection after reordering of items in the table. 47 * Adjust the selection by adding or removing a certain numbers of items. 48 * This should be called by the owner of the selection model as items are 50 * This implementation updates selection model length only. The actual
|
table_single_selection_model.js | 6 * @fileoverview This is a single selection model for table 12 * Creates a new selection model that is to be used with tables. 13 * This implementation supports single selection. 14 * Selected item is stored, not index, so selection is preserved 16 * @param {number=} opt_length The number of items in the selection. 29 * Adjusts the selection after reordering of items in the table. 43 * Adjust the selection by adding or removing a certain numbers of items. 44 * This should be called by the owner of the selection model as items are
|
/frameworks/base/core/java/android/content/ |
EventLogTags.logtags | 5 52002 content_query_sample (uri|3),(projection|3),(selection|3),(sortorder|3),(time|1|3),(blocking_package|3),(sample_percent|1|6) 6 52003 content_update_sample (uri|3),(operation|3),(selection|3),(time|1|3),(blocking_package|3),(sample_percent|1|6)
|
/external/kernel-headers/original/linux/ |
tiocl.h | 4 #define TIOCL_SETSEL 2 /* set a selection */ 9 #define TIOCL_SELCLEAR 4 /* clear visibility of selection */ 10 #define TIOCL_SELMOUSEREPORT 16 /* report beginning of selection */ 12 /* selection extent */ 18 unsigned short sel_mode; /* selection mode */ 21 #define TIOCL_PASTESEL 3 /* paste previous selection */
|