/cts/tests/tests/text/src/android/text/cts/ |
SelectionTest.java | 25 import android.text.Selection; 47 assertEquals(-1, Selection.getSelectionStart(builder)); 49 Selection.setSelection(builder, 3, 8); 50 assertEquals(3, Selection.getSelectionStart(builder)); 52 Selection.setSelection(builder, 3, 9); 53 assertEquals(3, Selection.getSelectionStart(builder)); 55 Selection.setSelection(builder, 5, 7); 56 assertEquals(5, Selection.getSelectionStart(builder)); 58 assertEquals(-1, Selection.getSelectionStart(null)); 65 assertEquals(-1, Selection.getSelectionEnd(builder)) [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/MC/ |
MCSectionCOFF.h | 32 /// Selection - This is the Selection field for the section symbol, if 34 int Selection; 39 int Selection, SectionKind K) 41 Characteristics(Characteristics), Selection (Selection) { 54 int getSelection () const { return Selection; }
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/ |
Selection.java | 12 public final class Selection { 30 public Selection set(Selection other) { 37 public Selection set(int anchor, int caret, boolean clickAfter) { 45 Selection other2 = (Selection)other; 51 public boolean isLessThan(Selection other) { 55 public Selection pin(String text) { 71 public Selection swap(Selection after) [all...] |
/external/llvm/include/llvm/MC/ |
MCSectionCOFF.h | 46 /// This is the Selection field for the section symbol, if it is a COMDAT 48 mutable int Selection; 53 MCSymbol *COMDATSymbol, int Selection, SectionKind K, 57 Selection(Selection) { 72 int getSelection() const { return Selection; } 74 void setSelection(int Selection) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/ |
MCSectionCOFF.h | 49 /// This is the Selection field for the section symbol, if it is a COMDAT 51 mutable int Selection; 56 MCSymbol *COMDATSymbol, int Selection, SectionKind K, 60 Selection(Selection) { 75 int getSelection() const { return Selection; } 77 void setSelection(int Selection) const;
|
/cts/tests/tests/text/src/android/text/method/cts/ |
MetaKeyKeyListenerTest.java | 29 import android.text.Selection; 58 content.setSpan(Selection.SELECTION_START, 0, 0, Spanned.SPAN_POINT_POINT); 59 content.setSpan(Selection.SELECTION_END, 0, 0, Spanned.SPAN_POINT_POINT); 64 content.setSpan(Selection.SELECTION_START, 1, 1, Spanned.SPAN_POINT_POINT); 65 content.setSpan(Selection.SELECTION_END, 1, 1, Spanned.SPAN_POINT_POINT); 70 content.setSpan(Selection.SELECTION_START, 3, 3, Spanned.SPAN_POINT_POINT); 71 content.setSpan(Selection.SELECTION_END, 3, 3, Spanned.SPAN_POINT_POINT); 84 content.setSpan(Selection.SELECTION_START, 0, 0, Spanned.SPAN_POINT_POINT); 85 content.setSpan(Selection.SELECTION_END, 0, 0, Spanned.SPAN_POINT_POINT); 90 content.setSpan(Selection.SELECTION_START, 1, 1, Spanned.SPAN_POINT_POINT) [all...] |
ArrowKeyMovementMethodTest.java | 30 import android.text.Selection; 138 Selection.removeSelection(mEditable); 145 Selection.removeSelection(mEditable); 158 Selection.removeSelection(mEditable); 164 Selection.removeSelection(mEditable); 202 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); 215 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); 222 assertEquals(SPACE_IN_2ND_LINE, Selection.getSelectionStart(mEditable)); 223 int correspondingIn1stLine = Selection.getSelectionEnd(mEditable); 239 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE) [all...] |
CharacterPickerDialogTest.java | 25 import android.text.Selection; 83 Selection.setSelection(text, 0, 0); 93 Selection.setSelection(text, 2, 2); 104 Selection.setSelection(text, 2, 2);
|
LinkMovementMethodTest.java | 33 import android.text.Selection; 120 Selection.setSelection(spannable, 0, spannable.length()); 134 Selection.setSelection(spannable, 0, spannable.length()); 145 Selection.setSelection(spannable, 0, spannable.length()); 164 // no selection 174 Selection.setSelection(mSpannable, mSpannable.getSpanStart(mClickable0), 184 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0), 194 Selection.selectAll(mSpannable); 202 // part of selection is clickable 203 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0) [all...] |
TextKeyListenerTest.java | 37 import android.text.Selection; 156 textKeyListener.onSpanChanged(text, Selection.SELECTION_END, 0, 0, 0, 0); 164 textKeyListener.onSpanChanged(null, Selection.SELECTION_END, 0, 0, 0, 0); 212 Selection.setSelection(mTextView.getText(), 0, 0); 243 Selection.setSelection(mTextView.getText(), 0, 0);
|
/external/llvm/lib/MC/ |
MCSectionCOFF.cpp | 34 void MCSectionCOFF::setSelection(int Selection) const { 35 assert(Selection != 0 && "invalid COMDAT selection type"); 36 this->Selection = Selection; 71 switch (Selection) { 94 assert (0 && "unsupported COFF selection type");
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
MCSectionCOFF.cpp | 34 void MCSectionCOFF::setSelection(int Selection) const { 35 assert(Selection != 0 && "invalid COMDAT selection type"); 36 this->Selection = Selection; 76 switch (Selection) { 99 assert(false && "unsupported COFF selection type");
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/ |
Presentation.c | [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInfoDxe/ |
PlatformInfoDxe.c | 60 UINT8 Selection;
88 VarSize = sizeof(Selection);
94 &Selection
98 Selection = SystemConfiguration.ReservedO;
103 sizeof(Selection),
104 &Selection
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityTextTraversalTest.java | 33 import android.text.Selection; 579 // Verify the selection position. 580 assertEquals(1, Selection.getSelectionStart(textView.getText())); 581 assertEquals(1, Selection.getSelectionEnd(textView.getText())); 613 // Verify the selection position. 614 assertEquals(2, Selection.getSelectionStart(textView.getText())); 615 assertEquals(2, Selection.getSelectionEnd(textView.getText())); 647 // Verify the selection position. 648 assertEquals(3, Selection.getSelectionStart(textView.getText())); 649 assertEquals(3, Selection.getSelectionEnd(textView.getText())) [all...] |
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
InputConnectionTestUtils.java | 19 import android.text.Selection; 32 * <dl>{@code [}</dl><dd>The text selection starts from here.</dd> 33 * <dl>{@code ]}</dl><dd>The text selection ends at here.</dd> 43 * @return A {@link CharSequence} object with text selection specified by the meta characters. 70 throw new UnsupportedOperationException("Selection marker '[' must be specified."); 73 throw new UnsupportedOperationException("Selection marker ']' must be specified."); 75 Selection.setSelection(builder, selectionStart, selectionEnd);
|
/external/setupdesign/main/src/com/google/android/setupdesign/view/ |
TouchableMovementMethod.java | 19 import android.text.Selection; 60 // consume the down event. So here we use the selection instead as a hint of whether 62 lastEventResult = Selection.getSelectionStart(buffer) != -1;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/FuzzMutate/ |
Random.h | 36 typename std::remove_const<T>::type Selection = {}; 47 return Selection; 68 Selection = Item;
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
EditTextBackspacePerfTest.java | 22 import android.text.Selection; 90 Selection.setSelection(editText.getText(), 0, 0); 105 Assert.assertEquals(mCursorPos, Selection.getSelectionStart(editText.getText()));
|
EditTextCursorMovementPerfTest.java | 22 import android.text.Selection; 90 Selection.setSelection(editText.getText(), 0, 0); 105 Assert.assertEquals(mCursorPos, Selection.getSelectionStart(editText.getText()));
|
/external/swiftshader/third_party/LLVM/lib/MC/ |
MCSectionCOFF.cpp | 52 switch (Selection) { 67 // comdat selection value. 72 assert (0 && "unsupported COFF selection type");
|
/external/setupdesign/main/src/com/google/android/setupdesign/span/ |
LinkSpan.java | 23 import android.text.Selection; 93 // Remove the highlight effect when the click happens by clearing the selection 96 Selection.setSelection((Spannable) text, 0);
|
/external/llvm/test/MC/COFF/ |
seh-section-2.s | 61 # CHECK: Selection: Any (0x2) 78 # CHECK: Selection: Associative (0x5) 96 # CHECK: Selection: Associative (0x5) 114 # CHECK: Selection: Associative (0x5) 132 # CHECK: Selection: Associative (0x5) 150 # CHECK: Selection: Associative (0x5)
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/COFF/ |
seh-section-2.s | 61 # CHECK: Selection: Any (0x2) 78 # CHECK: Selection: Associative (0x5) 96 # CHECK: Selection: Associative (0x5) 114 # CHECK: Selection: Associative (0x5) 132 # CHECK: Selection: Associative (0x5) 150 # CHECK: Selection: Associative (0x5)
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
BaseInputConnectionTest.java | 29 import android.text.Selection; 103 * selection position of the editable text. 105 * cursor caps mode for the current selection position in the editable text. 108 * around the current selection position of the editable text. 109 * setSelection: changes the selection position in the current editable text. 190 * mode with an initial text and selection range. 194 * and selection range from {@code selectionStart} to {@code selectionEnd} 197 final int selectionStart = Selection.getSelectionStart(source); 198 final int selectionEnd = Selection.getSelectionEnd(source); 200 Selection.setSelection(editable, selectionStart, selectionEnd) [all...] |