HomeSort by relevance Sort by last modified time
    Searched defs:Selection (Results 1 - 25 of 38) sorted by null

1 2

  /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...]
SpannableStringBuilderTest.java 29 import android.text.Selection;
852 Selection.setSelection(spannable, text.length());
    [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; }
  /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);
  /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
  /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/FuzzMutate/
Random.h 36 typename std::remove_const<T>::type Selection = {};
47 return Selection;
68 Selection = Item;
  /external/clang/unittests/Driver/
MultilibTest.cpp 293 << "Flag set was {\"+m64\"}, but selection not found";
295 << "Selection picked " << SelectionM64 << " which was not expected";
301 << "Flag set was {\"-m64\"}, but selection not found";
303 << "Selection picked " << SelectionNoM64 << " which was not expected";
325 Multilib Selection;
326 ASSERT_TRUE(MS2.select(Flags, Selection)) << "Selection failed for "
336 ASSERT_EQ(Selection.gccSuffix(), Suffix) << "Selection picked " << Selection
    [all...]
  /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;
  /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/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);
  /cts/tests/tests/text/src/android/text/method/cts/
BaseKeyListenerTest.java 26 import android.text.Selection;
65 // Delete the first three letters using a selection.
70 // Delete the character prior to the cursor when there's no selection
163 // ALT+DEL deletes the selection only.
176 assertEquals(offset, Selection.getSelectionStart(content));
177 assertEquals(offset, Selection.getSelectionEnd(content));
515 * 2. Set a selection and press DEL key, the selection is deleted.
556 Selection.setSelection(content, 1, 0);
594 Selection.setSelection
    [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...]
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...]
  /external/llvm/utils/TableGen/
CodeGenInstruction.cpp 418 StringRef Selection = Cur.slice(VariantsStart, VariantsEnd);
420 Selection = Selection.split('|').second;
421 Res += Selection.split('|').first;
  /external/swiftshader/third_party/LLVM/lib/MC/
WinCOFFStreamer.cpp 149 int Selection = COFF::IMAGE_COMDAT_SELECT_LARGEST;
152 SectionName, Characteristics, Selection, SectionKind::getBSS());
  /external/swiftshader/third_party/LLVM/utils/TableGen/
CodeGenInstruction.cpp 387 StringRef Selection = Cur.slice(VariantsStart, VariantsEnd);
389 Selection = Selection.split('|').second;
390 Res += Selection.split('|').first;
  /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...]
  /external/pdfium/xfa/fde/
cfde_texteditengine.h 144 // Returns <start_idx, count> of the selection.
196 struct Selection {
236 Selection selection_;
  /external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
CodeGenInstruction.cpp 427 StringRef Selection = Cur.slice(VariantsStart, VariantsEnd);
429 Selection = Selection.split('|').second;
430 Res += Selection.split('|').first;
  /external/llvm/lib/CodeGen/
TargetLoweringObjectFileImpl.cpp 891 int Selection = 0;
896 Selection = getSelectionForCOFF(GV);
898 if (Selection == COFF::IMAGE_COMDAT_SELECT_ASSOCIATIVE)
908 Selection = 0;
913 Selection);
    [all...]
  /external/clang/test/CodeGenCXX/
dllexport.cpp     [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowActivity.java 26 import android.text.Selection;
281 Selection.setSelection(mDefaultKeySsb, 0);
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
ScriptEditor.java 33 import android.text.Selection;
468 Selection.moveLeft(mContentText.getText(), mContentText.getLayout());
550 Selection.setSelection(text, edit.mmBefore == null ? start : (start + edit.mmBefore.length()));
567 Selection.setSelection(text, edit.mmAfter == null ? start : (start + edit.mmAfter.length()));

Completed in 829 milliseconds

1 2