Home
last modified time | relevance | path

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

123

/frameworks/native/include/ui/
DTMatHelpers.h66 size_t swap; in inverse() local
72 swap = i; in inverse()
75 swap = j; in inverse()
79 if (swap != i) { in inverse()
83 tmp[i][k] = tmp[swap][k]; in inverse()
84 tmp[swap][k] = t; in inverse()
87 inverse[i][k] = inverse[swap][k]; in inverse()
88 inverse[swap][k] = t; in inverse()
/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.java152 boolean swap; in directions()
155 swap = maxLevel > minLevel; in directions()
157 swap = runCount > 1; in directions()
159 if (swap) { in directions()
/frameworks/base/test-runner/src/junit/runner/
DSorter.java13 public void swap(Vector values, int left, int right); in swap() method
26 swapper.swap(values, left, right); in sortStrings()
/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/av/media/libmedia/
DMemoryLeakTrackUtil.cpp129 bool swap = e1->size < e2->size; in dumpMemoryAddresses() local
135 swap = e1->backtrace[j] < e2->backtrace[j]; in dumpMemoryAddresses()
139 if (swap) { in dumpMemoryAddresses()
/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/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/av/services/camera/libcameraservice/device3/
DCamera3ZslStream.cpp47 static void swap(T& a, T& b) { in swap() function
88 swap(infoPtrs[0], infoPtrs[1]); in compare()
89 swap(infoSelectors[0], infoSelectors[1]); in compare()
/frameworks/native/services/surfaceflinger/
Dclz.h55 void swap(T& a, T& b) { in swap() function
DTransform.cpp144 swap(w, h); in set()
/frameworks/base/libs/hwui/
DSpotShadow.h52 static void swap(Vector2* points, int i, int j);
/frameworks/av/include/camera/
DCameraMetadata.h171 void swap(CameraMetadata &other);
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DRegisteredMediaRouteProviderWatcher.java112 Collections.swap(mProviders, sourceIndex, targetIndex++); in scanPackages()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp403 std::vector<Type*>().swap(TypeList); in FreeState()
407 std::vector<AttributeSet>().swap(MAttributes); in FreeState()
408 std::vector<BasicBlock*>().swap(FunctionBBs); in FreeState()
409 std::vector<Function*>().swap(FunctionsWithBodies); in FreeState()
1561 GlobalInitWorklist.swap(GlobalInits); in ResolveGlobalAndAliasInits()
1562 AliasInitWorklist.swap(AliasInits); in ResolveGlobalAndAliasInits()
2009 std::vector<std::pair<GlobalVariable*, unsigned> >().swap(GlobalInits); in GlobalCleanup()
2010 std::vector<std::pair<GlobalAlias*, unsigned> >().swap(AliasInits); in GlobalCleanup()
2054 std::vector<std::pair<GlobalVariable*, unsigned> >().swap(GlobalInits); in ParseModule()
2055 std::vector<std::pair<GlobalAlias*, unsigned> >().swap(AliasInits); in ParseModule()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DRemoteDisplayProviderWatcher.java134 Collections.swap(mProviders, sourceIndex, targetIndex++); in scanPackages()
/frameworks/base/docs/html/training/basics/fragments/
Dindex.jd44 UI components and activity behaviors into modules that you can swap into and out of
/frameworks/av/camera/camera2/
DICameraDeviceUser.cpp297 request->swap(out); in createDefaultRequest()
318 info->swap(out); in getCameraInfo()
/frameworks/base/telecomm/java/android/telecom/
DRemoteConference.java385 public void swap() { in swap() method in RemoteConference
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp239 mFrameCallbacks.swap(callbacks); in dispatchFrameCallbacks()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DUtils.java123 public static void swap(int[] array, int i, int j) { in swap() method in Utils
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp641 std::vector<Type*>().swap(TypeList); in FreeState()
645 std::vector<AttributeSet>().swap(MAttributes); in FreeState()
646 std::vector<BasicBlock*>().swap(FunctionBBs); in FreeState()
647 std::vector<Function*>().swap(FunctionsWithBodies); in FreeState()
1855 GlobalInitWorklist.swap(GlobalInits); in ResolveGlobalAndAliasInits()
1856 AliasInitWorklist.swap(AliasInits); in ResolveGlobalAndAliasInits()
2303 std::vector<std::pair<GlobalVariable*, unsigned> >().swap(GlobalInits); in GlobalCleanup()
2304 std::vector<std::pair<GlobalAlias*, unsigned> >().swap(AliasInits); in GlobalCleanup()
3636 std::vector<BasicBlock*>().swap(FunctionBBs); in ParseFunctionBody()
3733 std::vector<std::pair<Function*, Function*> >().swap(UpgradedIntrinsics); in MaterializeModule()

123