HomeSort by relevance Sort by last modified time
    Searched refs:LEFT (Results 1 - 25 of 320) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/guava/guava/src/com/google/common/collect/
BstSide.java 26 LEFT {
35 return LEFT;
BstNode.java 19 import static com.google.common.collect.BstSide.LEFT;
46 * The key on which this binary search tree is ordered. All descendants of the left subtree of
52 * The left child of this node. A null value indicates that this node has no left child.
55 private final N left; field in class:BstNode
63 BstNode(@Nullable K key, @Nullable N left, @Nullable N right) {
65 this.left = left;
83 case LEFT:
84 return left;
    [all...]
BstCountBasedBalancePolicies.java 22 import static com.google.common.collect.BstSide.LEFT;
52 BstNodeFactory<N> nodeFactory, N source, @Nullable N left, @Nullable N right) {
53 return checkNotNull(nodeFactory).createNode(source, left, right);
58 public N combine(BstNodeFactory<N> nodeFactory, @Nullable N left, @Nullable N right) {
59 if (left == null) {
62 return left;
63 } else if (countAggregate.treeValue(left) > countAggregate.treeValue(right)) {
65 left, left.childOrNull(LEFT), combine(nodeFactory, left.childOrNull(RIGHT), right))
    [all...]
BstOperations.java 18 import static com.google.common.collect.BstSide.LEFT;
50 BstSide side = (cmp < 0) ? LEFT : RIGHT;
77 BstSide side = (cmp < 0) ? LEFT : RIGHT;
125 originalLeft = tree.childOrNull(LEFT);
167 if (root.hasChild(LEFT)) {
169 extractMin(root.getChild(LEFT), nodeFactory, balancePolicy);
170 return subResult.lift(root, LEFT, nodeFactory, balancePolicy);
190 return BstMutationResult.mutationResult(root.getKey(), root, root.childOrNull(LEFT),
207 insertMin(root.childOrNull(LEFT), entry, nodeFactory, balancePolicy),
224 return balancePolicy.balance(nodeFactory, root, root.childOrNull(LEFT),
    [all...]
BstRangeOps.java 18 import static com.google.common.collect.BstSide.LEFT;
46 total -= totalBeyondRangeToSide(aggregate, range, LEFT, root);
85 ? subTreeBeyondRangeToSide(range, balancePolicy, nodeFactory, LEFT, root)
102 N left = root.childOrNull(LEFT); local
105 case LEFT:
106 right = subTreeBeyondRangeToSide(range, balancePolicy, nodeFactory, LEFT, right);
109 left = subTreeBeyondRangeToSide(range, balancePolicy, nodeFactory, RIGHT, left);
114 return balancePolicy.balance(nodeFactory, root, left, right)
    [all...]
BstMutationResult.java 21 import static com.google.common.collect.BstSide.LEFT;
133 N resultLeft = liftOriginalRoot.childOrNull(LEFT);
136 case LEFT:
  /cts/tests/tests/graphics/src/android/graphics/cts/
Paint_AlignTest.java 26 assertEquals(Align.LEFT, Align.valueOf("LEFT"));
36 assertEquals(Align.LEFT, actual[0]);
44 assertEquals(Align.LEFT, p.getTextAlign());
PathTest.java 27 private static final float LEFT = 10.0f;
47 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM);
57 path.addRect(LEFT, TOP, RIGHT, BOTTOM, Path.Direction.CW);
155 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM);
164 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM);
186 RectF expected = new RectF(LEFT, TOP, RIGHT, BOTTOM);
190 RectF bounds = new RectF(LEFT, TOP, RIGHT, BOTTOM);
246 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM);
297 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM);
306 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM)
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
TextAlignment.java 26 LEFT(0x0),
  /sdk/rule_api/src/com/android/ide/common/api/
SegmentType.java 30 /** Segment is on the left edge */
31 @NonNull LEFT,
72 case LEFT:
106 case LEFT:
  /frameworks/base/core/java/android/database/
CursorJoiner.java 32 * case LEFT:
59 /** The row currently pointed to by the left cursor is unique */
62 LEFT,
68 * Initializes the CursorJoiner and resets the cursors to the first row. The left and right
70 * @param cursorLeft The left cursor to compare
71 * @param columnNamesLeft The column names to compare from the left cursor
80 "you must have the same number of columns on the left and right, "
126 case LEFT:
152 * @return LEFT, if the row pointed to by the left cursor is unique, RIGH
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
ConstraintType.java 22 import static com.android.ide.common.api.SegmentType.LEFT;
63 ALIGN_LEFT(ATTR_LAYOUT_ALIGN_LEFT, LEFT, null, LEFT, null, false, false, true, false),
65 LAYOUT_LEFT_OF(ATTR_LAYOUT_TO_LEFT_OF, RIGHT, null, LEFT, null, false, false, true, true),
66 LAYOUT_RIGHT_OF(ATTR_LAYOUT_TO_RIGHT_OF, LEFT, null, RIGHT, null, false, false, true, true),
70 ALIGN_PARENT_LEFT(ATTR_LAYOUT_ALIGN_PARENT_LEFT, LEFT, null, LEFT, null, true, false, true,
184 case LEFT:
219 case LEFT:
221 case LEFT
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
BstTesting.java 18 import static com.google.common.collect.BstSide.LEFT;
39 SimpleNode(Character key, @Nullable SimpleNode left, @Nullable SimpleNode right) {
40 super(key, left, right);
53 && Objects.equal(childOrNull(LEFT), node.childOrNull(LEFT))
61 return Objects.hashCode(getKey(), childOrNull(LEFT), childOrNull(RIGHT));
68 SimpleNode source, @Nullable SimpleNode left, @Nullable SimpleNode right) {
69 return new SimpleNode(source.getKey(), left, right);
76 @Nullable SimpleNode left, @Nullable SimpleNode right) {
77 return checkNotNull(nodeFactory).createNode(source, left, right)
    [all...]
BstInOrderPathTest.java 17 import static com.google.common.collect.BstSide.LEFT;
52 BstInOrderPath<SimpleNode> path = extension(factory, d, LEFT, LEFT);
86 assertFalse(path.hasNext(LEFT));
103 BstInOrderPath<SimpleNode> path = extension(factory, d, LEFT, LEFT);
132 assertFalse(path.hasNext(LEFT));
148 BstInOrderPath<SimpleNode> path = extension(factory, d, LEFT);
176 assertFalse(path.hasNext(LEFT));
189 assertTrue(path.hasNext(LEFT));
    [all...]
BstNodeTest.java 17 import static com.google.common.collect.BstSide.LEFT;
54 testLacksChild(leaf, LEFT);
61 testChildIs(node, LEFT, leaf);
68 testLacksChild(node, LEFT);
73 SimpleNode left = new SimpleNode('a', null, null); local
75 SimpleNode node = new SimpleNode('b', left, right);
76 testChildIs(node, LEFT, left);
95 for (SimpleNode left : GOOD_LEFTS) {
98 new SimpleNode(MIDDLE_KEY, left, right).orderingInvariantHolds(Ordering.natural()))
    [all...]
  /gdk/samples/PhotoEditor/src/com/android/photoeditor/animation/
Rotate3DAnimation.java 35 UP, DOWN, LEFT, RIGHT
92 case LEFT:
106 case LEFT:
127 case LEFT:
  /frameworks/av/media/libstagefright/codecs/mp3dec/src/
pvmp3_framedecoder.cpp 214 pChVars[ LEFT] = &pVars->perChan[ LEFT];
334 pv_memset((void*)pChVars[LEFT]->work_buf_int32,
336 SUBBANDS_NUMBER*FILTERBANK_BANDS*sizeof(pChVars[LEFT]->work_buf_int32[0]));
339 pv_memset((void*)&pChVars[ LEFT]->circ_buffer[576],
341 480*sizeof(pChVars[ LEFT]->circ_buffer[0]));
346 pChVars[ LEFT]->used_freq_lines = 575;
408 int32 used_freq_lines = (pChVars[ LEFT]->used_freq_lines >
410 pChVars[ LEFT]->used_freq_lines :
413 pChVars[ LEFT]->used_freq_lines = used_freq_lines
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
StatusBarController.java 50 labelText.setHorizontalTextPosition(JLabel.LEFT);
56 layout.setAlignment(FlowLayout.LEFT);
  /frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
ListOfTouchablesTest.java 63 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT,
80 Gravity.TOP | Gravity.LEFT, mListView.getTop());
  /external/chromium/chrome/browser/ui/views/bookmarks/
bookmark_bar_view_test.cc 279 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
300 ui_controls::MoveMouseToCenterAndPress(menu_to_select, ui_controls::LEFT,
333 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
345 // NOTE: this code assume there is a left margin, which is currently
352 ui_controls::LEFT, ui_controls::DOWN | ui_controls::UP,
383 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
400 ui_controls::MoveMouseToCenterAndPress(child_menu, ui_controls::LEFT,
416 ui_controls::MoveMouseToCenterAndPress(child_menu, ui_controls::LEFT,
488 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT,
519 ui_controls::LEFT, ui_controls::DOWN | ui_controls::UP
    [all...]
  /external/chromium/chrome/browser/automation/
ui_controls.h 67 LEFT = 0,
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/
PerformanceResultsPerspective.java 47 // Components and Builds view put on perspective top left
51 IPageLayout.LEFT,
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
StackTracePanel.java 187 SWT.LEFT,
194 SWT.LEFT,
201 SWT.LEFT,
215 SWT.LEFT,
  /frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
LayoutInsetsTest.java 18 static int[] GRAVITIES = {Gravity.LEFT, Gravity.LEFT, Gravity.CENTER_HORIZONTAL, Gravity.RIGHT, Gravity.RIGHT};
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
GridMatch.java 94 case LEFT:
100 return "Add one margin distance from the left";
104 return String.format("Align left at x=%1$d", matchedLine - layout.getBounds().x);
145 case LEFT:

Completed in 455 milliseconds

1 2 3 4 5 6 7 8 91011>>