Home
last modified time | relevance | path

Searched refs:swap (Results 1 – 25 of 60) sorted by relevance

123

/packages/services/Car/cpp/evs/apps/default/
DRenderDirectView.cpp213 std::swap(leftTop.x, rightTop.x); in drawFrame()
214 std::swap(leftBottom.x, rightBottom.x); in drawFrame()
218 std::swap(leftTop.y, leftBottom.y); in drawFrame()
219 std::swap(rightTop.y, rightBottom.y); in drawFrame()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageView.java251 final boolean swap = !(rotation % 180 == 0); in positionFromMatrix()
252 final int width = swap ? mRenderer.source.getImageHeight() in positionFromMatrix()
254 final int height = swap ? mRenderer.source.getImageWidth() in positionFromMatrix()
275 mRenderer.centerX = swap ? cy : cx; in positionFromMatrix()
276 mRenderer.centerY = swap ? cx : cy; in positionFromMatrix()
DBlockingGLTextureView.java256 public int swap() { in swap() method in BlockingGLTextureView.EglHelper
408 mEglHelper.swap(); in handleMessageLocked()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DBluetoothProfileDeviceManagerTest.java657 Collections.swap(expected, 1, 0); // expected: 00, [01], 02 -> [01], 00, 02 in testSetConnectionPriority_listOrderedCorrectly()
663 Collections.swap(expected, 0, 2); // expected: [01], 00, 02 -> 00, 02, [01] in testSetConnectionPriority_listOrderedCorrectly()
664 Collections.swap(expected, 0, 1); in testSetConnectionPriority_listOrderedCorrectly()
670 Collections.swap(expected, 2, 1); // expected: 00, 02, [01] -> 00, [01], 02 in testSetConnectionPriority_listOrderedCorrectly()
676 Collections.swap(expected, 1, 2); // expected: 00, [01], 02 -> 00, 02, [01] in testSetConnectionPriority_listOrderedCorrectly()
682 Collections.swap(expected, 2, 0); // expected: 00, 02, [01] -> [01], 00, 02 in testSetConnectionPriority_listOrderedCorrectly()
683 Collections.swap(expected, 1, 2); in testSetConnectionPriority_listOrderedCorrectly()
689 Collections.swap(expected, 0, 1); // expected: [01], 00, 02 -> 00, [01], 02 in testSetConnectionPriority_listOrderedCorrectly()
/packages/modules/DnsResolver/
DLockedQueue.h39 void swap(std::deque<T>& other) { in swap() function
41 mQueue.swap(other); in swap()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp368 void (CDelaunay::*swap)(int,int), in rcssort()
385 (this->*swap)( si,sij ); in rcssort()
388 (this->*swap)( sj,sij ); in rcssort()
390 (this->*swap)( si,sij ); in rcssort()
405 (this->*swap)( sL,sk ); in rcssort()
DDelaunay.h92 void (CDelaunay::*swap)(int,int),
/packages/modules/NeuralNetworks/common/operations/
DBidirectionalSequenceRNN.cpp207 std::swap(inputShape.dimensions[0], inputShape.dimensions[1]); in executeTyped()
209 std::swap(auxInputShape.dimensions[0], auxInputShape.dimensions[1]); in executeTyped()
211 std::swap(fwOutputShape.dimensions[0], fwOutputShape.dimensions[1]); in executeTyped()
213 std::swap(bwOutputShape.dimensions[0], bwOutputShape.dimensions[1]); in executeTyped()
DUnidirectionalSequenceRNN.cpp92 std::swap(inputShape.dimensions[0], inputShape.dimensions[1]); in executeTyped()
93 std::swap(outputShape.dimensions[0], outputShape.dimensions[1]); in executeTyped()
DLayerNormLSTMTest.cpp202 OutputStateIn_.swap(OutputStateOut_); in Invoke()
203 CellStateIn_.swap(CellStateOut_); in Invoke()
DLSTMTest.cpp191 OutputStateIn_.swap(OutputStateOut_); in Invoke()
192 CellStateIn_.swap(CellStateOut_); in Invoke()
/packages/services/Car/cpp/evs/manager/1.1/
DHalCamera.cpp152 mFrames.swap(newRecords); in changeFramesInFlight()
205 mFrames.swap(newRecords); in changeFramesInFlight()
355 std::swap(mCurrentRequests, mNextRequests); in deliverFrame_1_1()
/packages/apps/Camera2/src/com/android/camera/util/
DConcurrentSharedRingBuffer.java62 public E swap(E oldElement); in swap() method
308 toSwap.mElement = swapper.swap(toSwap.mElement); in swapLeast()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Ddocumenttest.cpp230 using std::swap; in TEST()
231 swap(d1, d2); in TEST()
235 swap(o, d2); in TEST()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSlideshowPage.java291 Utils.swap(mOrder, i, mRandom.nextInt(i + 1)); in generateOrderArray()
294 Utils.swap(mOrder, 0, mRandom.nextInt(totalCount - 1) + 1); in generateOrderArray()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DImageCaptureManager.java473 public CapturedImage swap(CapturedImage oldElement) {
502 public CapturedImage swap(CapturedImage oldElement) {
/packages/apps/Test/connectivity/sl4n/rapidjson/example/messagereader/
Dmessagereader.cpp71 messages.swap(handler.messages_); // Only change it if success. in ParseMessages()
/packages/services/Car/
D.clang-format30 …source|select|sem|sendfile|shm|signalfd|signal|socket|statfs|stat|statvfs|swap|syscall|sysconf|sys…
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary_utils.cpp55 current.swap(next); in getMaxProbabilityOfExactMatches()
/packages/modules/DnsResolver/tests/unsolicited_listener/
Dunsolicited_event_listener.h73 std::swap(mDnsHealthResultRecords, emptyQueue); in reset()
/packages/modules/DnsResolver/tests/dns_metrics_listener/
Ddns_metrics_listener.h101 std::swap(mDnsEventRecords, emptyQueue); in reset()
/packages/providers/MediaProvider/src/com/android/providers/media/metrics/
DTranscodeMetrics.java93 Collections.swap(TRANSCODING_STATS_DATA, i, randomIndex); in doRandomSampling()
/packages/services/Car/cpp/evs/manager/1.0/
DHalCamera.cpp122 mFrames.swap(newRecords); in changeFramesInFlight()
/packages/modules/StatsD/lib/libkll/
Dcompactor_stack.cpp135 std::vector<int64_t>().swap(compactors_[level]); in CompactLevel()
/packages/apps/Dialer/java/com/android/incallui/call/
DTelecomAdapter.java109 public void swap(String callId) { in swap() method in TelecomAdapter

123