Home
last modified time | relevance | path

Searched refs:direction (Results 1 – 25 of 33) sorted by relevance

12

/cts/hostsidetests/media/app/MediaMetricsTest/jni/
Daaudio_stream.cpp26 void tryOpeningStream(aaudio_direction_t direction, aaudio_performance_mode_t performanceMode) { in tryOpeningStream() argument
30 AAudioStreamBuilder_setDirection(builder, direction); in tryOpeningStream()
36 ASSERT_EQ(direction, AAudioStream_getDirection(stream)); in tryOpeningStream()
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_session_id.cpp76 aaudio_direction_t direction) { in checkSessionIdAllocate() argument
97 AAudioStreamBuilder_setDirection(aaudioBuilder, direction); in checkSessionIdAllocate()
114 if (direction == AAUDIO_DIRECTION_INPUT) { in checkSessionIdAllocate()
128 aaudio_direction_t otherDirection = (direction == AAUDIO_DIRECTION_OUTPUT) in checkSessionIdAllocate()
Dtest_aaudio_attributes.cpp40 aaudio_direction_t direction = AAUDIO_DIRECTION_OUTPUT, in checkAttributes() argument
43 if (direction == AAUDIO_DIRECTION_INPUT in checkAttributes()
45 else if (direction == AAUDIO_DIRECTION_OUTPUT in checkAttributes()
58 AAudioStreamBuilder_setDirection(aaudioBuilder, direction); in checkAttributes()
121 if (direction == AAUDIO_DIRECTION_INPUT) { in checkAttributes()
Dutils.cpp89 aaudio_direction_t direction, int32_t sampleRate, in StreamBuilderHelper() argument
92 : mDirection{direction}, in StreamBuilderHelper()
Dutils.h85 StreamBuilderHelper(aaudio_direction_t direction, int32_t sampleRate,
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/
DMainFragment.java51 private ScrollDirection direction; field in ScrollPatternGenerator
57 direction = ScrollDirection.DOWN; in ScrollPatternGenerator()
63 direction = ScrollDirection.UP;
65 direction = ScrollDirection.DOWN;
67 if (direction == ScrollDirection.DOWN) {
/cts/tests/tests/view/src/android/view/cts/
DFocusFinderTest.java109 private void verifyNextFocus(View currentFocus, int direction, View expectedNextFocus) { in verifyNextFocus() argument
110 View actualNextFocus = mFocusFinder.findNextFocus(mLayout, currentFocus, direction); in verifyNextFocus()
153 private void verifytNextFocusFromRect(Rect rect, int direction, View expectedNextFocus) { in verifytNextFocusFromRect() argument
154 View actualNextFocus = mFocusFinder.findNextFocusFromRect(mLayout, rect, direction); in verifytNextFocusFromRect()
283 private void verifyNextCluster(View currentCluster, int direction, View expectedNextCluster) { in verifyNextCluster() argument
285 mLayout, currentCluster, direction); in verifyNextCluster()
289 private void verifyNextClusterView(View currentCluster, int direction, View expectedNextView) { in verifyNextClusterView() argument
291 mLayout, currentCluster, direction); in verifyNextClusterView()
294 mFocusFinder.findNextKeyboardNavigationCluster(mLayout, null, direction); in verifyNextClusterView()
DMockView.java428 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
430 return super.dispatchUnhandledMove(focused, direction); in dispatchUnhandledMove()
552 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
553 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
644 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { in requestFocus() argument
646 return super.requestFocus(direction, previouslyFocusedRect); in requestFocus()
DViewGroupTest.java2936 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
3214 public boolean onRequestFocusInDescendants(int direction, in onRequestFocusInDescendants() argument
3217 return super.onRequestFocusInDescendants(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
3268 public View focusSearch(View focused, int direction) { in focusSearch() argument
3270 return super.focusSearch(focused, direction); in focusSearch()
3272 super.focusSearch(focused, direction); in focusSearch()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DInlineUiBot.java124 public void scrollSuggestionView(Direction direction, int speed) throws Exception { in scrollSuggestionView() argument
126 strip.fling(direction, speed); in scrollSuggestionView()
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DAccessoryTestCompanion.java324 @NonNull private UsbEndpoint getEndpoint(@NonNull UsbInterface iface, int direction) { in getEndpoint() argument
327 if (ep.getDirection() == direction) { in getEndpoint()
332 throw new IllegalStateException("Could not find " + direction + " endpoint in " in getEndpoint()
/cts/tests/openglperf2/assets/fragment/
Dperspective21 // Get a lighting direction vector from the light to the vertex.
Dwater28 // Get a lighting direction vector from the light to the vertex.
/cts/tests/tests/rsblas/src/android/renderscript/cts/
DBNNMTest.java51 final float direction = rand.nextFloat(); in addByteNoise() local
53 if (direction < 0.5f) { in addByteNoise()
/cts/hostsidetests/media/src/android/media/metrics/cts/
DMediaMetricsAtomTests.java532 private void validateAAudioStreamAtom(int direction) throws Exception { in validateAAudioStreamAtom() argument
533 Set<Integer> directionSet = new HashSet<>(Arrays.asList(direction)); in validateAAudioStreamAtom()
553 String requiredFeature, int direction, String testFunctionName) throws Exception { in runAAudioTestAndValidate() argument
567 validateAAudioStreamAtom(direction); in runAAudioTestAndValidate()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java1431 public int[] getAvailableFormats(StreamDirection direction) { in getAvailableFormats() argument
1440 switch (direction) { in getAvailableFormats()
1476 public Size[] getAvailableSizesForFormatChecked(int format, StreamDirection direction) { in getAvailableSizesForFormatChecked() argument
1477 return getAvailableSizesForFormatChecked(format, direction, in getAvailableSizesForFormatChecked()
1491 public Size[] getAvailableSizesForFormatChecked(int format, StreamDirection direction, in getAvailableSizesForFormatChecked() argument
1493 return getAvailableSizesForFormatChecked(format, direction, fastSizes, slowSizes, in getAvailableSizesForFormatChecked()
1507 public Size[] getAvailableSizesForFormatChecked(int format, StreamDirection direction, in getAvailableSizesForFormatChecked() argument
1520 switch (direction) { in getAvailableSizesForFormatChecked()
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java431 public boolean requestFocus(final int direction,
434 return mWebView.requestFocus(direction, previouslyFocusedRect);
/cts/tests/tests/widget/src/android/widget/cts/
DGalleryTest.java405 protected void onFocusChanged(boolean gainFocus, int direction, in onFocusChanged() argument
407 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
DGridViewTest.java696 protected void onFocusChanged(boolean gainFocus, int direction, in onFocusChanged() argument
699 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileCrossProfileTest.java220 final String direction = (userId == mParentUserId) in testCrossProfileCopyPasteInternal() local
226 direction, mProfileUserId); in testCrossProfileCopyPasteInternal()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DHdmiCecClientWrapper.java550 String direction = fromCecClient ? "<<" : ">>"; in checkExpectedOutput() local
554 + direction in checkExpectedOutput()
/cts/tests/camera/src/android/hardware/camera2/cts/
DMultiResolutionReprocessCaptureTest.java770 private Size getMaxSize(int format, StaticMetadata.StreamDirection direction) { in getMaxSize() argument
771 Size[] sizes = mStaticInfo.getAvailableSizesForFormatChecked(format, direction); in getMaxSize()
/cts/tests/tests/media/src/android/media/cts/
DMediaRouterTest.java600 public void onVolumeUpdateRequest(RouteInfo info, int direction) { in onVolumeUpdateRequest() argument
603 mDirection = direction; in onVolumeUpdateRequest()
DMediaControllerTest.java226 public void onAdjustVolume(int direction) { in testVolumeControl()
228 switch (direction) { in testVolumeControl()
/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java2317 int direction = TextUtils.getLayoutDirectionFromLocale(l); in testGetLayoutDirectionFromLocale() local
2318 assertEquals(l.toLanguageTag() + " not RTL: " + direction, in testGetLayoutDirectionFromLocale()
2319 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local
2334 int direction = TextUtils.getLayoutDirectionFromLocale(l); in testGetLayoutDirectionFromLocale() local
2335 assertEquals(l.toLanguageTag() + " not RTL: " + direction, in testGetLayoutDirectionFromLocale()
2336 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local

12