/frameworks/base/core/java/android/text/method/ |
ScrollingMovementMethod.java | 42 int top = layout.getLineForVertical(scrolly); local 47 for (int i = top; i <= bottom; i++) { 72 int top = layout.getLineForVertical(scrolly); local 77 for (int i = top; i <= bottom; i++) { 101 // If the top line is partially visible, bring it all the way
|
Touch.java | 40 int top = layout.getLineForVertical(y); local 48 for (int i = top; i <= bottom; i++) { 80 int top = layout.getLineForVertical(y); local 85 for (int i = top; i <= bottom; i++) {
|
/frameworks/base/core/java/android/widget/ |
ScrollBarDrawable.java | 114 if (canvas.quickReject(r.left, r.top, r.right, r.bottom, 168 thumbRect.set(bounds.left, bounds.top + offset, 169 bounds.right, bounds.top + offset + length); 171 thumbRect.set(bounds.left + offset, bounds.top,
|
/frameworks/base/core/tests/coretests/src/android/util/ |
InternalSelectionView.java | 187 final int top = mPaddingTop + row * rowHeight; local 189 top, 191 top + rowHeight); 249 int y = previouslyFocusedRect.top
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
PictureDrawable.java | 72 canvas.translate(bounds.left, bounds.top);
|
Drawable.java | 87 * drawables on top of each other. 121 public void setBounds(int left, int top, int right, int bottom) { 128 if (oldBounds.left != left || oldBounds.top != top || 130 mBounds.set(left, top, right, bottom); 140 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); [all...] |
LayerDrawable.java | 32 * order, so the element with the largest index will be drawn on top. 130 int top = a.getDimensionPixelOffset( local 157 addLayer(dr, id, left, top, right, bottom); 170 * @param top The top padding of the new layer. 174 private void addLayer(Drawable layer, int id, int left, int top, int right, int bottom) { 193 childDrawable.mInsetT = top; 282 top += t; 338 padding.top = 0; 346 padding.top += mPaddingT[i] [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
AgendaListView.java | 156 if (r.top >= 0) { // if visible 207 // if r.top is < 0, getChildAt(0) and getFirstVisiblePosition() is 210 setSelectionFromTop(position + offset, r.top > 0 ? -r.top : r.top);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
GLOptionHeader.java | 73 mTitle.draw(root, p.left, p.top);
|
LinearLayout.java | 44 int offsetY = p.top;
|
NinePatchChunk.java | 54 chunk.mPaddings.top = byteBuffer.getInt();
|
StringTexture.java | 43 int height = metrics.bottom - metrics.top + DEFAULT_PADDING * 2;
|
GLListView.java | 165 bounds.left - mScrollX, bounds.top - mScrollY, 231 boolean change, int left, int top, int right, int bottom) { 235 makeMeasureSpec(bottom - top, MeasureSpec.EXACTLY)); 238 mScrollable = mScrollHeight > (bottom - top); 270 if (bottom <= mModel.getView(end).mBounds.top) break;
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
SysinfoPanel.java | 219 Composite top = new Composite(parent, SWT.NONE); local 220 top.setLayout(new GridLayout(1, false)); 221 top.setLayoutData(new GridData(GridData.FILL_BOTH)); 223 Composite buttons = new Composite(top, SWT.NONE); 269 mLabel = new Label(top, SWT.NONE); 276 ChartComposite chartComposite = new ChartComposite(top, 293 return top;
|
/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/ |
SDL_QWin.cc | 138 starty = rect.top() >> 1; 140 height = ((rect.bottom() - rect.top()) >> 1) + 2; 194 starty = rect.top() >> 1; 196 height = ((rect.bottom() - rect.top()) >> 1) + 2; 207 fb += 320*239; // Move "fb" to top left corner 253 fb += (rect.left()<<1) + rect.top() * my_painter->lineStep(); 254 buf += (rect.left()<<1) + rect.top() * my_image->bytesPerLine(); 289 fb += (rect.left()<<1) + rect.top() * my_painter->lineStep(); 290 buf += (rect.left()<<1) + rect.top() * my_image->bytesPerLine(); 307 fb += ((my_painter->width() - (rect.top() + rect.height())) * [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
XmlKeyboardLoader.java | 62 * Attribute tag of the top and bottom margin for a key. A key's height 555 float left, right, top, bottom; local 559 top = mKeyYPos; 560 bottom = top + attrKeys.keyHeight; 563 if (bottom - top < 2 * mKeyYMargin) return null; 565 softKey.setKeyDimensions(left, top, right, bottom); 653 float left, right, top, bottom; local 656 top = mKeyYPos; 657 bottom = top + attrKey.keyHeight; 660 if (bottom - top < 2 * mKeyYMargin) return null [all...] |
CandidateView.java | 373 while (mFmiCandidates.bottom - mFmiCandidates.top < mContentHeight) { 395 while (mFmiFootnote.bottom - mFmiFootnote.top < mContentHeight / 2) { 502 (mFmiCandidates.bottom - mFmiCandidates.top)) / 2 503 - mFmiCandidates.top; 527 (int) mActiveCellRect.top, (int) mActiveCellRect.right, 533 mCandRects.elementAt(i).set(xPos - 1, yPos + mFmiCandidates.top, 612 if (r.left < x && r.right > x && r.top < y && r.bottom > y) { 616 float disy = (r.top + r.bottom) / 2 - y; 693 int desired_height = (int) (r.bottom - r.top);
|
/external/skia/src/core/ |
SkPoint.cpp | 178 unsigned top = x >> 25; local 179 SkASSERT(top >= 8 && top <= 63); 180 SkASSERT(top - 8 < SK_ARRAY_COUNT(gInvSqrt14GuessTable)); 181 unsigned U = gInvSqrt14GuessTable[top - 8];
|
SkRegion.cpp | 40 int top = *runs++; 41 if (top <= y) 52 top = bot; 62 assert_sentinel(runs[0], false); // top 168 bool SkRegion::setRect(int32_t left, int32_t top, int32_t right, int32_t bottom) 170 if (left >= right || top >= bottom) 174 fBounds.set(left, top, right, bottom); 230 // skip the top 260 // trim off any empty spans from the top and bottom 265 assert_sentinel(runs[0], false); // top [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
PopupMenu.java | 240 int top = (int) (PADDING_TOP * App.PIXEL_DENSITY); local 245 option.mBottom = top + rowHeight; 246 drawable.setBounds(left, top, right, option.mBottom); 247 top += rowHeight; 251 setSize(right + PADDING_RIGHT * App.PIXEL_DENSITY, top + PADDING_BOTTOM * App.PIXEL_DENSITY);
|
/external/openssl/crypto/bn/ |
bn_mul.c | 949 int top,al,bl; local 960 fprintf(stderr,"BN_mul %d * %d\n",a->top,b->top); 967 al=a->top; 968 bl=b->top; 975 top=al+bl; 996 rr->top=8; 1004 rr->top=16; 1047 rr->top=top; [all...] |
/frameworks/base/tools/aapt/ |
Images.cpp | 266 png_bytepp rows, int left, int top, int right, int bottom) 268 png_bytep color = rows[top] + left*4; 270 if (left > right || top > bottom) { 274 while (top <= bottom) { 276 png_bytep p = rows[top]+i*4; 286 top++; 316 int left, right, top, bottom; local 322 image->height, &top, &bottom); 324 // hpatch, vpatch, left, top, right, bottom); 325 const uint32_t c = get_color(image->rows, left, top, right, bottom) 347 int top; local [all...] |
/build/tools/droiddoc/templates/assets/ |
android-developer-docs.css | 127 top:0; 268 vertical-align:top; 333 /* page-top-right container for reference pages (holds 361 margin-top:-25px; 514 border-top:2px solid #ccc; 663 vertical-align:top; 700 top:5px; 795 vertical-align:top; 950 margin-top:0; 1010 .grad-rule-top { [all...] |
/external/clearsilver/ruby/ext/hdf/ |
neo_util.c | 56 /* Only mark the array if this is the top node, only the original node should 62 if ( ! NIL_P(hdfh->top) ) 63 rb_gc_mark(hdfh->top); 65 fprintf(stderr,"mark top 0x%x\n",hdfh); 85 hdfh->top=Qnil; 207 hdfh_new->top=self; 230 hdfh_new->top=self; 253 hdfh_new->top=self; 275 hdfh_new->top=self; 296 hdfh_new->top=self [all...] |
/external/webkit/WebCore/bindings/v8/ |
SerializedScriptValue.cpp | 237 while (top()) { 239 while (!top()->isDone(&length)) { 240 // Note that doSerialize() can change current top(). 241 if (!doSerialize(top()->advance())) 244 m_writer.endComposite(top()->tag(), length); 437 StateBase* top() { return m_state; } function in class:WebCore::__anon8145::Serializer 443 StateBase* top = m_state; 444 m_state = top->nextState(); 445 delete top; 455 for (StateBase* state = top(); state; state = state->nextState()) [all...] |