Home
last modified time | relevance | path

Searched refs:vp (Results 1 – 19 of 19) sorted by relevance

/frameworks/support/transition/api14/android/support/transition/
DViewUtilsApi14.java80 final View vp = (View) parent; in transformMatrixToGlobal() local
81 transformMatrixToGlobal(vp, matrix); in transformMatrixToGlobal()
82 matrix.preTranslate(-vp.getScrollX(), -vp.getScrollY()); in transformMatrixToGlobal()
95 final View vp = (View) parent; in transformMatrixToLocal() local
96 transformMatrixToLocal(vp, matrix); in transformMatrixToLocal()
97 matrix.postTranslate(vp.getScrollX(), vp.getScrollY()); in transformMatrixToLocal()
/frameworks/support/design/src/android/support/design/widget/
DViewGroupUtils.java76 final View vp = (View) parent; in offsetDescendantMatrix() local
77 offsetDescendantMatrix(target, vp, m); in offsetDescendantMatrix()
78 m.preTranslate(-vp.getScrollX(), -vp.getScrollY()); in offsetDescendantMatrix()
DTabLayout.java859 final ViewParent vp = getParent(); in onAttachedToWindow() local
860 if (vp instanceof ViewPager) { in onAttachedToWindow()
863 setupWithViewPager((ViewPager) vp, true, true); in onAttachedToWindow()
/frameworks/base/core/jni/android/opengl/
Dpoly_clip.cpp61 float *up, *vp, *wp; in poly_clip_to_halfspace() local
80 vp = (float *)v; in poly_clip_to_halfspace()
82 for(int i = 0; i < 4; i++, wp++, up++, vp++) { in poly_clip_to_halfspace()
83 *wp = *up+t*(*vp-*up); in poly_clip_to_halfspace()
/frameworks/av/cmds/screenrecord/
DProgram.cpp246 GLint vp[4]; in beforeDraw() local
247 glGetIntegerv(GL_VIEWPORT, vp); in beforeDraw()
249 2.0f/float(vp[2]), 0.0f, 0.0f, 0.0f, in beforeDraw()
250 0.0f, -2.0f/float(vp[3]), 0.0f, 0.0f, in beforeDraw()
/frameworks/native/cmds/flatland/
DComposers.cpp56 GLint vp[4]; in modBlit() local
57 glGetIntegerv(GL_VIEWPORT, vp); in modBlit()
59 2.0f/float(vp[2]), 0.0f, 0.0f, 0.0f, in modBlit()
60 0.0f, -2.0f/float(vp[3]), 0.0f, 0.0f, in modBlit()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DToolbarFragmentPagerMenu.java55 ViewPager vp = findViewById(R.id.viewpager); in onCreate() local
58 vp.setAdapter(adapter); in onCreate()
/frameworks/base/media/java/android/media/session/
DMediaSession.java1325 VolumeProvider vp; in handleMessage() local
1390 vp = mVolumeProvider; in handleMessage()
1392 if (vp != null) { in handleMessage()
1393 vp.onAdjustVolume((int) msg.obj); in handleMessage()
1398 vp = mVolumeProvider; in handleMessage()
1400 if (vp != null) { in handleMessage()
1401 vp.onSetVolumeTo((int) msg.obj); in handleMessage()
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/
DMediaControllerCompatTest.java190 VolumeProviderCompat vp = in testVolumeControl() local
215 mSession.setPlaybackToRemote(vp); in testVolumeControl()
221 assertEquals(7, vp.getCurrentVolume()); in testVolumeControl()
226 assertEquals(6, vp.getCurrentVolume()); in testVolumeControl()
230 assertEquals(7, vp.getCurrentVolume()); in testVolumeControl()
DMediaSessionCompatTest.java532 VolumeProviderCompat vp = new VolumeProviderCompat( in testPlaybackToLocalAndRemote() local
536 mSession.setPlaybackToRemote(vp); in testPlaybackToLocalAndRemote()
/frameworks/rs/
DrsProgram.cpp212 void rsi_ProgramBindConstants(Context *rsc, RsProgram vp, uint32_t slot, RsAllocation constants) { in rsi_ProgramBindConstants() argument
213 Program *p = static_cast<Program *>(vp); in rsi_ProgramBindConstants()
Drsg.spec23 param RsProgram vp
DrsApiStubs.cpp853 extern "C" void rsProgramBindConstants (RsContext ctxWrapper, RsProgram vp, uint32_t slot, RsAlloca… in rsProgramBindConstants() argument
855 RS_DISPATCH(ctxWrapper, ProgramBindConstants, vp, slot, constants); in rsProgramBindConstants()
DrsApiStubs.h144 extern "C" void rsProgramBindConstants (RsContext rsc, RsProgram vp, uint32_t slot, RsAllocation co…
/frameworks/native/opengl/libagl/
Darray.cpp957 const GLubyte* vp = c->arrays.vertex.element(first); in compileElement__generic() local
960 c->arrays.vertex.fetch(c, v->obj.v, vp); in compileElement__generic()
968 const GLubyte* vp = c->arrays.vertex.element( in compileElements__generic() local
977 c->arrays.vertex.fetch(c, v->obj.v, vp); in compileElements__generic()
980 vp += stride; in compileElements__generic()
/frameworks/support/media-compat/java/android/support/v4/media/session/
DMediaSessionCompat.java2563 VolumeProviderCompat vp = mVolumeProvider; in getVolumeAttributes() local
2565 controlType = vp.getVolumeControl(); in getVolumeAttributes()
2566 max = vp.getMaxVolume(); in getVolumeAttributes()
2567 current = vp.getCurrentVolume(); in getVolumeAttributes()
/frameworks/rs/cpp/
DrsDispatch.h113 typedef void (*ProgramBindConstantsFnPtr) (RsContext rsc, RsProgram vp, uint32_t slot, RsAllocation…
/frameworks/base/core/java/android/view/
DView.java21297 final View vp = (View) parent;
21298 vp.transformMatrixToGlobal(m);
21299 m.preTranslate(-vp.mScrollX, -vp.mScrollY);
21323 final View vp = (View) parent;
21324 vp.transformMatrixToLocal(m);
21325 m.postTranslate(vp.mScrollX, vp.mScrollY);
/frameworks/av/services/audioflinger/
DThreads.cpp4172 VolumeProvider *vp = track; in prepareTracks_l() local
4174 fastTrack->mVolumeProvider = vp; in prepareTracks_l()