Searched defs:swap (Results 1 - 23 of 23) sorted by last modified time

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewLayoutTest.java1880 public void callbacksDuringAdapterChange(boolean swap) throws Throwable { argument
1881 final TestAdapter2 adapter1 = swap ? createBinderCheckingAdapter()
1883 final TestAdapter2 adapter2 = swap ? createBinderCheckingAdapter()
1905 if (swap) {
/frameworks/rs/
H A Drs_hal.h93 void (*swap)(const Context *); member in struct:android::renderscript::__anon1535
/frameworks/native/include/ui/
H A DTMatHelpers.h66 size_t swap; local
72 swap = i;
75 swap = j;
79 if (swap != i) {
80 /* swap rows. */
83 tmp[i][k] = tmp[swap][k];
84 tmp[swap][k] = t;
87 inverse[i][k] = inverse[swap][k];
88 inverse[swap][k] = t;
/frameworks/native/opengl/libagl/
H A Dcontext.h57 static inline void swap(T& a, T& b) { function in namespace:android::gl
H A Ddxt.cpp100 static uint32_t swap(uint32_t x) { function in namespace:android
155 colors = swap(colors);
162 // There's no need to endian-swap within 'bits'
219 colors = swap(colors);
220 bits = swap(bits);
331 alphahi = swap(alphahi);
332 alphalo = swap(alphalo);
342 colors = swap(colors);
343 bits = swap(bits);
455 alphahi = swap(alphah
[all...]
H A Dmatrix.cpp541 int i, j, k, swap; local
549 swap = i;
552 swap = j;
556 if (swap != i) {
557 /* swap rows. */
560 tmp[i][k] = tmp[swap][k];
561 tmp[swap][k] = t;
564 inverse[i*4+k] = inverse[swap*4+k];
565 inverse[swap*4+k] = t;
/frameworks/native/services/inputflinger/
H A DInputReader.cpp81 inline static void swap(T& a, T& b) { function in namespace:android
5831 swap(heap[parentIndex], heap[childIndex]);
5878 swap(heap[parentIndex], heap[childIndex]);
/frameworks/native/services/sensorservice/
H A Dmat.h339 size_t swap; local
345 swap = i;
348 swap = j;
352 if (swap != i) {
353 /* swap rows. */
356 tmp[i][k] = tmp[swap][k];
357 tmp[swap][k] = t;
360 inverse[i][k] = inverse[swap][k];
361 inverse[swap][k] = t;
/frameworks/native/services/surfaceflinger/
H A Dclz.h55 void swap(T& a, T& b) { function in namespace:android
/frameworks/base/tools/preload/
H A Dsorttable.js308 var swap = true; variable
310 while(swap) {
311 swap = false;
315 swap = true;
320 if (!swap) break;
325 swap = true;
330 } // while(swap)
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java1138 public int swap() { method in class:GLSurfaceView.EglHelper
1525 int swapError = mEglHelper.swap();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDelegateViewHelper.java140 * @param swap
142 public void setSwapXY(boolean swap) { argument
143 mSwapXY = swap;
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DUtils.java123 public static void swap(int[] array, int i, int j) { method in class:Utils
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DBlockingGLTextureView.java256 public int swap() { method in class:BlockingGLTextureView.EglHelper
408 mEglHelper.swap();
/frameworks/base/telecomm/java/android/telecom/
H A DRemoteConference.java199 public void swap() { method in class:RemoteConference
/frameworks/base/test-runner/src/junit/runner/
H A DSorter.java6 * A custom quick sort with support to customize the swap behaviour.
13 public void swap(Vector values, int left, int right); method in interface:Sorter.Swapper
26 swapper.swap(values, left, right);
/frameworks/base/libs/hwui/
H A DOpenGLRenderer.cpp965 void OpenGLRenderer::composeLayerRect(Layer* layer, const Rect& rect, bool swap) { argument
985 if (!swap) {
1004 GL_TRIANGLE_STRIP, gMeshCount, swap, swap || simpleTransform); local
H A DSpotShadow.cpp239 void SpotShadow::swap(Vector2* points, int i, int j) { function in class:android::uirenderer::SpotShadow
262 swap(points, i, j);
291 swap(points, i, j);
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraMetadataNative.java289 newObject.swap(other);
1068 * <p>Perform a 0-copy swap of the internal metadata with another object.</p>
1072 * @param other Metadata to swap with
1076 public void swap(CameraMetadataNative other) { method in class:CameraMetadataNative
/frameworks/av/camera/
H A DCameraMetadata.cpp657 void CameraMetadata::swap(CameraMetadata& other) { function in class:android::CameraMetadata
/frameworks/av/media/libmedia/
H A DMemoryLeakTrackUtil.cpp128 bool swap = e1->size < e2->size; local
134 swap = e1->backtrace[j] < e2->backtrace[j];
138 if (swap) {
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp102 sp<ABuffer> LiveSession::createFormatChangeBuffer(bool swap) { argument
105 discontinuity->meta()->setInt32("swapPacketSource", swap);
239 int32_t swap; local
240 if ((*accessUnit)->meta()->findInt32("swapPacketSource", &swap) && swap) {
1546 sources[j]->queueAccessUnit(createFormatChangeBuffer(/*swap*/ false));
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3ZslStream.cpp47 static void swap(T& a, T& b) { function in struct:android::camera3::__anon767::TimestampFinder
88 swap(infoPtrs[0], infoPtrs[1]);
89 swap(infoSelectors[0], infoSelectors[1]);

Completed in 836 milliseconds