Home
last modified time | relevance | path

Searched refs:h (Results 1 – 25 of 52) sorted by relevance

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DIncludeOverlay.java112 Rectangle h = hole.intersection(r); in subtractRectangles() local
117 if (h.y > r.y) { in subtractRectangles()
118 tempResult.add(new Rectangle(r.x, r.y, r.width, h.y - r.y)); in subtractRectangles()
122 if (h.x > r.x) { in subtractRectangles()
123 tempResult.add(new Rectangle(r.x, h.y, h.x - r.x, h.height)); in subtractRectangles()
126 int hx2 = h.x + h.width; in subtractRectangles()
127 int hy2 = h.y + h.height; in subtractRectangles()
138 tempResult.add(new Rectangle(hx2, h.y, rx2 - hx2, h.height)); in subtractRectangles()
DBinPacker.java80 if (rect.w >= mMinWidth && rect.h >= mMinHeight) { in addSpace()
112 if (rect.w >= width && rect.h >= height) { in findBest()
141 if (rect.w >= width && rect.h >= height) { in findBest()
146 (rect.h - height) < bestLongDistance) { in findBest()
148 bestLongDistance = rect.h - height; in findBest()
155 (rect.h - height) < bestLongDistance) { in findBest()
157 bestLongDistance = rect.h - height; in findBest()
197 assert rect.w >= width && rect.h >= height : rect; in split()
201 r.h = height; in split()
229 int remainingHeight = rect.h - height; in split()
[all …]
DResizeGesture.java150 int h = b.h; in getNewBounds() local
159 if (mResizePolicy.isAspectPreserving() && w != 0 && h != 0) { in getNewBounds()
160 double aspectRatio = w / (double) h; in getNewBounds()
162 int newH = Math.abs(b.h + (direction.isTop() ? -deltaY : deltaY)); in getNewBounds()
198 int y2 = b.y + b.h; in getNewBounds()
202 h = y2 - y; in getNewBounds()
204 h = 0; in getNewBounds()
210 int ny2 = b.y + b.h + deltaY; in getNewBounds()
212 h = ny2 - b.y; in getNewBounds()
214 h = 0; in getNewBounds()
[all …]
DGCWrapper.java271 int h = mVScale.scale(y2 - y1); in drawRect() local
272 getGc().drawRectangle(x, y, w, h); in drawRect()
287 int h = mVScale.scale(r.h); in drawRect() local
288 getGc().drawRectangle(x, y, w, h); in drawRect()
298 int h = mVScale.scale(y2 - y1); in fillRect() local
299 getGc().fillRectangle(x, y, w, h); in fillRect()
314 int h = mVScale.scale(r.h); in fillRect() local
315 getGc().fillRectangle(x, y, w, h); in fillRect()
326 int h = mVScale.scale(y2 - y1); in drawOval() local
327 getGc().drawOval(x, y, w, h); in drawOval()
[all …]
DMarqueeGesture.java75 int h = Math.abs(pos.y - mStart.y); in update() local
77 mOverlay.updateSize(x, y, w, h); in update()
81 LayoutPoint bottomRight = ControlPoint.create(mCanvas, x + w, y + h).toLayout(); in update()
124 public void updateSize(int x, int y, int w, int h) { in updateSize() argument
128 mRectangle.height = h; in updateSize()
DHoverOverlay.java132 public void setHover(int x, int y, int w, int h) { in setHover() argument
133 mHoverRect = new Rectangle(x, y, w, h); in setHover()
151 int h = mVScale.scale(mHoverRect.height); in paint() local
173 gc.drawRectangle(x, y, w, h); in paint()
182 gc.fillRectangle(x, y, w, h); in paint()
DImageOverlay.java397 private static SwtReadyBufferedImage createImage(int w, int h, Device device) { in createImage() argument
405 ImageData imageData = new ImageData(w, h, 32, in createImage()
408 SwtReadyBufferedImage swtReadyImage = new SwtReadyBufferedImage(w, h, in createImage()
419 public BufferedImage getImage(int w, int h) { in getImage() argument
423 awtImage.getHeight() != h) { in getImage()
425 awtImage = SwtReadyBufferedImage.createImage(w, h, getDevice()); in getImage()
DSelectionHandles.java91 int h = r.h; in createHandles() local
93 int y2 = y1 + h; in createHandles()
DLintOverlay.java93 int h = mVScale.scale(bounds.height); in paint() local
94 if (w < iconWidth || h < iconHeight) { in paint()
101 y += h - iconHeight; in paint()
DEmptyViewsOverlay.java88 int h = mVScale.scale(r.height); in paint() local
91 gc.drawRectangle(x, y, w + 1, h + 1); in paint()
DOutlineOverlay.java93 int h = mVScale.scale(r.height); in drawOutline() local
100 gc.drawRectangle(x, y, w + 1, h + 1); in drawOutline()
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
DMultiTouchActivity.java172 MultiTouchChannel h = mHandler; in onTouch() local
177 if (h != null) { in onTouch()
180 bb.order(h.getEndian()); in onTouch()
188 if (h != null) { in onTouch()
190 bb.order(h.getEndian()); in onTouch()
196 if (h != null) { in onTouch()
198 bb.order(h.getEndian()); in onTouch()
204 if (h != null) { in onTouch()
206 bb.order(h.getEndian()); in onTouch()
212 if (h != null) { in onTouch()
[all …]
/sdk/templates/docs/
Djquery-1.8.0.min.js2h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d<e;d++)p.event.add(… argument
Dprettify.js2 …arCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.subst… function in anonymousFunctione1c09e510100.L
5 …gnoreCase&&s)for(c=0;c<b;++c)j=f[c],a=j.charAt(0),j.length>=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j…
6 …"===g)h[s]="\n",t[s<<1]=y++,t[s++<<1|1]=a;break;case 3:case 4:g=a.nodeValue,g.length&&(g=p?g.repla…
7h=[],y=0,t=[],s=0,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=documen… argument
8h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0];…
9 l=[],p={},d=0,g=e.length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=…
10h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q…
11 …/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""…
/sdk/find_java2/WinLauncher2/
DWinLauncher2.rc3 #include "resource.h"
11 #include "targetver.h"
13 #include "afxres.h"
14 #include "verrsrc.h"
33 "resource.h\0"
39 "#include ""targetver.h""\r\n"
41 "#include ""afxres.h""\r\n"
42 "#include ""verrsrc.h""\r\n"
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/
DMultiTouchView.java93 protected void onSizeChanged(int w, int h, int oldw, int oldh) { in onSizeChanged() argument
94 super.onSizeChanged(w, h, oldw, oldh); in onSizeChanged()
96 mBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); in onSizeChanged()
154 public void drawBitmap(int x, int y, int w, int h, int[] colors) { in drawBitmap() argument
156 final Bitmap bmp = Bitmap.createBitmap(colors, 0, w, w, h, Bitmap.Config.ARGB_8888); in drawBitmap()
175 public void drawJpeg(int x, int y, int w, int h, InputStream jpeg) { in drawJpeg() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DLinearLayoutRule.java321 int v = isVertical ? bc.y + (bc.h / 2) : bc.x + (bc.w / 2); in onDropEnter()
337 last = isVertical ? (bc.y + bc.h) : (bc.x + bc.w); in onDropEnter()
395 gc.drawLine(i, b.y, i, b.y + b.h);
438 offsetY = currY - be.y - (isLast ? 0 : (be.h / 2));
448 if (bounds.isValid() && (bounds.w > b.w || bounds.h > b.h) &&
462 if (bounds.h > b.h) {
464 ph = b.h;
467 ph = bounds.h;
520 data.setCurrY(b.y + b.h / 2);
522 data.setHeight(b.h);
[all …]
DBaseLayoutRule.java316 gc.drawRect(b.x + offsetX, b.y + offsetY, b.x + offsetX + b.w, b.y + offsetY + b.h); in drawElement()
681 int wrapHeight = resizeState.wrapBounds.h;
691 y = b.y + b.h - wrapHeight;
726 gc.drawLine(x, b.y + b.h - wrapHeight, x, b.y + b.h);
734 gc.drawLine(x, b.y, x, b.y + b.h);
764 if (Math.abs(newBounds.h - b.h) < maxMatchDistance) {
767 newBounds.y += newBounds.h - b.h;
769 newBounds.h = b.h;
793 newBounds.h = parentBounds.y2() - newBounds.y;
817 if (oldBounds.w != newBounds.w || oldBounds.h != newBounds.h) {
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dcompletionvalues1-expected-applyCompletion37.diff1 Code completion in completionvalues1.xml for <item name="android:orientation">h^</item> selecting h…
3 - <item name="android:orientation">h^</item>
Dcompletionvalues1-expected-completion37.txt1 Code completion in completionvalues1.xml for <item name="android:orientation">h^</item>:
/sdk/find_java2/FindJava2/
DFindJava2.rc3 #include "resource.h"
10 #include "afxres.h"
29 "resource.h\0"
34 "#include ""afxres.h""\r\n"
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridLayoutPainter.java173 offsetY -= dragBounds.h; in paintFreeFormDropFeedback()
199 y1 = bounds.h + offsetY + y - 1; in paintFreeFormDropFeedback()
215 int centerY = bounds.h / 2 + offsetY + y; in paintFreeFormDropFeedback()
255 b.x + offsetX + b.w, b.y + offsetY + b.h); in paintFreeFormDropFeedback()
303 2 * radius + 1, cellBounds.h - (createRow ? 0 : 2 * radius))); in paintGridModeDropFeedback()
309 offsetY -= radius + dragBounds.h / 2; in paintGridModeDropFeedback()
313 cellBounds.w - 2 * radius, cellBounds.h - 2 * radius)); in paintGridModeDropFeedback()
327 y += cellBounds.h - bounds.h; in paintGridModeDropFeedback()
329 y += cellBounds.h / 2 - bounds.h / 2; in paintGridModeDropFeedback()
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/
DShareMockupAction.java47 int h = v.getMeasuredHeight(); in launch() local
48 Bitmap mockup = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); in launch()
50 v.layout(0, 0, w, h); in launch()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/api/
DRectTest.java33 assertEquals(0, r.h); in testRect()
41 assertEquals(4, r.h); in testRectIntIntIntInt()
60 assertEquals(30, r2.h); in testSetIntIntIntInt()
73 assertEquals(30, r.h); in testSetRect()
192 assertEquals(30, r.h); in testMoveTo()
203 assertEquals(30, r.h); in testOffsetBy()
/sdk/docs/
Dhowto_SDK_git_cygwin.txt118 libc/kernel/common/linux/netfilter/xt_CONNMARK.h \
119 libc/kernel/common/linux/netfilter/xt_MARK.h \
120 libc/kernel/common/linux/netfilter_ipv6/ip6t_HL.h
167 libc/kernel/common/linux/netfilter/xt_CONNMARK.h \
168 libc/kernel/common/linux/netfilter/xt_MARK.h \
169 libc/kernel/common/linux/netfilter_ipv6/ip6t_HL.h

123