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

12

/frameworks/rs/cpu_ref/linkloader/utils/
H A Dserialize.h41 std::swap(array[0], array[1]);
45 std::swap(array[0], array[3]);
46 std::swap(array[1], array[2]);
50 std::swap(array[0], array[7]);
51 std::swap(array[1], array[6]);
52 std::swap(array[2], array[5]);
53 std::swap(array[3], array[4]);
/frameworks/base/test-runner/src/junit/runner/
H A DSorter.java8 * A custom quick sort with support to customize the swap behaviour.
15 public void swap(Vector values, int left, int right); method in interface:Sorter.Swapper
28 swapper.swap(values, left, right);
/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/base/core/java/android/text/
H A DAndroidBidi.java142 // See if we need to swap any runs.
144 // direction, we always need to swap (at this point
146 // Otherwise, we don't need to swap the lowest level.
152 boolean swap;
155 swap = maxLevel > minLevel;
157 swap = runCount > 1;
159 if (swap) {
/frameworks/av/media/libmedia/
H A DMemoryLeakTrackUtil.cpp123 bool swap = e1->size < e2->size; local
129 swap = e1->backtrace[j] < e2->backtrace[j];
133 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...]
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/surfaceflinger/
H A Dclz.h55 void swap(T& a, T& b) { function in namespace:android
/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;
H A DBlockingGLTextureView.java256 public int swap() { method in class:BlockingGLTextureView.EglHelper
408 mEglHelper.swap();
/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/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDelegateViewHelper.java140 * @param swap
142 public void setSwapXY(boolean swap) { argument
143 mSwapXY = swap;
/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/compile/mclinker/lib/MC/
H A DSymbolCategory.cpp81 std::swap(m_OutputSymbols[current->begin],
148 std::swap(m_OutputSymbols[pos], m_OutputSymbols[rear]);
169 std::swap(m_OutputSymbols[current->begin], m_OutputSymbols[pos]);
202 std::swap(m_OutputSymbols[pos], m_OutputSymbols[m_pDynamic->end - 1]);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3ZslStream.cpp45 static void swap(T& a, T& b) { function in struct:android::camera3::__anon987::TimestampFinder
86 swap(infoPtrs[0], infoPtrs[1]);
87 swap(infoSelectors[0], infoSelectors[1]);
/frameworks/av/include/camera/
H A DCameraMetadata.h171 void swap(CameraMetadata &other);
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace.pb.cpp1664 std::swap(type_, other->type_);
1665 std::swap(isarray_, other->isarray_);
1672 std::swap(_has_bits_[0], other->_has_bits_[0]);
1673 std::swap(_cached_size_, other->_cached_size_);
1895 std::swap(width_, other->width_);
1896 std::swap(height_, other->height_);
1898 std::swap(_has_bits_[0], other->_has_bits_[0]);
1899 std::swap(_cached_size_, other->_cached_size_);
2310 std::swap(context_id_, other->context_id_);
2311 std::swap(start_time
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRegisteredMediaRouteProviderWatcher.java112 Collections.swap(mProviders, sourceIndex, targetIndex++);
/frameworks/av/camera/camera2/
H A DICameraDeviceUser.cpp163 request->swap(out);
184 info->swap(out);
/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/services/java/com/android/server/media/
H A DRemoteDisplayProviderWatcher.java134 Collections.swap(mProviders, sourceIndex, targetIndex++);
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitcodeReader.cpp98 std::vector<Type*>().swap(TypeList);
102 std::vector<AttributeSet>().swap(MAttributes);
103 std::vector<BasicBlock*>().swap(FunctionBBs);
104 std::vector<Function*>().swap(FunctionsWithBodies);
1190 GlobalInitWorklist.swap(GlobalInits);
1191 AliasInitWorklist.swap(AliasInits);
1603 std::vector<std::pair<GlobalVariable*, unsigned> >().swap(GlobalInits);
1604 std::vector<std::pair<GlobalAlias*, unsigned> >().swap(AliasInits);
1648 std::vector<std::pair<GlobalVariable*, unsigned> >().swap(GlobalInits);
1649 std::vector<std::pair<GlobalAlias*, unsigned> >().swap(AliasInit
[all...]
/frameworks/base/core/jni/android/graphics/
H A DRegion.cpp147 dst->swap(tmp);
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
H A DBitcodeReader.cpp340 std::vector<Type*>().swap(TypeList);
344 std::vector<AttributeSet>().swap(MAttributes);
345 std::vector<BasicBlock*>().swap(FunctionBBs);
346 std::vector<Function*>().swap(FunctionsWithBodies);
1492 GlobalInitWorklist.swap(GlobalInits);
1493 AliasInitWorklist.swap(AliasInits);
1903 std::vector<std::pair<GlobalVariable*, unsigned> >().swap(GlobalInits);
1904 std::vector<std::pair<GlobalAlias*, unsigned> >().swap(AliasInits);
3184 std::vector<BasicBlock*>().swap(FunctionBBs);
3280 std::vector<std::pair<Function*, Function*> >().swap(UpgradedIntrinsic
[all...]
/frameworks/av/camera/
H A DCameraMetadata.cpp578 void CameraMetadata::swap(CameraMetadata& other) { function in class:android::CameraMetadata

Completed in 2281 milliseconds

12