/libcore/luni/src/main/java/org/apache/xml/serializer/ |
NamespaceMappings.java | 88 * depth can be popped of the top and the same node 375 private int top = -1; field in class:NamespaceMappings.Stack 382 clone.top = this.top; 384 for (int i=0; i <= top; i++) { 397 top++; 398 if (max <= top) { 405 m_stack[top] = o; 411 if (0 <= top) { 412 o = m_stack[top]; [all...] |
/frameworks/base/graphics/java/android/graphics/ |
YuvImage.java | 28 * region by left, top, width and height. 139 int[] offsets = calculateOffsets(rectangle.left, rectangle.top); 182 int[] calculateOffsets(int left, int top) { 185 offsets = new int[] {top * mStrides[0] + left, 186 mHeight * mStrides[0] + top / 2 * mStrides[1] 192 offsets = new int[] {top * mStrides[0] + left / 2 * 4}; 218 // Make sure left, top, width and height are all even. 222 rect.top &= ~1; 224 rect.bottom = rect.top + height;
|
Region.java | 56 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); 61 public Region(int left, int top, int right, int bottom) { 63 nativeSetRect(mNativeRegion, left, top, right, bottom); 81 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); 86 public boolean set(int left, int top, int right, int bottom) { 87 return nativeSetRect(mNativeRegion, left, top, right, bottom); 166 return quickContains(r.left, r.top, r.right, r.bottom); 175 public native boolean quickContains(int left, int top, int right, 184 return quickReject(r.left, r.top, r.right, r.bottom); 192 public native boolean quickReject(int left, int top, int right, int bottom) [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
RecentApplicationsBackground.java | 61 protected boolean setFrame(int left, int top, int right, int bottom) { 63 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) { 66 return super.setFrame(left, top, right, bottom); 95 final int top = chld.top - bkg.top; local 110 background.setBounds(left, top, right, bottom); 139 r.left = r.top = Integer.MAX_VALUE; 146 r.top = Math.min(r.top, v.getTop()) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/ |
SDL_BView.h | 65 bounds.top = bounds.left = 0; 88 dest.top = updateRect.top + yoff; 101 dest.top = updateRect.top + yoff;
|
/frameworks/base/core/tests/coretests/src/android/text/ |
StaticLayoutTest.java | 65 * Top and bottom padding are affected, as is the line descent and height. 74 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent, 75 fmi.top, fmi.bottom); 80 * Ascent of top line and descent of bottom line are affected. 90 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent, 91 fmi.top, fmi.descent, 97 * First line ascent is top, bottom line descent is bottom. 108 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent, 109 fmi.top, fmi.descent, 136 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
GLView.java | 96 private boolean setBounds(int left, int top, int right, int bottom) { 98 || (bottom - top) != (mBounds.bottom - mBounds.top); 99 mBounds.set(left, top, right, bottom); 164 return mBounds.bottom - mBounds.top; 206 int yoffset = component.mBounds.top - mScrollY; 240 int top = rect.top; local 242 event.offsetLocation(-left, -top); 244 event.offsetLocation(left, top); [all...] |
/development/samples/BrowserPlugin/jni/navigation/ |
NavigationPlugin.cpp | 60 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 = Hm - 15 [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
EmbossMaskFilterTest.java | 69 Rect top = new Rect(0, 0, BITMAP_WIDTH, CENTER_Y); local 74 assertTrue(brightness(bitmap, top) > brightness(bitmap, bottom)); 78 top.bottom = CENTER_Y - STROKE_WIDTH / 2; 79 assertEquals(0, brightness(bitmap, top)); 80 bottom.top = CENTER_Y + STROKE_WIDTH / 2; 94 for (int y = rect.top; y < rect.bottom; y++) {
|
RectTest.java | 81 assertEquals(2, mRect.top); 98 assertEquals(2, mRect.top); 113 assertEquals(0, mRect.top); 120 assertEquals(0, mRect.top); 166 assertEquals(1, mRect.top); 186 assertEquals(5, mRect.top); 194 assertEquals(5, mRect.top); 208 // 1. left < right, top < bottom 209 // this.left < this.right, this.top < this.bottom 212 assertEquals(0, mRect.top); [all...] |
/external/webkit/WebCore/platform/ |
Widget.cpp | 58 const Widget* top = this; local 59 while (top->parent()) 60 top = top->parent(); 61 if (top->isFrameView()) 62 return const_cast<ScrollView*>(static_cast<const ScrollView*>(top));
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
IconTitleDrawable.java | 91 int top = bounds.top; local 93 int height = bounds.bottom - top; 99 int iconY = top + (height - iconSize) / 2; 100 icon.setBounds(iconLeft, iconY, iconLeft + iconSize, top + iconSize); 108 mTitleY = top + (height - mTitleLayout.getHeight()) / 2;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
UsagePreferencePage.java | 50 Composite top = new Composite(parent, SWT.NONE); local 51 top.setLayout(new GridLayout(1, false)); 52 top.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); 54 Link text = new Link(top, SWT.WRAP); 68 SdkStatsService.CHECKBOX_TEXT, top); 73 return top;
|
/external/webkit/WebCore/inspector/front-end/ |
audits.css | 42 top: 0; 57 top: 0; 72 margin-top: 2px; 130 margin-top: 0; 134 margin-top: 0; 147 padding-top: 0; 154 top: 0; 171 top: 0; 184 padding-top: 15px; 198 padding-top: 16px [all...] |
/external/openssl/crypto/bn/ |
bn_add.c | 114 if (a->top < b->top) 116 max = a->top; 117 min = b->top; 123 r->top=max; 153 r->top++; 178 max = a->top; 179 min = b->top; 257 r->top=max; 298 max=(a->top > b->top)?a->top:b->top [all...] |
/external/skia/include/core/ |
SkRect.h | 39 /** Returns the rectangle's height. This does not check for a valid rectangle (i.e. top <= bottom) 61 void set(int32_t left, int32_t top, int32_t right, int32_t bottom) { 63 fTop = top; 69 and adding dy to its top and bottom. 84 making the rectangle wider. The same hods true for dy and the top and bottom. 94 empty. The left and top are considered to be inside, while the right 106 bool contains(int32_t left, int32_t top, int32_t right, int32_t bottom) const { 107 return left < right && top < bottom && !this->isEmpty() && // check for empties 108 fLeft <= left && fTop <= top && 126 bool containsNoEmptyCheck(int32_t left, int32_t top, [all...] |
/external/bluetooth/glib/glib/ |
gqsort.c | 75 #define PUSH(low, high) ((void) ((top->lo = (low)), (top->hi = (high)), ++top)) 76 #define POP(low, high) ((void) (--top, (low = top->lo), (high = top->hi))) 77 #define STACK_NOT_EMPTY (stack < top) 140 stack_node *top = stack; local
|
/external/dropbear/libtommath/ |
bn_mp_reduce_2k.c | 29 top: 49 goto top;
|
bn_mp_reduce_2k_l.c | 32 top: 50 goto top;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
TrackingView.java | 40 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { 41 super.onLayout(changed, left, top, right, bottom);
|
/packages/apps/Gallery/src/com/android/camera/ |
EvenlySpacedLayout.java | 84 int top = 0; local 90 child.layout(left, top, left + w, top + h); 110 int top = mKeepEndSpace ? spacing : 0; local 117 child.layout(left, top, left + w, top + h); 118 top += h; 119 top += spacing;
|
/sdk/traceview/src/com/android/traceview/ |
ThreadData.java | 107 Call top = pop(); local 108 if (top == null) { 119 Call caller = top(); 137 Call top = stack.get(stack.size() - 1); 142 MethodData md = top.mMethodData; 152 return top; 155 public Call top() { method in class:ThreadData 169 Call caller = top();
|
/cts/tools/signature-tools/templates/ |
Styles.st | 35 top:0px; 41 top:75px;
|
/dalvik/vm/alloc/ |
MarkSweep.h | 29 /* Current top of the stack (inclusive) 31 const Object **top; member in struct:__anon686
|
/external/iproute2/netem/ |
stats.c | 24 double mu=0.0, sigma=0.0, sumsquare=0.0, sum=0.0, top=0.0, rho=0.0; local 47 top += ((double)x[i]-mu)*((double)x[i-1]-mu); 51 rho = top/sigma2; 57 /*printf("correlation rho = %10.6f\n", top/((double)(n-1)*sigma*sigma));*/
|