/frameworks/base/core/java/com/android/internal/policy/ |
PipSnapAlgorithm.java | 104 * @return the closest absolute snap stack bounds for the given {@param stackBounds} moving at 106 * those for the given {@param stackBounds}. 108 public Rect findClosestSnapBounds(Rect movementBounds, Rect stackBounds, float velocityX, 110 final Rect intersectStackBounds = new Rect(stackBounds); 111 final Point intersect = getEdgeIntersect(stackBounds, movementBounds, velocityX, velocityY, 122 public Point getEdgeIntersect(Rect stackBounds, Rect movementBounds, float velX, float velY, 125 final int x = stackBounds.left; 126 final int y = stackBounds.top; 152 ? movementBounds.right - stackBounds.left 153 : stackBounds.left - movementBounds.left [all...] |
/external/skia/src/gpu/ |
GrReducedClip.cpp | 54 SkRect stackBounds; 56 stack.getBounds(&stackBounds, &stackBoundsType, &iior); 58 if (GrClip::IsOutsideClip(stackBounds, queryBounds)) { 69 if (!iter.prev()->isAA() || GrClip::IsPixelAligned(stackBounds)) { 71 stackBounds.round(&fScissor); 76 if (GrClip::IsInsideClip(stackBounds, queryBounds)) { 82 SkAssertResult(tightBounds.intersect(stackBounds, queryBounds)); 90 fAAClipRect = stackBounds; 100 SkAssertResult(tighterQuery.intersect(GrClip::GetPixelBounds(stackBounds))); [all...] |
/external/skqp/src/gpu/ |
GrReducedClip.cpp | 54 SkRect stackBounds; 56 stack.getBounds(&stackBounds, &stackBoundsType, &iior); 58 if (GrClip::IsOutsideClip(stackBounds, queryBounds)) { 69 if (!iter.prev()->isAA() || GrClip::IsPixelAligned(stackBounds)) { 71 stackBounds.round(&fScissor); 76 if (GrClip::IsInsideClip(stackBounds, queryBounds)) { 82 SkAssertResult(tightBounds.intersect(stackBounds, queryBounds)); 90 fAAClipRect = stackBounds; 100 SkAssertResult(tighterQuery.intersect(GrClip::GetPixelBounds(stackBounds))); [all...] |
/external/skia/src/core/ |
SkBitmapDevice.cpp | 605 const SkIRect& stackBounds = fRCStack.rc().getBounds(); 606 SkASSERT(drawClipBounds == stackBounds);
|
/external/skqp/src/core/ |
SkBitmapDevice.cpp | 594 const SkIRect& stackBounds = fRCStack.rc().getBounds(); 595 SkASSERT(drawClipBounds == stackBounds);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
PipMenuActivityController.java | 276 startMenuActivity(MENU_STATE_NONE, null /* stackBounds */, 285 public void showMenu(int menuState, Rect stackBounds, Rect movementBounds, 296 data.putParcelable(EXTRA_STACK_BOUNDS, stackBounds); 311 startMenuActivity(menuState, stackBounds, movementBounds, allowMenuTimeout, 384 private void startMenuActivity(int menuState, Rect stackBounds, Rect movementBounds, 394 if (stackBounds != null) { 395 intent.putExtra(EXTRA_STACK_BOUNDS, stackBounds); 424 Rect stackBounds = null; 429 stackBounds = pinnedStackInfo.bounds; 436 data.putParcelable(EXTRA_STACK_BOUNDS, stackBounds); [all...] |
PipMenuActivity.java | 349 private void showMenu(int menuState, Rect stackBounds, Rect movementBounds, 359 updateActionViews(stackBounds); 462 Rect stackBounds = intent.getParcelableExtra(EXTRA_STACK_BOUNDS); 466 showMenu(menuState, stackBounds, movementBounds, allowMenuTimeout, willResizeMenu); 470 private void setActions(Rect stackBounds, List<RemoteAction> actions) { 473 updateActionViews(stackBounds); 476 private void updateActionViews(Rect stackBounds) { 505 final boolean isLandscapePip = stackBounds != null && 506 (stackBounds.width() > stackBounds.height()) [all...] |
/external/skia/tests/ |
ClipStackTest.cpp | 841 SkRect stackBounds; 843 stack.getBounds(&stackBounds, &stackBoundsType); 845 REPORTER_ASSERT(reporter, stackBounds.isEmpty()); [all...] |
/external/skqp/tests/ |
ClipStackTest.cpp | 841 SkRect stackBounds; 843 stack.getBounds(&stackBounds, &stackBoundsType); 845 REPORTER_ASSERT(reporter, stackBounds.isEmpty()); [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
PinnedStackController.java | 242 Rect transformBoundsToAspectRatio(Rect stackBounds, float aspectRatio, 245 final float snapFraction = mSnapAlgorithm.getSnapFraction(stackBounds, 246 getMovementBounds(stackBounds)); 251 final int left = (int) (stackBounds.centerX() - size.getWidth() / 2f); 252 final int top = (int) (stackBounds.centerY() - size.getHeight() / 2f); 253 stackBounds.set(left, top, left + size.getWidth(), top + size.getHeight()); 254 mSnapAlgorithm.applySnapFraction(stackBounds, getMovementBounds(stackBounds), snapFraction); 256 applyMinimizedOffset(stackBounds, getMovementBounds(stackBounds)); [all...] |
TaskStack.java | 182 * @param stackBounds New stack bounds. Passing in null sets the bounds to fullscreen. 188 Rect stackBounds, SparseArray<Rect> taskBounds, SparseArray<Rect> taskTempInsetBounds) { 189 setBounds(stackBounds); 256 final Rect stackBounds = getBounds(); 259 .setPosition(mAnimationBackgroundSurface, mTmpRect.left - stackBounds.left, 260 mTmpRect.top - stackBounds.top); 771 final Rect stackBounds = getBounds(); 772 int width = stackBounds.width(); 773 int height = stackBounds.height(); [all...] |
AppWindowToken.java | [all...] |
/prebuilts/misc/common/robolectric/android-all/ |
android-all-8.0.0_r4-robolectric-0.jar | |
android-all-o-preview-4-robolectric-0.jar | |
/prebuilts/tools/common/eclipse/ |
org.eclipse.ui.workbench_3.6.2.M20110210-1200.jar | |