Home
last modified time | relevance | path

Searched refs:va (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DSplitScreenTransitions.java218 final ValueAnimator va = ValueAnimator.ofFloat(start, end); in startExampleAnimation() local
219 va.setDuration(500); in startExampleAnimation()
220 va.addUpdateListener(animation -> { in startExampleAnimation()
230 mAnimations.remove(va); in startExampleAnimation()
234 va.addListener(new Animator.AnimatorListener() { in startExampleAnimation()
251 mAnimations.add(va); in startExampleAnimation()
252 mTransitions.getAnimExecutor().execute(va::start); in startExampleAnimation()
259 final ValueAnimator va = ValueAnimator.ofFloat(0.f, 1.f); in startExampleResizeAnimation() local
260 va.setDuration(500); in startExampleResizeAnimation()
261 va.addUpdateListener(animation -> { in startExampleResizeAnimation()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
DLegacySplitScreenTransitions.java126 final ValueAnimator va = ValueAnimator.ofFloat(start, end); in startExampleAnimation() local
127 va.setDuration(500); in startExampleAnimation()
128 va.addUpdateListener(animation -> { in startExampleAnimation()
138 mAnimations.remove(va); in startExampleAnimation()
142 va.addListener(new Animator.AnimatorListener() { in startExampleAnimation()
159 mAnimations.add(va); in startExampleAnimation()
160 mTransitions.getAnimExecutor().execute(va::start); in startExampleAnimation()
167 final ValueAnimator va = ValueAnimator.ofFloat(0.f, 1.f); in startExampleResizeAnimation() local
168 va.setDuration(500); in startExampleResizeAnimation()
169 va.addUpdateListener(animation -> { in startExampleResizeAnimation()
[all …]
/frameworks/rs/
DrsApiStubs.cpp355 extern "C" const void * rsaAllocationGetType(RsContext ctxWrapper, RsAllocation va) in rsaAllocationGetType() argument
357 return RS_DISPATCH(ctxWrapper, AllocationGetType, va); in rsaAllocationGetType()
391 extern "C" void * rsAllocationGetPointer (RsContext ctxWrapper, RsAllocation va, uint32_t lod, RsAl… in rsAllocationGetPointer() argument
394 …return RS_DISPATCH(ctxWrapper, AllocationGetPointer, va, lod, face, z, array, stride, stride_lengt… in rsAllocationGetPointer()
397 extern "C" void rsAllocation1DData (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t … in rsAllocation1DData() argument
400 RS_DISPATCH(ctxWrapper, Allocation1DData, va, xoff, lod, count, data, data_length); in rsAllocation1DData()
403 extern "C" void rsAllocation1DElementData (RsContext ctxWrapper, RsAllocation va, uint32_t x, uint3… in rsAllocation1DElementData() argument
406 RS_DISPATCH(ctxWrapper, Allocation1DElementData, va, x, lod, data, data_length, comp_offset); in rsAllocation1DElementData()
409 extern "C" void rsAllocationElementData (RsContext ctxWrapper, RsAllocation va, uint32_t x, uint32_… in rsAllocationElementData() argument
412 … RS_DISPATCH(ctxWrapper, AllocationElementData, va, x, y, z, lod, data, data_length, comp_offset); in rsAllocationElementData()
[all …]
Drs.spec168 param RsAllocation va
178 param RsAllocation va
186 param RsAllocation va
194 param RsAllocation va
204 param RsAllocation va
216 param RsAllocation va
229 param RsAllocation va
233 param RsAllocation va
238 param RsAllocation va
246 param RsAllocation va
[all …]
DrsAllocation.cpp665 void rsi_AllocationSyncAll(Context *rsc, RsAllocation va, RsAllocationUsageType src) { in rsi_AllocationSyncAll() argument
666 Allocation *a = static_cast<Allocation *>(va); in rsi_AllocationSyncAll()
671 void rsi_AllocationGenerateMipmaps(Context *rsc, RsAllocation va) { in rsi_AllocationGenerateMipmaps() argument
672 Allocation *alloc = static_cast<Allocation *>(va); in rsi_AllocationGenerateMipmaps()
676 void rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) { in rsi_AllocationCopyToBitmap() argument
677 Allocation *a = static_cast<Allocation *>(va); in rsi_AllocationCopyToBitmap()
683 void rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, in rsi_Allocation1DData() argument
685 Allocation *a = static_cast<Allocation *>(va); in rsi_Allocation1DData()
689 void rsi_Allocation1DElementData(Context *rsc, RsAllocation va, uint32_t x, in rsi_Allocation1DElementData() argument
691 Allocation *a = static_cast<Allocation *>(va); in rsi_Allocation1DElementData()
[all …]
DrsApiStubs.h94 extern "C" const void* rsaAllocationGetType(RsContext con, RsAllocation va) __DEPRECATED_IN(31);
108 extern "C" void* rsAllocationGetPointer(RsContext rsc, RsAllocation va, uint32_t lod,
111 extern "C" void rsAllocation1DData(RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t lod,
114 extern "C" void rsAllocation1DElementData(RsContext rsc, RsAllocation va, uint32_t x, uint32_t lod,
117 extern "C" void rsAllocationElementData(RsContext rsc, RsAllocation va, uint32_t x, uint32_t y,
120 extern "C" void rsAllocation2DData(RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t yoff,
124 extern "C" void rsAllocation3DData(RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t yoff,
128 extern "C" void rsAllocationGenerateMipmaps(RsContext rsc, RsAllocation va) __DEPRECATED_IN(31);
129 extern "C" void rsAllocationRead(RsContext rsc, RsAllocation va, void* data, size_t data_length)
131 extern "C" void rsAllocation1DRead(RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t lod,
[all …]
DrsApiAllocation.cpp23 extern "C" const void * rsaAllocationGetType(RsContext con, RsAllocation va) { in rsaAllocationGetType() argument
24 Allocation *a = static_cast<Allocation *>(va); in rsaAllocationGetType()
DrsApiMesh.cpp42 void rsaMeshGetIndices(RsContext con, RsMesh mv, RsAllocation *va, uint32_t *primType, uint32_t idx… in rsaMeshGetIndices() argument
47 va[ct] = sm->mHal.state.indexBuffers[ct]; in rsaMeshGetIndices()
Drs.h39 void rsaMeshGetIndices(RsContext, RsMesh, RsAllocation* va, uint32_t* primType,
46 const void* rsaAllocationGetType(RsContext con, RsAllocation va) __DEPRECATED_IN(31);
DrsScriptC_LibGL.cpp90 CHECK_OBJ(va); in rsrBindFrameBufferObjectColorTarget()
96 CHECK_OBJ(va); in rsrBindFrameBufferObjectDepthTarget()
DrsScript.cpp167 void rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) { in rsi_ScriptBindAllocation() argument
169 Allocation *a = static_cast<Allocation *>(va); in rsi_ScriptBindAllocation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DDefaultTransitionHandler.java225 final ValueAnimator va = ValueAnimator.ofFloat(0f, 1f); in startAnimInternal() local
229 va.overrideDurationScale(1.0f); in startAnimInternal()
230 va.setDuration(anim.computeDurationHint()); in startAnimInternal()
231 va.addUpdateListener(animation -> { in startAnimInternal()
232 final long currentPlayTime = Math.min(va.getDuration(), va.getCurrentPlayTime()); in startAnimInternal()
238 applyTransformation(va.getDuration(), transaction, leash, anim, transformation, matrix); in startAnimInternal()
242 animations.remove(va); in startAnimInternal()
246 va.addListener(new AnimatorListenerAdapter() { in startAnimInternal()
257 animations.add(va); in startAnimInternal()
258 mAnimExecutor.execute(va::start); in startAnimInternal()
/frameworks/base/rs/java/android/renderscript/
DProgram.java171 public void bindTexture(Allocation va, int slot) in bindTexture() argument
177 if (va != null && va.getType().hasFaces() && in bindTexture()
182 long id = va != null ? va.getID(mRS) : 0; in bindTexture()
DScript.java356 public void bindAllocation(Allocation va, int slot) { in bindAllocation() argument
358 mRS.validateObject(va); in bindAllocation()
359 if (va != null) { in bindAllocation()
364 final Type t = va.mType; in bindAllocation()
373 mRS.nScriptBindAllocation(getID(mRS), va.getID(mRS), slot); in bindAllocation()
DProgramVertexFixedFunction.java45 public void bindConstants(Constants va) { in bindConstants() argument
47 bindConstants(va.getAllocation(), 0); in bindConstants()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DLinearLayoutTest.java33 int va = VERTICAL_ALIGNMENTS[i]; in create() local
37 lp.gravity = va | ha; in create()
DGridLayoutTest.java36 int va = VERTICAL_ALIGNMENTS[i]; in create() local
43 lp.setGravity(va | ha); in create()
DAlignmentTest.java93 Alignment va = VERTICAL_ALIGNMENTS[i]; in create() local
96 LayoutParams layoutParams = new LayoutParams(spec(i, va), spec(j, ha)); in create()
/frameworks/rs/cpp/
DScript.cpp42 void Script::bindAllocation(const sp<Allocation>& va, uint32_t slot) const { in bindAllocation() argument
43 …(mRS, RS::dispatch->ScriptBindAllocation(mRS->getContext(), getID(), BaseObj::getObjID(va), slot)); in bindAllocation()
DrsDispatch.h23 typedef const void* (*AllocationGetTypeFnPtr)(RsContext con, RsAllocation va);
132 typedef void (*MeshGetIndicesFnPtr) (RsContext con, RsMesh mv, RsAllocation *va, uint32_t *primType…
/frameworks/av/media/libaudioprocessing/
DAudioMixerBase.cpp808 int32_t va = prevAuxLevel; in volumeRampStereo() local
818 *aux++ += (va >> 17) * (l + r); in volumeRampStereo()
821 va += vaInc; in volumeRampStereo()
823 prevAuxLevel = va; in volumeRampStereo()
844 const int16_t va = auxLevel; in volumeStereo() local
852 aux[0] = mulAdd(a, va, aux[0]); in volumeStereo()
879 int32_t va = prevAuxLevel; in track__16BitsStereo() local
892 *aux++ += (va >> 17) * (l + r); in track__16BitsStereo()
895 va += vaInc; in track__16BitsStereo()
900 prevAuxLevel = va; in track__16BitsStereo()
[all …]
/frameworks/rs/driver/
DrsdMeshObj.cpp162 RsdVertexArray va(mAttribs, mAttribCount); in renderPrimitiveRange() local
163 va.setup(rsc); in renderPrimitiveRange()
/frameworks/native/opengl/tests/lib/include/
DEGLUtils.h164 const char* va = (const char*)eglQueryStringImplementationANDROID(dpy, s); in printEGLString() local
165 msg.appendFormat("ImplementationANDROID: %s = %s\n", name, va); in printEGLString()
/frameworks/rs/support/java/src/androidx/renderscript/
DScript.java223 public void bindAllocation(Allocation va, int slot) { in bindAllocation() argument
225 if (va != null) { in bindAllocation()
226 mRS.nScriptBindAllocation(getID(mRS), va.getID(mRS), slot, mUseIncSupp); in bindAllocation()
/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp52 const char* va = (const char*)eglQueryStringImplementationANDROID(dpy, s); in printEGLString() local
53 fprintf(stderr, "GL %s = %s\nImplementationANDROID: %s\n", name, v, va); in printEGLString()

12