Home
last modified time | relevance | path

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

1234

/frameworks/native/libs/vr/libvrflinger/
Dacquired_buffer.cpp44 using std::swap; in operator =()
45 swap(buffer_, other.buffer_); in operator =()
46 swap(acquire_fence_, other.acquire_fence_); in operator =()
47 swap(slot_, other.slot_); in operator =()
Dhardware_composer.cpp1104 using std::swap; in operator =()
1105 swap(hardware_composer_layer_, other.hardware_composer_layer_); in operator =()
1106 swap(z_order_, other.z_order_); in operator =()
1107 swap(blending_, other.blending_); in operator =()
1108 swap(transform_, other.transform_); in operator =()
1109 swap(composition_type_, other.composition_type_); in operator =()
1110 swap(target_composition_type_, other.target_composition_type_); in operator =()
1111 swap(source_, other.source_); in operator =()
1112 swap(acquire_fence_, other.acquire_fence_); in operator =()
1113 swap(surface_rect_functions_applied_, in operator =()
[all …]
/frameworks/native/opengl/libagl/
Ddxt.cpp100 static uint32_t swap(uint32_t x) { in swap() function
155 colors = swap(colors); in DXT1HasAlpha()
219 colors = swap(colors); in decodeDXT1()
220 bits = swap(bits); in decodeDXT1()
331 alphahi = swap(alphahi); in decodeDXT3()
332 alphalo = swap(alphalo); in decodeDXT3()
342 colors = swap(colors); in decodeDXT3()
343 bits = swap(bits); in decodeDXT3()
455 alphahi = swap(alphahi); in decodeDXT5()
456 alphalo = swap(alphalo); in decodeDXT5()
[all …]
Dmatrix.cpp541 int i, j, k, swap; in invert() local
549 swap = i; in invert()
552 swap = j; in invert()
556 if (swap != i) { in invert()
560 tmp[i][k] = tmp[swap][k]; in invert()
561 tmp[swap][k] = t; in invert()
564 inverse[i*4+k] = inverse[swap*4+k]; in invert()
565 inverse[swap*4+k] = t; in invert()
/frameworks/base/core/java/android/text/
DAndroidBidi.java155 boolean swap; in directions()
158 swap = maxLevel > minLevel; in directions()
160 swap = runCount > 1; in directions()
162 if (swap) { in directions()
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp438 SwapHistory& swap = mSwapHistory.next(); in draw() local
439 swap.damage = windowDirty; in draw()
440 swap.swapCompletedTime = systemTime(CLOCK_MONOTONIC); in draw()
441 swap.vsyncTime = mRenderThread.timeLord().latestVsync(); in draw()
448 swap.dequeueDuration = 0; in draw()
451 swap.dequeueDuration = us2ns(durationUs); in draw()
454 swap.queueDuration = us2ns(durationUs); in draw()
456 swap.dequeueDuration = 0; in draw()
457 swap.queueDuration = 0; in draw()
460 = swap.dequeueDuration; in draw()
[all …]
/frameworks/native/services/sensorservice/
Dmat.h339 size_t swap; in invert() local
345 swap = i; in invert()
348 swap = j; in invert()
352 if (swap != i) { in invert()
356 tmp[i][k] = tmp[swap][k]; in invert()
357 tmp[swap][k] = t; in invert()
360 inverse[i][k] = inverse[swap][k]; in invert()
361 inverse[swap][k] = t; in invert()
/frameworks/base/tools/preload/
Dsorttable.js308 var swap = true;
310 while(swap) {
311 swap = false;
315 swap = true;
320 if (!swap) break;
325 swap = true;
/frameworks/base/packages/WallpaperCropper/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()
/frameworks/base/libs/androidfw/include/androidfw/
DUtil.h89 inline void swap(unique_cptr& o) { std::swap(ptr_, o.ptr_); } in swap() function
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLReadback.cpp77 std::swap(textureMatrix[SkMatrix::kMTransX], textureMatrix[SkMatrix::kMTransY]); in copyImageInto()
78 std::swap(textureMatrix[SkMatrix::kMSkewX], textureMatrix[SkMatrix::kMSkewY]); in copyImageInto()
/frameworks/compile/mclinker/lib/MC/
DSymbolCategory.cpp78 std::swap(m_OutputSymbols[current->begin], in add()
158 std::swap(m_OutputSymbols[pos], m_OutputSymbols[rear]); in arrange()
177 std::swap(m_OutputSymbols[current->begin], m_OutputSymbols[pos]); in arrange()
208 std::swap(m_OutputSymbols[pos], m_OutputSymbols[m_pDynamic->end - 1]); in changeCommonsToGlobal()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dstatus.h56 std::swap(other.value_, empty);
68 std::swap(value_, empty); in SetError()
Dutility.h37 std::swap(data_, other.data_);
38 std::swap(size_, other.size_);
39 std::swap(capacity_, other.capacity_);
/frameworks/native/libs/math/include/math/
DTMatHelpers.h89 size_t swap = i; in gaussJordanInverse() local
94 swap = j; in gaussJordanInverse()
99 if (swap != i) { in gaussJordanInverse()
101 std::swap(tmp[i], tmp[swap]); in gaussJordanInverse()
102 std::swap(inverted[i], inverted[swap]); in gaussJordanInverse()
/frameworks/native/libs/vr/libpdx/
Dservice.cpp41 std::swap(service_, other.service_); in operator =()
42 std::swap(channel_, other.channel_); in operator =()
43 std::swap(info_, other.info_); in operator =()
44 std::swap(state_, other.state_); in operator =()
45 std::swap(replied_, other.replied_); in operator =()
Dvariant_tests.cpp686 std::swap(empty, value); in TEST()
771 std::swap(a, b); in TEST()
780 std::swap(a, b); in TEST()
791 std::swap(a, b); in TEST()
802 std::swap(a, b); in TEST()
813 std::swap(a, b); in TEST()
824 std::swap(a, b); in TEST()
/frameworks/native/services/surfaceflinger/
Dclz.h55 void swap(T& a, T& b) { in swap() function
DLayerRejecter.cpp54 swap(bufWidth, bufHeight); in reject()
/frameworks/base/libs/hwui/
DSpotShadow.h52 static void swap(Vector2* points, int i, int j);
/frameworks/base/libs/hwui/thread/
DTaskManager.cpp95 tasks.swap(mTasks); in threadLoop()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBrowseFragment.java574 boolean swap; in createMainFragment()
577 swap = true; in createMainFragment()
580 swap = true; in createMainFragment()
582 swap = mIsPageRow; in createMainFragment()
586 if (swap) { in createMainFragment()
609 return swap; in createMainFragment()
DBrowseSupportFragment.java571 boolean swap; in createMainFragment()
574 swap = true; in createMainFragment()
577 swap = true; in createMainFragment()
579 swap = mIsPageRow; in createMainFragment()
583 if (swap) { in createMainFragment()
606 return swap; in createMainFragment()
/frameworks/native/libs/binder/
DValue.cpp177 Value& Value::swap(Value &rhs) in swap() function in android::binder::Value
179 std::swap(mContent, rhs.mContent); in swap()

1234