/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageResizer.java | 242 final int halfWidth = width / 2; 247 && (halfWidth / inSampleSize) > reqWidth) {
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageResizer.java | 242 final int halfWidth = width / 2; 247 && (halfWidth / inSampleSize) > reqWidth) {
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
ImageResizer.java | 242 final int halfWidth = width / 2; 247 && (halfWidth / inSampleSize) > reqWidth) {
|
/external/chromium_org/third_party/skia/src/effects/ |
SkDashPathEffect.cpp | 278 SkScalar halfWidth, halfHeight; 280 halfWidth = SkScalarHalf(clampedInitialDashLength); 283 halfWidth = SkScalarHalf(rec.getWidth()); 288 results->fFirst.addRect(x - halfWidth, y - halfHeight, 289 x + halfWidth, y + halfHeight); 329 SkScalar halfWidth, halfHeight; 331 halfWidth = SkScalarHalf(temp); 334 halfWidth = SkScalarHalf(rec.getWidth()); 337 results->fLast.addRect(x - halfWidth, y - halfHeight, 338 x + halfWidth, y + halfHeight) [all...] |
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
CustomArrayAdapter.java | 127 int halfWidth = bitmap.getWidth() / 2; 130 canvas.drawCircle(halfWidth, halfHeight, Math.max(halfWidth, halfHeight), paint);
|
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/ |
CustomArrayAdapter.java | 120 int halfWidth = bitmap.getWidth()/2; 123 canvas.drawCircle(halfWidth, halfHeight, Math.max(halfWidth, halfHeight), paint);
|
/external/chromium_org/content/shell/renderer/test_runner/ |
mock_web_theme_engine.cc | 327 int halfWidth = irect.width() / 2; 341 left + halfWidth, bottom - quarterHeight, 368 left + halfWidth, top + quarterHeight, 380 int longOffset = halfWidth - gripLongIndent; 405 left + halfWidth, top + gripLongIndent, 406 left + halfWidth, bottom - gripLongIndent, 445 int longOffset = halfWidth - notchLongOffset; 542 halfWidth = irect.width() / 2; 551 irect.fLeft + halfWidth, irect.fBottom, 563 lirect.inset(halfWidth - sliderIndent, noOffset) [all...] |
/external/chromium_org/third_party/skia/tests/ |
RoundRectTest.cpp | 603 SkScalar halfWidth = SkScalarHalf(dst.width()); 608 SkScalarNearlyEqual(dst.radii((SkRRect::Corner)i).fX, halfWidth));
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSGradientValue.cpp | 641 float halfWidth = size.width() / 2; 644 endCorner.set(halfWidth, halfHeight); 646 endCorner.set(halfWidth, -halfHeight); 648 endCorner.set(-halfWidth, -halfHeight); 650 endCorner.set(-halfWidth, halfHeight); 659 secondPoint.set(halfWidth + endX, halfHeight - endY); 661 firstPoint.set(halfWidth - endX, halfHeight + endY); [all...] |
/external/chromium_org/third_party/freetype/src/cff/ |
cf2hints.c | 633 CF2_Fixed halfWidth = FT_MulFix( 639 firstHintEdge->dsCoord = midpoint - halfWidth; 640 secondHintEdge->dsCoord = midpoint + halfWidth; [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_aaline.c | 48 GLfloat halfWidth; /* half of line width */ 373 xLeft = x0 - line->halfWidth; 374 xRight = x1 + line->halfWidth; 376 yBot = y0 - 3.0F * line->halfWidth; 377 yTop = y0 + line->halfWidth; 380 yBot = y0 - line->halfWidth; 381 yTop = y0 + 3.0F * line->halfWidth; 385 xLeft = x1 - line->halfWidth; 386 xRight = x0 + line->halfWidth; 388 yBot = y1 - 3.0F * line->halfWidth; [all...] |
/external/freetype/src/cff/ |
cf2hints.c | 643 CF2_Fixed halfWidth = FT_MulFix( 649 firstHintEdge->dsCoord = midpoint - halfWidth; 650 secondHintEdge->dsCoord = midpoint + halfWidth; [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_aaline.c | 48 GLfloat halfWidth; /* half of line width */ 373 xLeft = x0 - line->halfWidth; 374 xRight = x1 + line->halfWidth; 376 yBot = y0 - 3.0F * line->halfWidth; 377 yTop = y0 + line->halfWidth; 380 yBot = y0 - line->halfWidth; 381 yTop = y0 + 3.0F * line->halfWidth; 385 xLeft = x1 - line->halfWidth; 386 xRight = x0 + line->halfWidth; 388 yBot = y1 - 3.0F * line->halfWidth; [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrOvalRenderer.cpp | 561 SkScalar halfWidth = 0; 564 halfWidth = SK_ScalarHalf; 566 halfWidth = SkScalarHalf(strokeWidth); 569 outerRadius += halfWidth; 571 innerRadius = radius - halfWidth; [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
EncodeDecodeTest.java | [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ViewTest.java | 580 int halfWidth = display.getWidth() / 2; 584 new LinearLayout.LayoutParams(halfWidth, halfHeight); 594 assertEquals(rect.left + halfWidth, rect.right); 634 int halfWidth = display.getWidth() / 2; 638 new LinearLayout.LayoutParams(halfWidth, halfHeight); 648 assertEquals(rect.left + halfWidth, rect.right); [all...] |
/development/samples/training/basic/ActivityLifecycle/libs/ |
android-support-v13.jar | |
/development/samples/training/NavigationDrawer/libs/ |
android-support-v4.jar | |
/development/samples/training/AnimationsDemo/libs/ |
android-support-v13.jar | |
/development/samples/training/basic/FragmentBasics/libs/ |
android-support-v4.jar | |
/development/samples/training/location-aware/libs/ |
android-support-v4.jar | |
/developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/libs/ |
android-support-v4.jar | |
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/Application/libs/ |
android-support-v4.jar | |
/development/samples/ControllerSample/libs/ |
android-support-v4.jar | |
/development/samples/training/ContactsList/libs/ |
android-support-v4.jar | |