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.java62 public void addPanel(PanelView pv) { in addPanel() argument
63 mPanels.add(pv); in addPanel()
64 pv.setBar(this); in addPanel()
131 for (PanelView pv : mPanels) { in startOpeningPanel()
132 if (pv != panel) { in startOpeningPanel()
133 pv.collapse(); in startOpeningPanel()
143 for (PanelView pv : mPanels) { in panelExpansionChanged()
144 final boolean visible = pv.getVisibility() == View.VISIBLE; in panelExpansionChanged()
146 if (pv.getExpandedHeight() > 0f) { in panelExpansionChanged()
152 final float thisFrac = pv.getExpandedFraction(); in panelExpansionChanged()
[all …]
DPhoneStatusBarView.java70 for (PanelView pv : mPanels) { in onAttachedToWindow()
71 pv.setRubberbandingEnabled(!mFullWidthNotifications); in onAttachedToWindow()
76 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()
80 } else if (pv.getId() == R.id.settings_panel){ in addPanel()
81 mSettingsPanel = pv; in addPanel()
83 pv.setRubberbandingEnabled(!mFullWidthNotifications); in addPanel()
DPanelHolder.java40 public int getPanelIndex(PanelView pv) { in getPanelIndex() argument
44 if (pv == v) return i; in getPanelIndex()
49 public void setSelectedPanel(PanelView pv) { in setSelectedPanel() argument
50 mSelectedPanelIndex = getPanelIndex(pv); in setSelectedPanel()
/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 %u", (uint32_t)pv); in rsdProgramVertexDestroy()
DrsdShaderCache.h40 void setActiveVertex(RsdShader *pv) { in setActiveVertex() argument
42 mVertex = pv; in setActiveVertex()
DrsdRuntimeStubs.cpp136 static void SC_BindVertexConstant(ProgramVertex *pv, uint32_t slot, Allocation *a) { in SC_BindVertexConstant() argument
138 rsrBindConstant(rsc, sc, pv, slot, a); in SC_BindVertexConstant()
161 static void SC_BindProgramVertex(ProgramVertex *pv) { in SC_BindProgramVertex() argument
163 rsrBindProgramVertex(rsc, sc, pv); in SC_BindProgramVertex()
/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.java265 final float pv = b * (1.0f - s); in HSBtoColor() local
273 blue = pv; in HSBtoColor()
278 blue = pv; in HSBtoColor()
281 red = pv; in HSBtoColor()
286 red = pv; in HSBtoColor()
292 green = pv; in HSBtoColor()
297 green = pv; in HSBtoColor()
/frameworks/base/graphics/java/android/renderscript/
DProgramVertex.java149 ProgramVertex pv = new ProgramVertex(id, mRS); in create() local
150 initProgram(pv); in create()
151 return pv; in create()
DProgramVertexFixedFunction.java104 ProgramVertexFixedFunction pv = new ProgramVertexFixedFunction(id, mRS); in create() local
105 initProgram(pv); in create()
106 return pv; in create()
DRenderScript.java180 native void rsnContextBindProgramVertex(int con, int pv); in rsnContextBindProgramVertex() argument
181 synchronized void nContextBindProgramVertex(int pv) { in nContextBindProgramVertex() argument
183 rsnContextBindProgramVertex(mContext, pv); in nContextBindProgramVertex()
631 native void rsnProgramBindConstants(int con, int pv, int slot, int mID); in rsnProgramBindConstants() argument
632 synchronized void nProgramBindConstants(int pv, int slot, int mID) { in nProgramBindConstants() argument
634 rsnProgramBindConstants(mContext, pv, slot, mID); in nProgramBindConstants()
/frameworks/rs/
DrsScriptC_LibGL.cpp61 void rsrBindConstant(Context *rsc, Script *sc, 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, Script *sc, ProgramVertex *pv) { in rsrBindProgramVertex() argument
84 CHECK_OBJ_OR_NULL(pv); in rsrBindProgramVertex()
85 rsc->setProgramVertex(pv); in rsrBindProgramVertex()
DrsProgramVertex.cpp209 ProgramVertex *pv = new ProgramVertex(rsc, shaderString.string(), shaderString.length(), in init() local
213 pv->bindAllocation(rsc, alloc, 0); in init()
216 mDefault.set(pv); in init()
252 ProgramVertex *pv = new ProgramVertex(rsc, shaderText, shaderLength, in rsi_ProgramVertexCreate() local
255 pv->incUserRef(); in rsi_ProgramVertexCreate()
256 return pv; in rsi_ProgramVertexCreate()
Drs_hal.h226 bool (*init)(const Context *rsc, const ProgramVertex *pv,
230 void (*setActive)(const Context *rsc, const ProgramVertex *pv);
231 void (*destroy)(const Context *rsc, const ProgramVertex *pv);
DrsContext.cpp603 void Context::setProgramVertex(ProgramVertex *pv) { in setProgramVertex() argument
605 if (pv == NULL) { in setProgramVertex()
608 mVertex.set(pv); in setProgramVertex()
716 ProgramVertex *pv = static_cast<ProgramVertex *>(vpv); in rsi_ContextBindProgramVertex() local
717 rsc->setProgramVertex(pv); in rsi_ContextBindProgramVertex()
/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/support/renderscript/v8/rs_support/
Drs_hal.h225 bool (*init)(const Context *rsc, const ProgramVertex *pv,
229 void (*setActive)(const Context *rsc, const ProgramVertex *pv);
230 void (*destroy)(const Context *rsc, const ProgramVertex *pv);
/frameworks/support/renderscript/v8/rs_support/scriptc/
Drs_graphics.rsh92 * @param pv
95 rsgBindProgramVertex(rs_program_vertex pv);
185 * @param pv program object
190 rsgBindConstant(rs_program_vertex pv, uint slot, rs_allocation c);
/frameworks/rs/scriptc/
Drs_graphics.rsh92 * @param pv
95 rsgBindProgramVertex(rs_program_vertex pv);
185 * @param pv program object
190 rsgBindConstant(rs_program_vertex pv, uint slot, rs_allocation c);