HomeSort by relevance Sort by last modified time
    Searched refs:newBounds (Results 1 - 25 of 71) sorted by null

1 2 3

  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
ResizeHandler.java 107 protected void snapVertical(Segment vEdge, int x, Rect newBounds) {
110 int margin = mSnap ? 0 : abs(newBounds.x - x);
114 newBounds.w += newBounds.x - x;
115 newBounds.x = x;
118 int margin = mSnap ? 0 : abs(newBounds.x - (x - newBounds.w));
122 newBounds.w = x - newBounds.x;
130 protected void snapHorizontal(Segment hEdge, int y, Rect newBounds) {
    [all...]
MoveHandler.java 114 protected void snapVertical(Segment vEdge, int x, Rect newBounds) {
117 int margin = !mSnap ? 0 : abs(newBounds.x - x);
121 newBounds.x = x;
124 int margin = !mSnap ? 0 : abs(newBounds.x - (x - newBounds.w));
128 newBounds.x = x - newBounds.w;
131 newBounds.x = x - newBounds.w / 2;
139 protected void snapHorizontal(Segment hEdge, int y, Rect newBounds) {
    [all...]
GuidelineHandler.java 387 protected void snapVertical(Segment vEdge, int x, Rect newBounds) {
388 newBounds.x = x;
391 protected void snapHorizontal(Segment hEdge, int y, Rect newBounds) {
392 newBounds.y = y;
    [all...]
  /frameworks/base/core/java/android/view/
WindowCallbacks.java 42 * @param newBounds The new window frame bounds.
47 void onWindowSizeIsChanging(Rect newBounds, boolean fullscreen, Rect systemInsets,
  /cts/hostsidetests/services/activitymanager/src/android/server/cts/
ActivityManagerDockedStackTests.java 314 Rectangle newBounds = computeNewDockBounds(fullScreenBounds, initialDockBounds, true);
315 resizeDockedStack(newBounds.width, newBounds.height, newBounds.width, newBounds.height);
319 newBounds = computeNewDockBounds(fullScreenBounds, initialDockBounds, false);
320 resizeDockedStack(newBounds.width, newBounds.height, newBounds.width, newBounds.height)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
AbsoluteLayoutRule.java 225 Rect previousBounds, Rect newBounds, SegmentType horizontalEdge,
227 super.setNewSizeBounds(resizeState, node, layout, previousBounds, newBounds,
229 if (verticalEdge != null && newBounds.x != previousBounds.x) {
232 mRulesEngine.pxToDp(newBounds.x - node.getParent().getBounds().x)));
234 if (horizontalEdge != null && newBounds.y != previousBounds.y) {
237 mRulesEngine.pxToDp(newBounds.y - node.getParent().getBounds().y)));
243 Rect newBounds, SegmentType horizontalEdge, SegmentType verticalEdge) {
246 return super.getResizeUpdateMessage(resizeState, child, parent, newBounds,
250 mRulesEngine.pxToDp(newBounds.x - parentBounds.x),
251 mRulesEngine.pxToDp(newBounds.y - parentBounds.y)
    [all...]
BaseLayoutRule.java 753 @NonNull INode parent, @NonNull Rect newBounds, int modifierMask) {
755 state.bounds = newBounds;
764 if (Math.abs(newBounds.h - b.h) < maxMatchDistance) {
767 newBounds.y += newBounds.h - b.h;
769 newBounds.h = b.h;
773 if (Math.abs(newBounds.w - b.w) < maxMatchDistance) {
776 newBounds.x += newBounds.w - b.w;
778 newBounds.w = b.w
    [all...]
LinearLayoutRule.java     [all...]
RelativeLayoutRule.java 277 @NonNull INode parent, @NonNull Rect newBounds,
284 state.updateResize(feedback, child, newBounds, modifierMask);
289 @NonNull INode parent, final @NonNull Rect newBounds) {
GridLayoutRule.java 462 Rect oldBounds, Rect newBounds, SegmentType horizontalEdge, SegmentType verticalEdge) {
494 super.setNewSizeBounds(state, node, layout, oldBounds, newBounds, horizontalEdge,
524 Rect newBounds, SegmentType horizontalEdge, SegmentType verticalEdge) {
  /external/skia/src/gpu/batches/
GrBatch.h 123 void setBounds(const SkRect& newBounds) { fBounds = newBounds; }
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
MultiProducerActivity.java 160 Rect newBounds = new Rect();
199 newBounds.set(surfaceOrigin[0], surfaceOrigin[1],
202 if (!currentFrameBounds.equals(newBounds)) {
203 currentFrameBounds.set(newBounds);
221 newBounds.set(surfaceOrigin[0], surfaceOrigin[1],
224 if (!currentBackBounds.equals(newBounds)) {
225 currentBackBounds.set(newBounds);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ResizeGesture.java 80 Rect newBounds = getNewBounds(pos);
86 mFeedback = rulesEngine.callOnResizeBegin(mChildNode, mParentNode, newBounds,
110 Rect newBounds = getNewBounds(pos);
112 rulesEngine.callOnResizeUpdate(mFeedback, mChildNode, mParentNode, newBounds,
123 Rect newBounds = getNewBounds(pos);
124 rulesEngine.callOnResizeEnd(mFeedback, mChildNode, mParentNode, newBounds);
  /frameworks/base/core/java/com/android/internal/policy/
BackdropFrameRenderer.java 301 * @param newBounds The window bounds which needs to be drawn.
306 private void redrawLocked(Rect newBounds, boolean fullscreen, Rect systemInsets,
330 final int left = mLastXOffset + newBounds.left;
331 final int top = mLastYOffset + newBounds.top;
332 final int width = newBounds.width();
333 final int height = newBounds.height();
  /external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/bench/
markermanager.js 721 var newBounds = this.getMapGridBounds_();
725 if (newBounds.equals(this.shownBounds_) && newBounds.z === this.shownBounds_.z) {
729 if (newBounds.z !== this.shownBounds_.z) {
732 this.processAll_(newBounds, this.addOverlay_);
736 this.rectangleDiff_(this.shownBounds_, newBounds, this.removeCellMarkers_);
740 this.rectangleDiff_(newBounds, this.shownBounds_, this.addCellMarkers_);
743 this.shownBounds_ = newBounds;
  /frameworks/base/tools/layoutlib/bridge/src/android/view/
ViewGroup_Delegate.java 81 Rect newBounds = new Rect(clipBounds);
82 newBounds.inset((int)-elevation, (int)-elevation);
83 canvas.clipRect(newBounds, Op.REPLACE);
  /external/skia/src/fonts/
SkRandomScalerContext.cpp 91 const SkRect& newBounds = paint.doComputeFastBounds(path.getBounds(),
95 newBounds.roundOut(&ibounds);
SkGScalerContext.cpp 101 const SkRect& newBounds = paint.doComputeFastBounds(path.getBounds(),
105 newBounds.roundOut(&ibounds);
SkTestScalerContext.cpp 229 const SkRect& newBounds = paint.doComputeFastBounds(path.getBounds(),
233 newBounds.roundOut(&ibounds);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
RulesEngine.java 443 public DropFeedback callOnResizeBegin(NodeProxy child, NodeProxy parent, Rect newBounds,
462 Rect newBounds, int modifierMask) {
467 rule.onResizeUpdate(feedback, child, parent, newBounds, modifierMask);
476 Rect newBounds) {
481 rule.onResizeEnd(feedback, child, parent, newBounds);
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/allapps/
AllAppsSearchBarController.java 178 void onBoundsChanged(Rect newBounds);
AllAppsContainerView.java 318 public void onBoundsChanged(Rect newBounds) {
319 mLauncher.updateOverlayBounds(newBounds);
  /prebuilts/devtools/tools/lib/
rule-api.jar 
  /prebuilts/gradle-plugin/com/android/tools/rule-api/24.4.0-beta3/
rule-api-24.4.0-beta3.jar 
  /prebuilts/gradle-plugin/com/android/tools/rule-api/24.4.0-beta6/
rule-api-24.4.0-beta6.jar 

Completed in 569 milliseconds

1 2 3