Searched refs:top (Results 1 - 25 of 43) sorted by relevance

12

/development/ndk/platforms/android-9/include/android/
H A Drect.h32 int32_t top; member in struct:ARect
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
H A DCube.java22 public Cube(GLWorld world, float left, float bottom, float back, float right, float top, float front) { argument
26 GLVertex leftTopBack = addVertex(left, top, back);
27 GLVertex rightTopBack = addVertex(right, top, back);
30 GLVertex leftTopFront = addVertex(left, top, front);
31 GLVertex rightTopFront = addVertex(right, top, front);
44 // top
/development/samples/BrowserPlugin/jni/navigation/
H A DNavigationPlugin.cpp60 inval.top = rnd16(r.top, inset);
103 clipR.top = clip.top;
124 // draw the nav up box (5 px from the top edge)
126 m_navUp.top = 5;
128 m_navUp.bottom = m_navUp.top + 30;
133 m_navDown.top = H - (30 + 5);
135 m_navDown.bottom = m_navDown.top + 30;
140 m_navLeft.top
[all...]
/development/samples/BrowserPlugin/jni/audio/
H A DAudioPlugin.cpp61 inval.top = rnd16(r.top, inset);
196 clipR.top = clip.top;
226 m_trackRect.top = 1;
239 m_playRect.top = m_trackRect.bottom + 10;
241 m_playRect.bottom = m_playRect.top + buttonHeight;
246 m_playRect.top - fontMetrics.fTop, m_paintText);
250 m_pauseRect.top = m_trackRect.bottom + 10;
252 m_pauseRect.bottom = m_pauseRect.top
[all...]
/development/samples/BrowserPlugin/jni/paint/
H A DPaintPlugin.cpp113 clipR.top = dirtyRect->top;
126 newRect.top = (int) dirtyRect->top;
166 m_inputToggle.top = H - buttonHeight - 5;
168 m_inputToggle.bottom = m_inputToggle.top + buttonHeight;
172 m_inputToggle.top - fontMetrics.fTop, m_paintSurface);
176 m_colorToggle.top = H - buttonHeight - 5;
178 m_colorToggle.bottom = m_colorToggle.top + buttonHeight;
182 m_colorToggle.top
[all...]
/development/samples/ApiDemos/src/com/example/android/apis/animation/
H A DFixedGridLayout.java93 int top = y + ((cellHeight-h)/2);
95 child.layout(left, top, left+w, top+h);
/development/samples/ApiDemos/src/com/example/android/apis/view/
H A DFocus3.java34 mTopButton = (Button) findViewById(R.id.top);
H A DInternalSelectionView.java185 final int top = getPaddingTop() + row * rowHeight;
187 top,
189 top + rowHeight);
248 int y = previouslyFocusedRect.top
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
H A DMatrixStack.java42 public void glFrustumf(float left, float right, float bottom, float top, argument
44 Matrix.frustumM(mMatrix, mTop, left, right, bottom, top, near, far);
47 public void glFrustumx(int left, int right, int bottom, int top, int near, argument
50 fixedToFloat(bottom), fixedToFloat(top),
102 public void glOrthof(float left, float right, float bottom, float top, argument
104 Matrix.orthoM(mMatrix, mTop, left, right, bottom, top, near, far);
107 public void glOrthox(int left, int right, int bottom, int top, int near, argument
110 fixedToFloat(bottom), fixedToFloat(top),
H A DMatrixTrackingGL.java260 public void glFrustumf(float left, float right, float bottom, float top, argument
262 mCurrent.glFrustumf(left, right, bottom, top, near, far);
263 mgl.glFrustumf(left, right, bottom, top, near, far);
267 public void glFrustumx(int left, int right, int bottom, int top, int near, argument
269 mCurrent.glFrustumx(left, right, bottom, top, near, far);
270 mgl.glFrustumx(left, right, bottom, top, near, far);
490 public void glOrthof(float left, float right, float bottom, float top, argument
492 mCurrent.glOrthof(left, right, bottom, top, near, far);
493 mgl.glOrthof(left, right, bottom, top, near, far);
497 public void glOrthox(int left, int right, int bottom, int top, in argument
[all...]
/development/samples/BrowserPlugin/jni/form/
H A DFormPlugin.cpp60 inval.top = rnd16(r.top, inset);
122 clipR.top = clip.top;
143 // draw the username box (5 px from the top edge)
145 m_usernameInput.rect.top = 5;
147 m_usernameInput.rect.bottom = m_usernameInput.rect.top + inputHeight;
153 m_passwordInput.rect.top = H - (inputHeight + 5);
155 m_passwordInput.rect.bottom = m_passwordInput.rect.top + inputHeight;
196 oval.top
[all...]
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
H A DFixedGridLayout.java104 int top = y + ((cellHeight-h)/2);
106 child.layout(left, top, left+w, top+h);
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
H A DDeviceListFragment.java127 TextView top = (TextView) v.findViewById(R.id.device_name);
129 if (top != null) {
130 top.setText(device.deviceName);
/development/tools/axl/
H A Dchewperf.py71 top = max(buckets.keys())
72 for x in range(top):
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
H A DZoomActivity.java151 startBounds.top -= deltaHeight;
160 // Set the pivot point for SCALE_X and SCALE_Y transformations to the top-left corner of
171 .with(ObjectAnimator.ofFloat(expandedImageView, View.Y, startBounds.top,
172 finalBounds.top))
206 .with(ObjectAnimator.ofFloat(expandedImageView, View.Y, startBounds.top))
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
H A DColorFilters.java51 int center = (r.top + r.bottom) >> 1;
130 float y = (r.top + r.bottom) * 0.5f - mPaintTextOffset;
H A DPathEffects.java77 canvas.translate(10 - bounds.left, 10 - bounds.top);
H A DRegions.java89 c.drawRect(r.left + inset, r.top + inset,
/development/samples/BrowserPlugin/jni/animation/
H A DAnimationPlugin.cpp125 visibleRect.left, visibleRect.top, visibleRect.right, visibleRect.bottom);
130 visibleRects[0].top = 0;
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
H A DCandidateView.java145 + padding.top + padding.bottom;
192 mSelectionHighlight.setBounds(0, bgPadding.top, wordWidth, height);
208 canvas.drawLine(x + wordWidth + 0.5f, bgPadding.top,
/development/cmds/monkey/src/com/android/commands/monkey/
H A DMonkeySourceNetworkViews.java125 positions.append(nodePosition.left).append(" ").append(nodePosition.top);
127 positions.append(nodePosition.bottom-nodePosition.top);
332 positions.append(nodePosition.left).append(" ").append(nodePosition.top);
334 positions.append(nodePosition.bottom-nodePosition.top);
/development/tools/emulator/opengl/tests/gles_android_wrapper/
H A Dgles.cpp96 void glFrustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument
98 getDispatch()->glFrustumf(left, right, bottom, top, zNear, zFar);
186 void glOrthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument
188 getDispatch()->glOrthof(left, right, bottom, top, zNear, zFar);
436 void glFrustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument
438 getDispatch()->glFrustumx(left, right, bottom, top, zNear, zFar);
616 void glOrthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument
618 getDispatch()->glOrthox(left, right, bottom, top, zNear, zFar);
886 void glFrustumxOES(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument
888 getDispatch()->glFrustumxOES(left, right, bottom, top, zNea
976 glOrthoxOES(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument
1161 glFrustumfOES(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument
1166 glOrthofOES(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument
[all...]
/development/samples/Home/src/com/example/android/home/
H A DHome.java748 public void setBounds(int left, int top, int right, int bottom) { argument
749 super.setBounds(left, top, right, bottom);
752 mWallpaper.setBounds(left, top, left + mWallpaper.getIntrinsicWidth(),
753 top + mWallpaper.getIntrinsicHeight());
/development/ide/xcode/ports/
H A DSkOSWindow_Mac.cpp79 this->resize(r.right - r.left, r.bottom - r.top);
87 rect.top = r.fTop;
/development/ndk/platforms/android-4/include/GLES/
H A Dglext.h537 GL_API void GL_APIENTRY glFrustumxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
555 GL_API void GL_APIENTRY glOrthoxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
577 typedef void (GL_APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
595 typedef void (GL_APIENTRYP PFNGLORTHOXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
704 GL_API void GL_APIENTRY glFrustumfOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
705 GL_API void GL_APIENTRY glOrthofOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
711 typedef void (GL_APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
712 typedef void (GL_APIENTRYP PFNGLORTHOFOESPROC) (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);

Completed in 3325 milliseconds

12