/cts/hostsidetests/media/app/MediaMetricsTest/jni/ |
D | aaudio_stream.cpp | 26 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/ |
D | test_session_id.cpp | 76 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()
|
D | test_aaudio_attributes.cpp | 40 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()
|
D | utils.cpp | 89 aaudio_direction_t direction, int32_t sampleRate, in StreamBuilderHelper() argument 92 : mDirection{direction}, in StreamBuilderHelper()
|
D | utils.h | 85 StreamBuilderHelper(aaudio_direction_t direction, int32_t sampleRate,
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/ |
D | MainFragment.java | 51 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/ |
D | FocusFinderTest.java | 109 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()
|
D | MockView.java | 428 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()
|
D | ViewGroupTest.java | 2936 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/ |
D | InlineUiBot.java | 124 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/ |
D | AccessoryTestCompanion.java | 324 @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/ |
D | perspective | 21 // Get a lighting direction vector from the light to the vertex.
|
D | water | 28 // Get a lighting direction vector from the light to the vertex.
|
/cts/tests/tests/rsblas/src/android/renderscript/cts/ |
D | BNNMTest.java | 51 final float direction = rand.nextFloat(); in addByteNoise() local 53 if (direction < 0.5f) { in addByteNoise()
|
/cts/hostsidetests/media/src/android/media/metrics/cts/ |
D | MediaMetricsAtomTests.java | 532 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/ |
D | StaticMetadata.java | 1431 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/ |
D | WebViewOnUiThread.java | 431 public boolean requestFocus(final int direction, 434 return mWebView.requestFocus(direction, previouslyFocusedRect);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | GalleryTest.java | 405 protected void onFocusChanged(boolean gainFocus, int direction, in onFocusChanged() argument 407 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
|
D | GridViewTest.java | 696 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/ |
D | ManagedProfileCrossProfileTest.java | 220 final String direction = (userId == mParentUserId) in testCrossProfileCopyPasteInternal() local 226 direction, mProfileUserId); in testCrossProfileCopyPasteInternal()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | HdmiCecClientWrapper.java | 550 String direction = fromCecClient ? "<<" : ">>"; in checkExpectedOutput() local 554 + direction in checkExpectedOutput()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | MultiResolutionReprocessCaptureTest.java | 770 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/ |
D | MediaRouterTest.java | 600 public void onVolumeUpdateRequest(RouteInfo info, int direction) { in onVolumeUpdateRequest() argument 603 mDirection = direction; in onVolumeUpdateRequest()
|
D | MediaControllerTest.java | 226 public void onAdjustVolume(int direction) { in testVolumeControl() 228 switch (direction) { in testVolumeControl()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtilsTest.java | 2317 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
|