Searched refs:swap (Results 1 - 25 of 91) sorted by relevance

1234

/frameworks/native/libs/vr/libvrflinger/
H A Dacquired_buffer.cpp44 using std::swap;
45 swap(buffer_, other.buffer_);
46 swap(acquire_fence_, other.acquire_fence_);
47 swap(slot_, other.slot_);
H A Dhardware_composer.cpp1104 using std::swap;
1105 swap(hardware_composer_layer_, other.hardware_composer_layer_);
1106 swap(z_order_, other.z_order_);
1107 swap(blending_, other.blending_);
1108 swap(transform_, other.transform_);
1109 swap(composition_type_, other.composition_type_);
1110 swap(target_composition_type_, other.target_composition_type_);
1111 swap(source_, other.source_);
1112 swap(acquire_fence_, other.acquire_fence_);
1113 swap(surface_rect_functions_applied
[all...]
/frameworks/base/core/java/android/text/
H A DAndroidBidi.java145 // See if we need to swap any runs.
147 // direction, we always need to swap (at this point
149 // Otherwise, we don't need to swap the lowest level.
155 boolean swap;
158 swap = maxLevel > minLevel;
160 swap = runCount > 1;
162 if (swap) {
/frameworks/native/opengl/libagl/
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...]
/frameworks/base/libs/androidfw/include/androidfw/
H A DUtil.h89 inline void swap(unique_cptr& o) { std::swap(ptr_, o.ptr_); } function in class:android::util::unique_cptr
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp312 // All signs point to a stuffed swap chain
313 ATRACE_NAME("swap chain stuffed");
438 SwapHistory& swap = mSwapHistory.next(); local
439 swap.damage = windowDirty;
440 swap.swapCompletedTime = systemTime(CLOCK_MONOTONIC);
441 swap.vsyncTime = mRenderThread.timeLord().latestVsync();
448 swap.dequeueDuration = 0;
451 swap.dequeueDuration = us2ns(durationUs);
454 swap.queueDuration = us2ns(durationUs);
456 swap
[all...]
/frameworks/native/services/surfaceflinger/
H A Dclz.h55 void swap(T& a, T& b) { function in namespace:android
H A DLayerRejecter.cpp54 swap(bufWidth, bufHeight);
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageView.java251 final boolean swap = !(rotation % 180 == 0);
252 final int width = swap ? mRenderer.source.getImageHeight()
254 final int height = swap ? mRenderer.source.getImageWidth()
275 mRenderer.centerX = swap ? cy : cx;
276 mRenderer.centerY = swap ? cx : cy;
/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/libs/hwui/pipeline/skia/
H A DSkiaOpenGLReadback.cpp75 // swap rotation and translation part of the matrix, because we convert from
77 std::swap(textureMatrix[SkMatrix::kMTransX], textureMatrix[SkMatrix::kMTransY]);
78 std::swap(textureMatrix[SkMatrix::kMSkewX], textureMatrix[SkMatrix::kMSkewY]);
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dstatus.h56 std::swap(other.value_, empty);
68 std::swap(value_, empty);
H A Dutility.h37 std::swap(data_, other.data_);
38 std::swap(size_, other.size_);
39 std::swap(capacity_, other.capacity_);
/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/base/libs/hwui/
H A DSpotShadow.h52 static void swap(Vector2* points, int i, int j);
/frameworks/compile/mclinker/lib/MC/
H A DSymbolCategory.cpp78 std::swap(m_OutputSymbols[current->begin],
158 std::swap(m_OutputSymbols[pos], m_OutputSymbols[rear]);
177 std::swap(m_OutputSymbols[current->begin], m_OutputSymbols[pos]);
208 std::swap(m_OutputSymbols[pos], m_OutputSymbols[m_pDynamic->end - 1]);
/frameworks/base/libs/hwui/thread/
H A DTaskManager.cpp95 tasks.swap(mTasks);
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DGridLayoutManagerActivity.java129 swap(pos, pos + 1);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DGridLayoutManagerActivity.java129 swap(pos, pos + 1);
/frameworks/native/libs/vr/libpdx/
H A Dservice.cpp41 std::swap(service_, other.service_);
42 std::swap(channel_, other.channel_);
43 std::swap(info_, other.info_);
44 std::swap(state_, other.state_);
45 std::swap(replied_, other.replied_);
H A Dstatus_tests.cpp107 std::swap(status1, status3);
/frameworks/native/libs/math/include/math/
H A DTMatHelpers.h89 size_t swap = i; local
94 swap = j;
99 if (swap != i) {
100 // swap columns.
101 std::swap(tmp[i], tmp[swap]);
102 std::swap(inverted[i], inverted[swap]);
/frameworks/av/camera/include/camera/
H A DCameraMetadata.h176 void swap(CameraMetadata &other);
/frameworks/av/include/camera/
H A DCameraMetadata.h176 void swap(CameraMetadata &other);
/frameworks/native/libs/binder/tests/
H A DbinderValueTypeTest.cpp106 value_a.swap(value_b);

Completed in 1425 milliseconds

1234