Home
last modified time | relevance | path

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

12

/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_session_id.cpp74 aaudio_direction_t direction) { in checkSessionIdAllocate() argument
91 AAudioStreamBuilder_setDirection(aaudioBuilder, direction); in checkSessionIdAllocate()
108 if (direction == AAUDIO_DIRECTION_INPUT) { in checkSessionIdAllocate()
122 aaudio_direction_t otherDirection = (direction == AAUDIO_DIRECTION_OUTPUT) in checkSessionIdAllocate()
Dtest_aaudio_attributes.cpp35 aaudio_direction_t direction = AAUDIO_DIRECTION_OUTPUT) { in checkAttributes() argument
47 AAudioStreamBuilder_setDirection(aaudioBuilder, direction); in checkAttributes()
85 if (direction == AAUDIO_DIRECTION_INPUT) { in checkAttributes()
Dutils.cpp64 aaudio_direction_t direction, int32_t sampleRate, in StreamBuilderHelper() argument
67 : mDirection{direction}, in StreamBuilderHelper()
Dutils.h64 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/
DMockView.java415 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
417 return super.dispatchUnhandledMove(focused, direction); in dispatchUnhandledMove()
539 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
540 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
631 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { in requestFocus() argument
633 return super.requestFocus(direction, previouslyFocusedRect); in requestFocus()
DFocusFinderTest.java108 private void verifyNextFocus(View currentFocus, int direction, View expectedNextFocus) { in verifyNextFocus() argument
109 View actualNextFocus = mFocusFinder.findNextFocus(mLayout, currentFocus, direction); in verifyNextFocus()
149 private void verifytNextFocusFromRect(Rect rect, int direction, View expectedNextFocus) { in verifytNextFocusFromRect() argument
150 View actualNextFocus = mFocusFinder.findNextFocusFromRect(mLayout, rect, direction); in verifytNextFocusFromRect()
279 private void verifyNextCluster(View currentCluster, int direction, View expectedNextCluster) { in verifyNextCluster() argument
281 mLayout, currentCluster, direction); in verifyNextCluster()
285 private void verifyNextClusterView(View currentCluster, int direction, View expectedNextView) { in verifyNextClusterView() argument
287 mLayout, currentCluster, direction); in verifyNextClusterView()
290 mFocusFinder.findNextKeyboardNavigationCluster(mLayout, null, direction); in verifyNextClusterView()
DViewGroupTest.java2658 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
2936 public boolean onRequestFocusInDescendants(int direction, in onRequestFocusInDescendants() argument
2939 return super.onRequestFocusInDescendants(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
2990 public View focusSearch(View focused, int direction) { in focusSearch() argument
2992 return super.focusSearch(focused, direction); in focusSearch()
2994 super.focusSearch(focused, direction); in focusSearch()
/cts/tests/tests/net/src/android/net/cts/
DIpSecBaseTest.java104 IpSecManager ism, int direction, IpSecTransform transform) throws Exception; in applyTransportModeTransform() argument
165 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() argument
166 ism.applyTransportModeTransform(mFd, direction, transform); in applyTransportModeTransform()
235 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() argument
236 ism.applyTransportModeTransform(mSocket, direction, transform); in applyTransportModeTransform()
283 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() argument
284 ism.applyTransportModeTransform(mSocket, direction, transform); in applyTransportModeTransform()
305 for (int direction : DIRECTIONS) { in applyTransformBidirectionally()
306 socket.applyTransportModeTransform(ism, direction, transform); in applyTransformBidirectionally()
/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/tests/tests/widget/src/android/widget/cts/
DGalleryTest.java409 protected void onFocusChanged(boolean gainFocus, int direction, in onFocusChanged() argument
411 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
DAutoCompleteTextViewTest.java836 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
837 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
DGridViewTest.java712 protected void onFocusChanged(boolean gainFocus, int direction, in onFocusChanged() argument
715 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
/cts/tests/tests/media/src/android/media/cts/
DMediaController2Test.java580 final int direction = AudioManager.ADJUST_RAISE; in testAdjustVolume() local
581 controller.adjustVolume(direction, 0 /* flags */); in testAdjustVolume()
584 assertEquals(direction, volumeProvider.mDirection); in testAdjustVolume()
1126 public void onAdjustVolume(int direction) { in onAdjustVolume() argument
1128 mDirection = direction; in onAdjustVolume()
DMediaControllerTest.java112 public void onAdjustVolume(int direction) { in testVolumeControl()
114 switch (direction) { in testVolumeControl()
DMediaRouterTest.java599 public void onVolumeUpdateRequest(RouteInfo info, int direction) { in onVolumeUpdateRequest() argument
602 mDirection = direction; in onVolumeUpdateRequest()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java1338 public int[] getAvailableFormats(StreamDirection direction) { in getAvailableFormats() argument
1347 switch (direction) { in getAvailableFormats()
1383 public Size[] getAvailableSizesForFormatChecked(int format, StreamDirection direction) { in getAvailableSizesForFormatChecked() argument
1384 return getAvailableSizesForFormatChecked(format, direction, in getAvailableSizesForFormatChecked()
1398 public Size[] getAvailableSizesForFormatChecked(int format, StreamDirection direction, in getAvailableSizesForFormatChecked() argument
1410 switch (direction) { in getAvailableSizesForFormatChecked()
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java711 public boolean requestFocus(final int direction,
716 return mWebView.requestFocus(direction, previouslyFocusedRect);
/cts/tests/tests/telephony/src/android/telephony/cts/
DPhoneStateListenerTest.java421 public void onDataActivity(int direction) { in testOnDataActivity()
/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java2305 int direction = TextUtils.getLayoutDirectionFromLocale(l); in testGetLayoutDirectionFromLocale() local
2306 assertEquals(l.toLanguageTag() + " not RTL: " + direction, in testGetLayoutDirectionFromLocale()
2307 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local
2322 int direction = TextUtils.getLayoutDirectionFromLocale(l); in testGetLayoutDirectionFromLocale() local
2323 assertEquals(l.toLanguageTag() + " not RTL: " + direction, in testGetLayoutDirectionFromLocale()
2324 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java627 final String direction = (userId == mParentUserId) in testCrossProfileCopyPasteInternal() local
633 direction, mProfileUserId); in testCrossProfileCopyPasteInternal()
/cts/tests/camera/src/android/hardware/camera2/cts/
DReprocessCaptureTest.java1360 private Size getMaxSize(int format, StaticMetadata.StreamDirection direction) { in getMaxSize() argument
1361 Size[] sizes = mStaticInfo.getAvailableSizesForFormatChecked(format, direction); in getMaxSize()

12