HomeSort by relevance Sort by last modified time
    Searched refs:direction (Results 101 - 125 of 1594) sorted by null

1 2 3 45 6 7 8 91011>>

  /frameworks/base/core/tests/coretests/src/android/view/
FocusFinderTest.java 380 * (majorAxisDistance was wrong for direction left)
475 private void assertBeamsOverlap(int direction, Rect rect1, Rect rect2) {
476 String directionStr = validateAndGetStringFor(direction);
477 String assertMsg = String.format("Expected beams to overlap in direction %s "
479 assertTrue(assertMsg, mFocusFinder.beamsOverlap(direction, rect1, rect2));
482 private void assertBeamsDontOverlap(int direction, Rect rect1, Rect rect2) {
483 String directionStr = validateAndGetStringFor(direction);
484 String assertMsg = String.format("Expected beams not to overlap in direction %s "
486 assertFalse(assertMsg, mFocusFinder.beamsOverlap(direction, rect1, rect2));
492 * @param direction The direction of focus search
    [all...]
  /external/fio/
cairo_text_helpers.c 12 double factor, direction; local
17 direction = -1.0;
21 direction = -1.0;
26 direction = 1.0;
34 x = x + direction * (factor * extents.width + extents.x_bearing);
  /external/linux-kselftest/tools/testing/selftests/gpio/
gpio-mockup-sysfs.sh 9 dir_sysfs=`cat $GPIO_SYSFS/gpio$nr/direction`
39 direction=$2
43 echo $direction > $GPIO_SYSFS/gpio$nr/direction
45 if [ $direction = "out" ]; then
73 #"Checking the logic of direction: "
  /external/adhd/cras/src/server/
cras_empty_iodev.c 60 if (iodev->direction == CRAS_STREAM_INPUT)
120 if (iodev->direction == CRAS_STREAM_OUTPUT) {
143 if (iodev->direction == CRAS_STREAM_OUTPUT) {
162 if (iodev->direction == CRAS_STREAM_INPUT) {
179 struct cras_iodev *empty_iodev_create(enum CRAS_STREAM_DIRECTION direction)
185 if (direction != CRAS_STREAM_INPUT && direction != CRAS_STREAM_OUTPUT)
192 iodev->direction = direction;
219 if (direction == CRAS_STREAM_INPUT)
    [all...]
cras_iodev_list.c 51 /* Keep an empty device per direction. */
113 struct iodev_list *list = &devs[dev->direction];
138 dev->direction == CRAS_STREAM_OUTPUT ? "output" : "input",
151 DL_FOREACH(devs[dev->direction].iodevs, tmp)
155 DL_DELETE(devs[dev->direction].iodevs, dev);
156 devs[dev->direction].size--;
546 enum CRAS_STREAM_DIRECTION dir = dev->direction;
555 if (stream->direction != dir || stream->is_pinned)
584 possibly_disable_fallback(dev->direction);
634 DL_FOREACH(enabled_devs[rstream->direction], edev)
720 enum CRAS_STREAM_DIRECTION direction = rstream->direction; local
    [all...]
cras_rstream.h 45 * direction - input or output.
70 enum CRAS_STREAM_DIRECTION direction; member in struct:cras_rstream
96 * direction - CRAS_STREAM_OUTPUT or CRAS_STREAM_INPUT.
108 enum CRAS_STREAM_DIRECTION direction; member in struct:cras_rstream_config
162 /* Gets the direction (input/output/loopback) of the stream. */
166 return stream->direction;
220 if (stream->direction == CRAS_STREAM_OUTPUT)
244 return cras_stream_uses_output_hw(s->direction);
250 return cras_stream_uses_input_hw(s->direction);
cras_alsa_io.h 32 * direction - input or output.
50 enum CRAS_STREAM_DIRECTION direction,
  /packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
SortHeaderBot.java 64 public void sortBy(@SortDimensionId int id, @SortDirection int direction) {
65 assert(direction != SortDimension.SORT_DIRECTION_NONE);
71 result = mDropBot.sortBy(label, direction);
73 result = mColumnBot.sortBy(label, direction);
76 assertTrue("Sorting by id: " + id + " in direction: " + direction + " failed.",
105 private boolean sortBy(String label, @SortDirection int direction) {
109 if (direction != getDirection()) {
116 && getDirection() == direction;
144 private boolean sortBy(String label, @SortDirection int direction) {
    [all...]
  /external/droiddriver/src/io/appium/droiddriver/scroll/
SentinelStrategy.java 29 import io.appium.droiddriver.scroll.Direction.DirectionConverter;
30 import io.appium.droiddriver.scroll.Direction.LogicalDirection;
31 import io.appium.droiddriver.scroll.Direction.PhysicalDirection;
176 PhysicalDirection direction) {
177 Logs.call(this, "getSentinel", driver, containerFinder, direction);
179 LogicalDirection logicalDirection = directionConverter.toLogicalDirection(direction);
195 PhysicalDirection direction) {}
199 PhysicalDirection direction) {}
207 public void doScroll(UiElement container, PhysicalDirection direction) {
208 container.scroll(direction);
    [all...]
  /external/tensorflow/tensorflow/contrib/cudnn_rnn/python/ops/
cudnn_rnn_ops.py 196 direction=CUDNN_RNN_UNIDIRECTION,
205 tensors followed by bias tensors, and forward direction followed by
206 backward direction (if applicable). When restoring, a user could name
239 direction: the direction model that the model operates. Could be either
250 self._direction = direction
315 direction=self._direction)
336 direction=self._direction)
771 def check_direction(direction):
772 """Check validity of direction.""
1324 def direction(self): member in class:_CudnnRNN
    [all...]
  /external/libnl/tests/
test-complex-HTB-with-hash-filters.c 503 uint32_t ht, htlink, htid, direction, classid; local
596 // direction = 12 -> source IP
597 // direction = 16 -> destination IP
598 direction = 16;
647 0x0, 0x0, direction, 0,
648 0, htlink, 0xff000000, direction);
684 0x0a000000, 0xff000000, direction, 0,
685 htid, htlink, 0x00ff0000, direction);
693 0xac000000, 0xff000000, direction, 0,
694 htid, htlink, 0x00ff0000, direction);
    [all...]
  /packages/apps/TV/src/com/android/tv/guide/
ProgramGrid.java 116 // in all four directions so not only would we prefetch views in the scrolling direction
117 // but also keep views in the perpendicular direction up to date.
154 public View focusSearch(View focused, int direction) {
157 return super.focusSearch(focused, direction);
159 if (direction == View.FOCUS_UP || direction == View.FOCUS_DOWN) {
160 updateUpDownFocusState(focused, direction);
161 View nextFocus = focusFind(focused, direction);
166 return super.focusSearch(focused, direction);
170 public boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect)
    [all...]
  /frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
RecyclerViewFastScrollerTest.java 228 private void scrollUpdatesFastScrollThumb(int direction) throws Throwable {
230 mScroller.updateScrollPosition(direction == FLAG_VERTICAL ? 0 : 250,
231 direction == FLAG_VERTICAL ? 250 : 0);
232 if (direction == FLAG_VERTICAL) {
237 } else if (direction == FLAG_HORIZONTAL) {
245 mScroller.updateScrollPosition(direction == FLAG_VERTICAL ? 0 : 42,
246 direction == FLAG_VERTICAL ? 42 : 0);
247 if (direction == FLAG_VERTICAL) {
252 } else if (direction == FLAG_HORIZONTAL) {
283 private void draggingFastScrollThumbDoesActualScrolling(int direction) throws Throwable
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/
permmap.py 147 "{0}:{1}:Invalid information flow direction: {2}".
171 mapping.direction = flow_direction
200 direction = settings['direction']
207 assert direction in infoflow_directions, \
208 "{0}:{1} flow direction ({2}) is invalid. This is an SETools bug.".format(
209 classname, permname, direction)
211 if direction == 'u':
215 mapfile.write("{0:>20} {1:>9} {2:>9}\n".format(permname, direction, weight))
239 Mapping A permission's complete map (weight, direction, enabled
425 direction = PermissionMapDescriptor("direction", validate_direction) variable in class:Mapping
    [all...]
  /external/adhd/cras/src/common/
cras_messages.h 95 enum CRAS_STREAM_DIRECTION direction; /* input/output/loopback */ member in struct:cras_connect_message
105 enum CRAS_STREAM_DIRECTION direction,
115 m->direction = direction;
245 enum CRAS_STREAM_DIRECTION direction; member in struct:cras_select_node
250 enum CRAS_STREAM_DIRECTION direction,
254 m->direction = direction;
262 enum CRAS_STREAM_DIRECTION direction; member in struct:cras_add_active_node
267 enum CRAS_STREAM_DIRECTION direction,
279 enum CRAS_STREAM_DIRECTION direction; member in struct:cras_rm_active_node
571 uint32_t direction; member in struct:cras_client_active_node_changed
623 uint32_t direction; member in struct:cras_client_num_active_streams_changed
    [all...]
  /external/v8/src/compiler/
control-equivalence.h 62 DFSDirection direction; // Direction in which this bracket was added. member in struct:v8::internal::compiler::final::Bracket
73 DFSDirection direction; // Direction currently used in DFS walk. member in struct:v8::internal::compiler::final::DFSStackEntry
74 Node::InputEdges::iterator input; // Iterator used for "input" direction.
75 Node::UseEdges::iterator use; // Iterator used for "use" direction.
99 void VisitMid(Node* node, DFSDirection direction);
102 void VisitPost(Node* node, Node* parent_node, DFSDirection direction);
105 void VisitBackedge(Node* from, Node* to, DFSDirection direction);
111 // \ / - Pre-visit: When N1 is visited in direction D the preferre
    [all...]
  /packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
UiDeviceAsserts.java 25 import android.support.test.uiautomator.Direction;
95 * <p>The navigation starts in the {@code direction} specified and {@link
96 * Direction#reverse(Direction) reverses} once if needed. Fails if there is not a focused
105 * @param direction the direction to start navigating.
109 UiDevice uiDevice, UiObject2 container, BySelector selector, Direction direction) {
122 // HACK: Try direction anyways because play control does not always have a
124 UiDeviceUtils.pressDpad(uiDevice, direction);
    [all...]
  /platform_testing/utils/dpad/src/android/platform/test/utils/
DPadUtil.java 21 import android.support.test.uiautomator.Direction;
49 public boolean pressDPad(Direction direction) {
50 return pressDPad(direction, 1, DPAD_DEFAULT_WAIT_TIME_MS);
53 public void pressDPad(Direction direction, long repeat) {
54 pressDPad(direction, repeat, DPAD_DEFAULT_WAIT_TIME_MS);
58 * Presses DPad button of the same direction for the count times.
61 * @param direction the direction of the button to press
    [all...]
  /external/tensorflow/tensorflow/contrib/cudnn_rnn/python/kernel_tests/
cudnn_rnn_ops_test.py 64 direction=cudnn_rnn_ops.CUDNN_RNN_UNIDIRECTION,
82 direction=direction,
115 model.direction,
125 direction=cudnn_rnn_ops.CUDNN_RNN_UNIDIRECTION):
126 if direction == cudnn_rnn_ops.CUDNN_RNN_UNIDIRECTION:
131 elif direction == cudnn_rnn_ops.CUDNN_RNN_BIDIRECTION:
138 raise ValueError("%s direction is not supported.")
148 def _CompareBiases(self, lhs, rhs, rnn_mode, num_layers, direction):
158 num_dirs = 1 if direction == CUDNN_RNN_UNIDIRECTION else
    [all...]
  /external/autotest/client/site_tests/touch_TouchscreenScroll/
touch_TouchscreenScroll.py 26 @param expected: String, expected direction in which test page scroll
47 # Check if movement occured in correct direction.
51 raise error.TestFail('Page scroll was in wrong direction! '
86 for direction in self._DIRECTIONS:
87 self._check_scroll_direction(self._filepaths[direction],
88 self._REVERSES[direction])
  /external/webrtc/talk/app/webrtc/
statscollector.h 96 StatsReport::Direction direction);
136 StatsReport::Direction direction);
144 // |direction| tells if the track is for sending or receiving.
147 StatsReport::Direction direction);
  /frameworks/support/media/src/main/java/androidx/media/
VolumeProviderCompat.java 144 * @param direction The direction to adjust the volume in.
146 public void onAdjustVolume(int direction) {
179 public void onAdjustVolume(int direction) {
180 VolumeProviderCompat.this.onAdjustVolume(direction);
  /packages/apps/Launcher3/src/com/android/launcher3/
InterruptibleInOutAnimator.java 31 * interpolator in the same direction.
64 private void animate(int direction) {
66 final float toValue = (direction == IN) ? mOriginalToValue : mOriginalFromValue;
75 mDirection = direction;
105 * the animation is running in the opposite direction, in which case we reverse
106 * direction and animate for a correspondingly shorter duration.
115 * if the animation is currently running in the opposite direction, we reverse
116 * direction and animate for a correspondingly shorter duration.
  /development/samples/Snake/src/com/example/android/snake/
Snake.java 39 * Constants for desired direction of moving the snake
86 // Direction will be [0,1,2,3] depending on quadrant
87 int direction = 0;
88 direction = (x > y) ? 1 : 0;
89 direction |= (x > 1 - y) ? 2 : 0;
91 // Direction is same as the quadrant which was clicked
92 mSnakeView.moveSnake(direction);
118 * Handles key events in the game. Update the direction our snake is traveling based on the
  /device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/common/include/
plat_params.h 71 uint8_t direction; member in struct:gpio_info

Completed in 609 milliseconds

1 2 3 45 6 7 8 91011>>