Home
last modified time | relevance | path

Searched refs:pv (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelBar.java64 public void addPanel(PanelView pv) { in addPanel() argument
65 mPanels.add(pv); in addPanel()
66 pv.setBar(this); in addPanel()
154 for (PanelView pv : mPanels) { in startOpeningPanel()
155 if (pv != panel) { in startOpeningPanel()
156 pv.collapse(false /* delayed */, 1.0f /* speedUpFactor */); in startOpeningPanel()
174 for (PanelView pv : mPanels) { in panelExpansionChanged()
175 pv.setVisibility(expanded ? View.VISIBLE : View.INVISIBLE); in panelExpansionChanged()
183 final float thisFrac = pv.getExpandedFraction(); in panelExpansionChanged()
185 if (SPEW) LOG("panelExpansionChanged: -> %s: f=%.1f", pv.getName(), thisFrac); in panelExpansionChanged()
[all …]
DPanelHolder.java44 public int getPanelIndex(PanelView pv) { in getPanelIndex() argument
48 if (pv == v) return i; in getPanelIndex()
53 public void setSelectedPanel(PanelView pv) { in setSelectedPanel() argument
54 mSelectedPanelIndex = getPanelIndex(pv); in setSelectedPanel()
DPhoneStatusBarView.java76 public void addPanel(PanelView pv) { in addPanel() argument
77 super.addPanel(pv); in addPanel()
78 if (pv.getId() == R.id.notification_panel) { in addPanel()
79 mNotificationPanel = pv; in addPanel()
/frameworks/rs/driver/
DrsdProgram.cpp36 bool rsdProgramVertexInit(const Context *rsc, const ProgramVertex *pv, in rsdProgramVertexInit() argument
40 RsdShader *drv = new RsdShader(pv, GL_VERTEX_SHADER, shader, shaderLen, in rsdProgramVertexInit()
42 pv->mHal.drv = drv; in rsdProgramVertexInit()
60 void rsdProgramVertexSetActive(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexSetActive() argument
63 SyncProgramConstants(rsc, pv); in rsdProgramVertexSetActive()
64 dc->gl.shaderCache->setActiveVertex((RsdShader*)pv->mHal.drv); in rsdProgramVertexSetActive()
67 void rsdProgramVertexDestroy(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexDestroy() argument
71 if(pv->mHal.drv) { in rsdProgramVertexDestroy()
72 drv = (RsdShader*)pv->mHal.drv; in rsdProgramVertexDestroy()
74 ALOGV("Destroying vertex shader with ID %p", (void*)pv); in rsdProgramVertexDestroy()
DrsdShaderCache.h45 void setActiveVertex(RsdShader *pv) { in setActiveVertex() argument
47 mVertex = pv; in setActiveVertex()
DrsdRuntimeStubs.cpp650 void rsgBindProgramVertex(::rs_program_vertex pv) { argument
652 rsrBindProgramVertex(rsc, (ProgramVertex *)pv.p);
678 void rsgBindConstant(::rs_program_vertex pv, argument
681 rsrBindConstant(rsc, (ProgramVertex *)pv.p, slot, (Allocation *)a.p);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DRenderState.java46 public RenderState(VertexShader pv, in RenderState() argument
50 mVertex = pv; in RenderState()
63 public void setProgramVertex(VertexShader pv) { in setProgramVertex() argument
64 mVertex = pv; in setProgramVertex()
88 item.pv = mVertex.getRSData().getAllocation(); in updateRSData()
Drender.rs62 const SgVertexShader *pv = (const SgVertexShader *)rsGetElementAt(renderState->pv, 0);
65 if (pv->objectConstIndex != -1) {
66 rsgBindConstant(pv->program, pv->objectConstIndex, obj->pv_const);
85 rsgBindProgramVertex(pv->program);
DRenderable.java179 VertexShader pv = mRenderState.mVertex; in updateVertexConstants() local
180 if (pv != null && pv.getObjectConstants() != null) { in updateVertexConstants()
181 vertexConstants = Allocation.createTyped(rs, pv.getObjectConstants()); in updateVertexConstants()
Dscenegraph_objects.rsh107 rs_allocation pv; // VertexShader struct
/frameworks/base/graphics/java/android/graphics/
DColor.java280 final float pv = b * (1.0f - s); in HSBtoColor() local
288 blue = pv; in HSBtoColor()
293 blue = pv; in HSBtoColor()
296 red = pv; in HSBtoColor()
301 red = pv; in HSBtoColor()
307 green = pv; in HSBtoColor()
312 green = pv; in HSBtoColor()
/frameworks/base/rs/java/android/renderscript/
DProgramVertex.java148 ProgramVertex pv = new ProgramVertex(id, mRS); in create() local
149 initProgram(pv); in create()
150 return pv; in create()
DProgramVertexFixedFunction.java101 ProgramVertexFixedFunction pv = new ProgramVertexFixedFunction(id, mRS); in create() local
102 initProgram(pv); in create()
103 return pv; in create()
DRenderScript.java291 native void rsnContextBindProgramVertex(long con, long pv); in rsnContextBindProgramVertex() argument
292 synchronized void nContextBindProgramVertex(long pv) { in nContextBindProgramVertex() argument
294 rsnContextBindProgramVertex(mContext, pv); in nContextBindProgramVertex()
880 native void rsnProgramBindConstants(long con, long pv, int slot, long mID); in rsnProgramBindConstants() argument
881 synchronized void nProgramBindConstants(long pv, int slot, long mID) { in nProgramBindConstants() argument
883 rsnProgramBindConstants(mContext, pv, slot, mID); in nProgramBindConstants()
/frameworks/rs/
DrsProgramVertex.cpp205 ProgramVertex *pv = new ProgramVertex(rsc, shaderString, strlen(shaderString), in init() local
209 pv->bindAllocation(rsc, alloc, 0); in init()
212 mDefault.set(pv); in init()
248 ProgramVertex *pv = new ProgramVertex(rsc, shaderText, shaderLength, in rsi_ProgramVertexCreate() local
251 pv->incUserRef(); in rsi_ProgramVertexCreate()
252 return pv; in rsi_ProgramVertexCreate()
DrsScriptC_LibGL.cpp61 void rsrBindConstant(Context *rsc, ProgramVertex *pv, uint32_t slot, Allocation *a) { in rsrBindConstant() argument
63 CHECK_OBJ(pv); in rsrBindConstant()
64 pv->bindAllocation(rsc, a, slot); in rsrBindConstant()
83 void rsrBindProgramVertex(Context *rsc, ProgramVertex *pv) { in rsrBindProgramVertex() argument
84 CHECK_OBJ_OR_NULL(pv); in rsrBindProgramVertex()
85 rsc->setProgramVertex(pv); in rsrBindProgramVertex()
DrsContext.cpp690 void Context::setProgramVertex(ProgramVertex *pv) { in setProgramVertex() argument
692 if (pv == nullptr) { in setProgramVertex()
695 mVertex.set(pv); in setProgramVertex()
828 ProgramVertex *pv = static_cast<ProgramVertex *>(vpv); in rsi_ContextBindProgramVertex() local
829 rsc->setProgramVertex(pv); in rsi_ContextBindProgramVertex()
Drs_hal.h297 bool (*init)(const Context *rsc, const ProgramVertex *pv,
301 void (*setActive)(const Context *rsc, const ProgramVertex *pv);
302 void (*destroy)(const Context *rsc, const ProgramVertex *pv);
/frameworks/base/docs/html/tools/help/
Djobb.jd19 jobb [-d &lt;directory&gt;][-o &lt;filename&gt;][-pn &lt;package&gt;][-pv &lt;version&gt;] \
27 $ jobb -d /temp/assets/ -o my-app-assets.obb -k secret-key -pn com.my.app.package -pv 11
65 <td>{@code -pv &lt;version&gt;}</td>
/frameworks/rs/api/
Drs_graphics.spec270 arg: rs_program_vertex pv, "program vertex object"
340 arg: rs_program_vertex pv
/frameworks/rs/scriptc/
Drs_graphics.rsh483 * pv: program vertex object
503 rsgBindConstant(rs_program_vertex pv, uint slot, rs_allocation c);
614 rsgBindProgramVertex(rs_program_vertex pv);
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_graphics.jd815 …href='rs_graphics.html#android_rs:rs_program_vertex'>rs_program_vertex</a> pv, <a href='rs_value_t…
827 <tr><th>pv</th><td>program vertex object</td></tr>
967 …indProgramVertex(<a href='rs_graphics.html#android_rs:rs_program_vertex'>rs_program_vertex</a> pv);