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

1234

/frameworks/native/services/surfaceflinger/
H A DRenderArea.cpp27 std::swap(width, height);
31 std::swap(width, height);
H A Dclz.h55 void swap(T& a, T& b) { function in namespace:android
H A DLayerRejecter.cpp54 swap(bufWidth, bufHeight);
/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.cpp1280 using std::swap;
1281 swap(composer_, other.composer_);
1282 swap(display_params_, other.display_params_);
1283 swap(hardware_composer_layer_, other.hardware_composer_layer_);
1284 swap(z_order_, other.z_order_);
1285 swap(blending_, other.blending_);
1286 swap(composition_type_, other.composition_type_);
1287 swap(target_composition_type_, other.target_composition_type_);
1288 swap(source_, other.source_);
1289 swap(acquire_fence
[all...]
/frameworks/base/cmds/incident_helper/tests/
H A DCpuInfoParser_test.cpp70 CpuInfoProto::MemStats* swap = expected.mutable_swap(); local
71 swap->set_total(524284);
72 swap->set_used(25892);
73 swap->set_free(498392);
74 swap->set_cached(1316952);
/frameworks/base/core/java/android/text/
H A DAndroidBidi.java185 // See if we need to swap any runs.
187 // direction, we always need to swap (at this point
189 // Otherwise, we don't need to swap the lowest level.
195 boolean swap;
198 swap = maxLevel > minLevel;
200 swap = runCount > 1;
202 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/core/proto/android/os/
H A Dprocrank.proto48 // swap size, unit KB
49 optional int64 swap = 6;
51 // proportional swap size, unit KB
54 // unique swap size, unit KB
H A Dcpuinfo.proto54 optional MemStats swap = 3;
/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.cpp306 // All signs point to a stuffed swap chain
307 ATRACE_NAME("swap chain stuffed");
473 SwapHistory& swap = mSwapHistory.next(); local
474 swap.damage = windowDirty;
475 swap.swapCompletedTime = systemTime(CLOCK_MONOTONIC);
476 swap.vsyncTime = mRenderThread.timeLord().latestVsync();
483 swap.dequeueDuration = 0;
486 swap.dequeueDuration = us2ns(durationUs);
489 swap.queueDuration = us2ns(durationUs);
491 swap
[all...]
/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/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/main/java/com/example/android/supportv7/widget/
H A DGridLayoutManagerActivity.java130 swap(pos, pos + 1);
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DGridLayoutManagerActivity.java130 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_);
/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);

Completed in 398 milliseconds

1234