Home
last modified time | relevance | path

Searched refs:pf (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowFrameTests.java144 final Rect pf = new Rect(0, 0, 1000, 1000); in testLayoutInFullscreenTaskInsets() local
145 final Rect df = pf; in testLayoutInFullscreenTaskInsets()
147 final Rect cf = new Rect(pf); in testLayoutInFullscreenTaskInsets()
151 final Rect vf = new Rect(pf); in testLayoutInFullscreenTaskInsets()
154 final Rect sf = new Rect(pf); in testLayoutInFullscreenTaskInsets()
158 final Rect dcf = pf; in testLayoutInFullscreenTaskInsets()
162 w.getWindowFrames().setFrames(pf, df, of, cf, vf, dcf, sf, mEmptyRect); in testLayoutInFullscreenTaskInsets()
194 final Rect pf = new Rect(0, 0, 1000, 1000); in testLayoutInFullscreenTaskNoInsets() local
198 w.getWindowFrames().setFrames(pf, pf, pf, pf, pf, pf, pf, pf); in testLayoutInFullscreenTaskNoInsets()
283 final Rect pf = new Rect(0, 0, logicalWidth, logicalHeight); in testLayoutNonfullscreenTask() local
[all …]
/frameworks/rs/driver/
DrsdProgram.cpp86 bool rsdProgramFragmentInit(const Context *rsc, const ProgramFragment *pf, in rsdProgramFragmentInit() argument
90 RsdShader *drv = new RsdShader(pf, GL_FRAGMENT_SHADER, shader, shaderLen, in rsdProgramFragmentInit()
92 pf->mHal.drv = drv; in rsdProgramFragmentInit()
97 void rsdProgramFragmentSetActive(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentSetActive() argument
100 SyncProgramConstants(rsc, pf); in rsdProgramFragmentSetActive()
101 dc->gl.shaderCache->setActiveFragment((RsdShader*)pf->mHal.drv); in rsdProgramFragmentSetActive()
104 void rsdProgramFragmentDestroy(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentDestroy() argument
108 if(pf->mHal.drv) { in rsdProgramFragmentDestroy()
109 drv = (RsdShader*)pf->mHal.drv; in rsdProgramFragmentDestroy()
111 ALOGV("Destroying fragment shader with ID %p", (void*)pf); in rsdProgramFragmentDestroy()
DrsdShaderCache.h46 void setActiveFragment(RsdShader *pf) { in setActiveFragment() argument
48 mFragment = pf; in setActiveFragment()
/frameworks/av/media/codec2/vndk/internal/
DC2ParamInternal.h41 inline static uint32_t GetIndex(const C2ParamField &pf) { in GetIndex()
42 return pf._mIndex; in GetIndex()
45 inline static uint32_t GetOffset(const C2ParamField &pf) { in GetOffset()
46 return pf._mFieldId._mOffset; in GetOffset()
49 inline static uint32_t GetSize(const C2ParamField &pf) { in GetSize()
50 return pf._mFieldId._mSize; in GetSize()
69 inline static _C2FieldId GetField(const C2ParamField &pf) { in GetField()
70 return pf._mFieldId; in GetField()
/frameworks/rs/
DrsScriptC_LibGL.cpp45 void rsrBindTexture(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindTexture() argument
47 CHECK_OBJ(pf); in rsrBindTexture()
48 pf->bindTexture(rsc, slot, a); in rsrBindTexture()
51 void rsrBindConstant(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindConstant() argument
53 CHECK_OBJ(pf); in rsrBindConstant()
54 pf->bindAllocation(rsc, a, slot); in rsrBindConstant()
63 void rsrBindSampler(Context *rsc, ProgramFragment *pf, uint32_t slot, Sampler *s) { in rsrBindSampler() argument
66 pf->bindSampler(rsc, slot, s); in rsrBindSampler()
74 void rsrBindProgramFragment(Context *rsc, ProgramFragment *pf) { in rsrBindProgramFragment() argument
75 CHECK_OBJ_OR_NULL(pf); in rsrBindProgramFragment()
[all …]
DrsProgramFragment.cpp120 ProgramFragment *pf = new ProgramFragment(rsc, shaderString, strlen(shaderString), in init() local
122 pf->bindAllocation(rsc, constAlloc, 0); in init()
123 pf->setConstantColor(rsc, 1.0f, 1.0f, 1.0f, 1.0f); in init()
125 mDefault.set(pf); in init()
139 ProgramFragment *pf = new ProgramFragment(rsc, shaderText, shaderLength, in rsi_ProgramFragmentCreate() local
142 pf->incUserRef(); in rsi_ProgramFragmentCreate()
144 return pf; in rsi_ProgramFragmentCreate()
Drsg.spec30 param RsProgramFragment pf
36 param RsProgramFragment pf
DrsContext.cpp636 void Context::setProgramFragment(ProgramFragment *pf) { in setProgramFragment() argument
638 if (pf == nullptr) { in setProgramFragment()
641 mFragment.set(pf); in setProgramFragment()
779 ProgramFragment *pf = static_cast<ProgramFragment *>(vpf); in rsi_ContextBindProgramFragment() local
780 rsc->setProgramFragment(pf); in rsi_ContextBindProgramFragment()
Drs_hal.h338 bool (*init)(const Context *rsc, const ProgramFragment *pf,
342 void (*setActive)(const Context *rsc, const ProgramFragment *pf);
343 void (*destroy)(const Context *rsc, const ProgramFragment *pf);
/frameworks/base/rs/java/android/renderscript/
DProgramFragmentFixedFunction.java77 ProgramFragmentFixedFunction pf = new ProgramFragmentFixedFunction(id, mRS); in create() local
78 initProgram(pf); in create()
79 return pf; in create()
326 ProgramFragmentFixedFunction pf = sb.create(); in create() local
327 pf.mTextureCount = MAX_TEXTURE; in create()
334 pf.bindConstants(constantData, 0); in create()
336 return pf; in create()
DProgramFragment.java92 ProgramFragment pf = new ProgramFragment(id, mRS); in create() local
93 initProgram(pf); in create()
94 return pf; in create()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlur.cpp123 float4 pf = convert_float4(pvy[0]); in OneVU4() local
124 blurredPixel += pf * gPtr[0]; in OneVU4()
140 float pf = (float)pi[validY * iStride]; in OneVU1() local
141 blurredPixel += pf * gPtr[0]; in OneVU1()
187 float4 pf = convert_float4(((const uchar4 *)pi)[0]); in OneVFU4() local
188 blurredPixel += pf * gp[0]; in OneVFU4()
211 float pf = (float)pi[0]; in OneVFU1() local
212 blurredPixel += pf * gp[0]; in OneVFU1()
240 float pf = (float)pi[0]; in OneVFU1() local
241 blurredPixel += pf * gp[0]; in OneVFU1()
[all …]
DrsCpuIntrinsics_x86.cpp345 __m128 pf, x, y; in rsdIntrinsicBlurHFU4_K() local
355 pf = _mm_mul_ps(x, _mm_load_ps(pi)); in rsdIntrinsicBlurHFU4_K()
363 pf = _mm_add_ps(pf, _mm_mul_ps(x, _mm_load_ps(pi + (r << 2)))); in rsdIntrinsicBlurHFU4_K()
364 pf = _mm_add_ps(pf, _mm_mul_ps(y, _mm_load_ps(pi + (r << 2) + 4))); in rsdIntrinsicBlurHFU4_K()
367 o = _mm_cvtps_epi32(pf); in rsdIntrinsicBlurHFU4_K()
378 __m128 pf, g0, g1, g2, g3, gx, p0, p1; in rsdIntrinsicBlurHFU1_K() local
387 pf = _mm_mul_ps(g0, _mm_loadu_ps(pi)); in rsdIntrinsicBlurHFU1_K()
395 pf = _mm_add_ps(pf, _mm_mul_ps(g0, p0)); in rsdIntrinsicBlurHFU1_K()
397 pf = _mm_add_ps(pf, _mm_mul_ps(g1, _mm_alignr_epi8(p1, p0, 4))); in rsdIntrinsicBlurHFU1_K()
399 pf = _mm_add_ps(pf, _mm_mul_ps(g2, _mm_alignr_epi8(p1, p0, 8))); in rsdIntrinsicBlurHFU1_K()
[all …]
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java252 PinnedFile pf = pinFile(fileToPin, in handlePinOnStart() local
255 if (pf == null) { in handlePinOnStart()
261 mPinnedFiles.add(pf); in handlePinOnStart()
563 PinnedFile pf = pinFile(apk, pinSizeLimit, /*attemptPinIntrospection=*/true); in pinApp() local
564 if (pf == null) { in pinApp()
569 Slog.i(TAG, "Pinned " + pf.fileName); in pinApp()
572 pinnedApp.mFiles.add(pf); in pinApp()
599 pf = pinFile(file, pinSizeLimit, /*attemptPinIntrospection=*/false); in pinApp()
600 if (pf != null) { in pinApp()
602 pinnedApp.mFiles.add(pf); in pinApp()
[all …]
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Dglobals.c25 float *pf = &f; variable
41 double result = pf[0] * d[1][1] * s.d * us * l; in main()
Dglobal_struct.c18 float *pf = &f; variable
34 double result = pf[0] * d[1][1] * s.d * us * l; in main()
Dlocals.cpp25 float *pf = &f; in main() local
44 double result = pf[0] * d[1][1] * s.f * us * l; in main()
Dparameters.cpp28 double test_parameters(float* pf, double ppd[][2], struct char_struct& s, int** ppn = 0, unsigned s… in test_parameters() argument
30 double result = pf[0] * ppd[1][1] * s.c * us * l; in test_parameters()
/frameworks/compile/slang/lit-tests/opt/
Dlocals_opt_3.rs17 float *pf = &f;
36 double result = pf[0] * d[1][1] * s.f * us * l;
Dlocals_opt_default.rs20 float *pf = &f;
39 double result = pf[0] * d[1][1] * s.f * us * l;
Dlocals_opt_0.rs17 float *pf = &f;
36 double result = pf[0] * d[1][1] * s.f * us * l;
/frameworks/compile/libbcc/tests/debuginfo/target-tests/
Dlocals.rs28 float *pf = &f;
47 double result = pf[0] * d[1][1] * s.f * us * l;
/frameworks/native/cmds/lshal/
DNullableOStream.h44 const NullableOStream &operator<<(std::ostream& (*pf)(std::ostream&)) const {
46 (*mOs) << pf;
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayPolicy.java1748 boolean insetDecors, Rect pf, Rect df, Rect of, Rect cf, Rect vf, in setAttachedWindowFrames() argument
1810 pf.set((fl & FLAG_LAYOUT_IN_SCREEN) == 0 ? attached.getFrameLw() : df); in setAttachedWindowFrames()
1868 final Rect pf = windowFrames.mParentFrame; in layoutWindowLw() local
1899 pf.bottom = df.bottom = of.bottom = displayFrames.mUnrestricted.bottom; in layoutWindowLw()
1906 pf.right = df.right = of.right = cf.right = vf.right = in layoutWindowLw()
1909 pf.left = df.left = of.left = cf.left = vf.left = displayFrames.mStable.left; in layoutWindowLw()
1934 pf.set(displayFrames.mUnrestricted); in layoutWindowLw()
1946 layoutWallpaper(displayFrames, pf, df, of, cf); in layoutWindowLw()
1950 pf.set(displayFrames.mUnrestricted); in layoutWindowLw()
1996 setAttachedWindowFrames(win, fl, adjust, attached, true, pf, df, of, cf, vf, in layoutWindowLw()
[all …]
/frameworks/compile/slang/tests/F_fs_ptr/
Dfs_ptr.fs8 float *pf;

12