/external/quake/quake/src/WinQuake/ |
gl_vidnt.cpp | 214 WindowRect.top = WindowRect.left = 0;
230 height = rect.bottom - rect.top;
238 rect.left, rect.top,
251 WindowRect.bottom - WindowRect.top, false);
306 WindowRect.top = WindowRect.left = 0;
321 height = rect.bottom - rect.top;
329 rect.left, rect.top,
441 // ourselves at the top of the z order, then grab the foreground again,
485 window_rect.top = window_y;
489 window_center_y = (window_rect.top + window_rect.bottom) / 2; [all...] |
/external/webkit/WebCore/rendering/ |
RenderTableCell.cpp | 122 // even in strict mode, so do not make this a quirk. Affected the top 195 int top = max(borderHalfTop(true), outlineSize); local 199 top = max(top, before->borderHalfTop(true)); 205 top = max(top, after->borderHalfTop(true)); 209 if (top) { 222 top = max(top, -topVisibleOverflow()); 223 IntRect r(-left, - top, left + max(width() + right, rightVisibleOverflow()), top + max(height() + bottom, bottomVisibleOv (…) [all...] |
RenderLineBoxList.cpp | 198 int top = min(curr->topVisibleOverflow(), curr->root()->selectionTop()) - renderer->maximalOutlineSize(info.phase); local 200 h = bottom - top; 201 yPos = ty + top;
|
/frameworks/base/core/java/com/android/internal/widget/ |
SlidingTab.java | 329 * @param t the parent's top border 354 final int top = (parentHeight - handleHeight) / 2; local 357 tab.layout(0, top, handleWidth, bottom); 358 text.layout(0 - parentWidth, top, 0, bottom); 363 tab.layout(parentWidth - handleWidth, top, parentWidth, bottom); 364 text.layout(parentWidth, top, parentWidth + parentWidth, bottom); 366 text.setGravity(Gravity.TOP); 373 final int top = (int) (THRESHOLD * parentHeight) + handleHeight / 2 - targetHeight; local 378 target.layout(targetLeft, top, targetRight, top + targetHeight) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
CellLayout.java | 278 if (isColumnEmpty(current.left - 1, current.top, current.bottom, occupied)) { 286 if (isColumnEmpty(current.right + 1, current.top, current.bottom, occupied)) { 293 if (current.top > 0) { 294 if (isRowEmpty(current.top - 1, current.left, current.right, occupied)) { 295 current.top--; 297 current.top++; 313 cell.cellY = current.top; 315 cell.spanY = current.bottom - current.top + 1; 327 private static boolean isColumnEmpty(int x, int top, int bottom, boolean[][] occupied) { 328 for (int y = top; y <= bottom; y++) [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/ |
LogPanel.java | 125 /** top object in the view */ 395 Composite top = new Composite(parent, SWT.NONE); local 396 top.setLayoutData(new GridData(GridData.FILL_BOTH)); 397 top.setLayout(new GridLayout(1, false)); 400 mFolders = new TabFolder(top, SWT.NONE); 419 Composite bottom = new Composite(top, SWT.NONE); 456 return top; 903 Composite top = new Composite(mFolders, SWT.NONE); local 904 item.setControl(top); 906 top.setLayout(new FillLayout()) [all...] |
/external/v8/src/ia32/ |
virtual-frame-ia32.cc | 238 // Adjust the stack pointer upward (toward the top of the virtual 266 // from the top downward in the frame in order to leave the backing 647 // Push that register as a FrameElement on top of the frame. 675 // Store the value on top of the frame to the virtual frame slot at 676 // a given index. The value on top of the frame is left in place. 682 FrameElement top = elements_[top_index]; 684 if (top.is_copy() && top.index() == index) return; 685 ASSERT(top.is_valid()); 691 // the copy-on-write semantics of aliased elements. Reload top fro [all...] |
/external/webkit/WebKit/android/nav/ |
SelectText.cpp | 227 SkFixed lineHeight = SkIntToFixed(bottom() - top()); 358 int top() { function in namespace:android 425 int dy = top() + bottom() - (mFocusY << 1); 433 mBestBounds.set(rect.fLeft, top(), rect.fRight, bottom()); 495 int dy = ((top() + bottom()) >> 1) - mFocusY; 513 mBestBounds.set(rect.fLeft, top(), rect.fRight, bottom()); 557 mBestBounds.set(rect.fLeft, top(), rect.fRight, bottom()); 580 mBestBounds.set(rect.fLeft, top(), rect.fRight, bottom()); 629 // is the text to collect between the selection top and bottom? 799 full.set(rect.fLeft, top(), rect.fRight, bottom()) 1459 int top = m_selStart.fBottom + CONTROL_HEIGHT \/ 2; local 1536 int top = m_selStart.fBottom + CONTROL_HEIGHT \/ 2; local [all...] |
/external/skia/src/animator/ |
SkScriptTokenizer.cpp | 139 while (fBranchStack.top().fDone == Branch::kIsDone) 366 SkScriptValue2& top = fValueStack.top(); local 367 if (top.fType != SkOperand2::kObject) 369 void* object = top.fOperand.fObject; 480 if (fBraceStack.top() == kArrayBrace) { 603 SkScriptValue2 top; local 604 fValueStack.pop(&top); 606 addTokenInt(top.fType); 608 top.fType = SkOperand2::kObject [all...] |
/hardware/ti/omap3/liboverlay/ |
v4l2_utils.c | 120 LOGI("crop t: %d ", crop->c.top); 128 LOGI("window t: %d ", win->w.top); 219 win->w.top = y; 230 *y = format->fmt.win.w.top; 343 crop.c.top = y; 361 *y = crop.c.top;
|
/system/core/libcutils/ |
tzstrftime.c | 425 int top; local 440 top = bot - 442 if (top < -3) 443 top += DAYSPERWEEK; 444 top += len; 445 if (yday >= top) {
|
/frameworks/base/core/java/android/widget/ |
AbsListView.java | 165 * the views from there. The top is specified by mSpecificTop. 170 * Layout to sync as a result of a data change. Restore mSyncPosition to have its top 196 * Indicates whether the list selector should be drawn on top of the children or behind 222 * The selection's top padding 247 * The top scroll indicator 268 * The offset to the top of the mMotionPosition view when the down motion event was received 273 * The desired offset to the top of the mMotionPosition view after a scroll 319 * The offset in pixels form the top of the AdapterView to the top 326 * the top edge 1131 final int top = view.getTop(); local 1159 final int top = view.getTop(); local 1207 final int top = getChildAt(0).getTop(); local [all...] |
AbsSpinner.java | 171 mSpinnerPadding.top = mPaddingTop > mSelectionTopPadding ? mPaddingTop 208 preferredHeight = getChildHeight(view) + mSpinnerPadding.top + mSpinnerPadding.bottom; 217 preferredHeight = mSpinnerPadding.top + mSpinnerPadding.bottom;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
NinePatchTest.java | 255 private void assertBounds(Rect regionBounds, int left, int top, int right, int bottom) { 257 assertEquals(top, regionBounds.top);
|
PaintTest.java | 909 assertEquals(-12.574219f, fm.top); 920 assertEquals(-25.148438f, fm.top); 930 assertEquals(-25.347656f, fm.top); 950 assertEquals(-12.574219f, fm.top); 959 assertEquals(-25.148438f, fm.top); 968 assertEquals(-25.347656f, fm.top); [all...] |
BitmapRegionDecoderTest.java | 305 int top = rect1.top / opts.inSampleSize; local 306 Rect rect2 = new Rect(left, top, left + actual.getWidth(), 307 top + actual.getHeight());
|
/external/dropbear/libtommath/etc/ |
pprime.c | 234 top: 261 goto top; 323 goto top;
|
/frameworks/base/core/java/android/text/ |
BoringLayout.java | 186 spacing = metrics.bottom - metrics.top; 198 mDesc = spacing + metrics.top; 219 mTopPadding = metrics.top - metrics.ascent;
|
StaticLayout.java | 332 fm.top += mWorkPaint.baselineShift; 339 int fmtop = fm.top; 529 fm.top, fm.bottom, 565 fittop = fm.top; 598 fm.top, fm.bottom, [all...] |
/frameworks/base/core/jni/android/graphics/ |
Canvas.cpp | 235 jfloat top, jfloat right, jfloat bottom) { 238 r.set(SkFloatToScalar(left), SkFloatToScalar(top), 245 jint top, jint right, jint bottom) { 248 r.set(SkIntToScalar(left), SkIntToScalar(top), 270 float left, float top, float right, float bottom, 273 rect.set(SkFloatToScalar(left), SkFloatToScalar(top), 306 jfloat left, jfloat top, jfloat right, 309 r.set(SkFloatToScalar(left), SkFloatToScalar(top), 407 jfloat left, jfloat top, jfloat right, 410 SkScalar top_ = SkFloatToScalar(top); [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Path.java | 361 * @param top The top of a rectangle to add to the path 366 public void addRect(float left, float top, float right, float bottom, 368 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt); 427 * two radius values [X, Y]. The corners are ordered top-left, top-right, 572 private static native void native_addRect(int nPath, float left, float top,
|
/packages/apps/Phone/src/com/android/phone/ |
InCallMenuView.java | 311 childLayoutParams.top = (int) itemTop; 376 child.layout(childLayoutParams.left, childLayoutParams.top, 468 * Layout parameters specific to InCallMenuView (stores the left, top, 472 int left, top, right, bottom; field in class:InCallMenuView.LayoutParams
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
DrawableContainerStateTest.java | 407 mPadding.top = rect.top; 420 padding.top = mPadding.top;
|
DrawableTest.java | 103 assertEquals(0, rect1.top); 107 assertEquals(0, r1.top); 116 assertEquals(10, rect2.top); 120 assertEquals(10, r2.top); 129 assertEquals(50, rect3.top); 133 assertEquals(50, r3.top); 294 assertEquals(0, r.top); 301 assertEquals(10, r.top); 438 assertEquals(0, r.top);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
AbsListViewTest.java | 215 assertEquals(0, r1.top); 223 assertTrue(r2.top > 0); 228 assertTrue(r2.top > r1.top); 229 assertEquals(r1.bottom - r1.top, r2.bottom - r2.top); 322 mListView.setPadding(r.left, r.top, r.right, r.bottom); 328 assertEquals(r.top, mListView.getListPaddingTop()); 391 assertEquals(v.getTop(), r.top); [all...] |