/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/ |
AnimateableViewBounds.java | 59 outline.setRoundRect(mClipRect.left, mClipRect.top, 64 outline.setRect(mClipRect.left, mClipRect.top, 89 * Sets the top clip. 91 public void setClipTop(int top) { 92 mClipRect.top = top; 97 * @return the top clip. 100 return mClipRect.top; 126 mClipBounds.set(Math.max(0, mClipRect.left), Math.max(0, mClipRect.top),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
HardwareBgDrawable.java | 81 int top = bounds.top + mPoint; local 82 if (top > bounds.bottom) top = bounds.bottom; 84 mLayers[0].setBounds(bounds.left, bounds.top, bounds.right, top); 86 mLayers[1].setBounds(bounds.left, top, bounds.right, bounds.bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
ExpandableOutlineView.java | 92 int top = mClipTopAmount + mBackgroundTop; 94 int bottom = Math.max(getActualHeight() - mClipBottomAmount, top); 95 outline.setRect(left, top, right, bottom); 115 int top; local 124 top = mClipTopAmount + mBackgroundTop; 126 bottom = Math.max(getActualHeight(), top); 127 int intersectBottom = Math.max(getActualHeight() - mClipBottomAmount, top); 132 getRoundedRectPath(left, top, right, 140 top = mOutlineRect.top; 209 int top = (int) (mClipTopAmount - mDistanceToTopRoundness); local [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ThinPatchesActivity.java | 79 final int top = (getHeight() - height) / 2; local 84 mPatch3.setBounds(left, top, left + height, top + width); 89 mPatch1.setBounds(left, top, left + width, top + height); 95 mPatch2.setBounds(left, top, left + width, top + height);
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
StyledCornersBitmapDrawable.java | 245 // Draw scrim on top of parent. 250 float top = bounds.top + mBorderWidth / 2; local 258 flapCornerRectF.offsetTo(left, top); 263 flapCornerRectF.offsetTo(right - mCornerFlapSide, top); 305 float top = bounds.top; local 313 fakeCornerRectF.offsetTo(left, top); 315 mCompatibilityModePath.moveTo(left, top); 316 mCompatibilityModePath.lineTo(left + mCornerRoundRadius, top); 402 float top = bounds.top + mBorderWidth \/ 2; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.base/src/com/android/ide/eclipse/base/internal/preferences/ |
UsagePreferencePage.java | 52 Composite top = new Composite(parent, SWT.NONE); local 53 top.setLayout(new GridLayout(1, false)); 54 top.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); 56 Label l = new Label(top, SWT.WRAP); 62 Link privacyPolicyLink = new Link(top, SWT.WRAP); 76 SdkStatsPermissionDialog.CHECKBOX_TEXT, top); 81 return top;
|
/external/pdfium/core/fxge/ |
cfx_cliprgn.cpp | 59 for (int row = m_Box.top; row < m_Box.bottom; row++) { 61 m_Mask->GetBuffer() + m_Mask->GetPitch() * (row - m_Box.top); 63 pOldMask->GetBuffer() + pOldMask->GetPitch() * (row - mask_rect.top); 70 int top, 73 FX_RECT mask_box(left, top, left + pMask->GetWidth(), 74 top + pMask->GetHeight()); 90 for (int row = new_box.top; row < new_box.bottom; row++) { 92 m_Mask->GetBuffer() + (row - m_Box.top) * m_Mask->GetPitch(); 93 uint8_t* mask_scan = pMask->GetBuffer() + (row - top) * pMask->GetPitch(); 95 new_dib->GetBuffer() + (row - new_box.top) * new_dib->GetPitch() [all...] |
/external/python/cpython2/Lib/idlelib/ |
Percolator.py | 10 self.top = self.bottom = Delegator(text) 16 while self.top is not self.bottom: 17 self.removefilter(self.top) 18 self.top = None 25 self.top.insert(index, chars, tags) 29 self.top.delete(index1, index2) 35 filter.setdelegate(self.top) 36 self.top = filter 42 f = self.top 44 self.top = filter.delegat [all...] |
/external/python/cpython3/Lib/idlelib/ |
percolator.py | 11 self.top = self.bottom = Delegator(text) 17 while self.top is not self.bottom: 18 self.removefilter(self.top) 19 self.top = None 28 self.top.insert(index, chars, tags) 32 self.top.delete(index1, index2) 38 filter.setdelegate(self.top) 39 self.top = filter 45 f = self.top 47 self.top = filter.delegat [all...] |
statusbar.py | 24 top = Toplevel(parent) 26 top.geometry("+%d+%d" %(x, y + 175)) 27 top.title("Test multistatus bar") 28 frame = Frame(top) 40 button = Button(top, text="Update status", command=change)
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
SelectionArea.java | 24 * If the orientation is flipped one way, swap the bottom and top or 28 private int top; field in class:SelectionArea 41 top = left = bottom = right = 0; 73 setTop(top - 1); 80 setTop(top + 1); 92 private void setTop(int top) { 93 this.top = bottom = checkBounds(top, maxRows); 97 return Math.min(top, bottom); 105 return Math.max(top, bottom) [all...] |
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/ |
NavigationBarButton.java | 63 public void setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) { 65 if (top != null) top = TintedDrawable.wrap(top); 68 super.setCompoundDrawables(left, top, right, bottom); 73 public void setCompoundDrawablesRelative(Drawable start, Drawable top, Drawable end, 76 if (top != null) top = TintedDrawable.wrap(top); 79 super.setCompoundDrawablesRelative(start, top, end, bottom) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/ |
Percolator.py | 10 self.top = self.bottom = Delegator(text) 16 while self.top is not self.bottom: 17 self.removefilter(self.top) 18 self.top = None 25 self.top.insert(index, chars, tags) 29 self.top.delete(index1, index2) 35 filter.setdelegate(self.top) 36 self.top = filter 42 f = self.top 44 self.top = filter.delegat [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/idlelib/ |
Percolator.py | 10 self.top = self.bottom = Delegator(text) 16 while self.top is not self.bottom: 17 self.removefilter(self.top) 18 self.top = None 25 self.top.insert(index, chars, tags) 29 self.top.delete(index1, index2) 35 filter.setdelegate(self.top) 36 self.top = filter 42 f = self.top 44 self.top = filter.delegat [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
Percolator.py | 10 self.top = self.bottom = Delegator(text) 16 while self.top is not self.bottom: 17 self.removefilter(self.top) 18 self.top = None 25 self.top.insert(index, chars, tags) 29 self.top.delete(index1, index2) 35 filter.setdelegate(self.top) 36 self.top = filter 42 f = self.top 44 self.top = filter.delegat [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
Percolator.py | 10 self.top = self.bottom = Delegator(text) 16 while self.top is not self.bottom: 17 self.removefilter(self.top) 18 self.top = None 25 self.top.insert(index, chars, tags) 29 self.top.delete(index1, index2) 35 filter.setdelegate(self.top) 36 self.top = filter 42 f = self.top 44 self.top = filter.delegat [all...] |
/test/vti/dashboard/src/main/webapp/css/ |
show_performance_digest.css | 21 margin-top: 15px; 25 margin-top: 9px; 30 margin-top: 10px; 66 border-top: 1px solid lightgray; 72 border-top: 1px solid lightgray;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
lapi.c | 59 api_check(L, idx <= ci->top - (ci->func + 1), "unacceptable index"); 60 if (o >= L->top) return NONVALIDVALUE; 64 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index"); 65 return L->top + idx; 96 if (L->stack_last - L->top > size) /* stack large enough? */ 99 int inuse = cast_int(L->top - L->stack) + EXTRA_STACK; 105 if (res && ci->top < L->top + size) 106 ci->top = L->top + size; /* adjust frame top * [all...] |
/external/syslinux/com32/lua/src/ |
lapi.c | 59 api_check(L, idx <= ci->top - (ci->func + 1), "unacceptable index"); 60 if (o >= L->top) return NONVALIDVALUE; 64 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index"); 65 return L->top + idx; 96 if (L->stack_last - L->top > size) /* stack large enough? */ 99 int inuse = cast_int(L->top - L->stack) + EXTRA_STACK; 105 if (res && ci->top < L->top + size) 106 ci->top = L->top + size; /* adjust frame top * [all...] |
/external/curl/tests/python_dependencies/impacket/ |
uuid.py | 22 top = (1L<<31)-1 23 return pack("IIII", randrange(top), randrange(top), randrange(top), randrange(top))
|
/external/libmojo/ui/gfx/geometry/ |
insets_f.h | 25 constexpr InsetsF(float top, float left, float bottom, float right) 26 : top_(top), left_(left), bottom_(bottom), right_(right) {} 28 constexpr float top() const { return top_; } function in class:gfx::InsetsF 38 // top and bottom insets. 44 void Set(float top, float left, float bottom, float right) { 45 top_ = top;
|
/external/python/cpython2/Demo/tix/samples/ |
PopMenu.py | 20 # button over $w.top or $w.top.but, the PopupMenu will come up. 22 top = Tix.Frame(w, relief=Tix.RAISED, bd=1) 23 but = Tix.Button(top, text='Press the right mouse button over this button or its surrounding area') 26 p = Tix.PopupMenu(top, title='Popup Test') 27 p.bind_widget(top) 32 # $w.top.p itself is NOT a menu widget. 44 but.pack(side=Tix.TOP, padx=40, pady=50) 52 top.pack(side=Tix.TOP, fill=Tix.BOTH, expand=1 [all...] |
/external/skia/tests/ |
BlitMaskClip.cpp | 57 for (int top = b.fTop; top < b.fBottom; top++) { 58 for (int bottom = top + 1; bottom <= b.fBottom; bottom++) { 61 SkIRect clipRect = {left, top, right, bottom};
|
/external/skqp/tests/ |
BlitMaskClip.cpp | 57 for (int top = b.fTop; top < b.fBottom; top++) { 58 for (int bottom = top + 1; bottom <= b.fBottom; bottom++) { 61 SkIRect clipRect = {left, top, right, bottom};
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
ReplacementDrawableSpan.java | 36 fm.ascent = Math.min(fm.top, fm.top + (textHeight - bounds.bottom) / 2) - halfMargin; 39 fm.top = fm.ascent; 51 public void draw(Canvas canvas, CharSequence charSequence, int start, int end, float x, int top, 54 int transY = (bottom - mDrawable.getBounds().bottom + top) / 2;
|