/packages/apps/Camera2/src/com/android/camera/crop/ |
GeometryMathUtils.java | 155 public static float scale(float oldWidth, float oldHeight, float newWidth, float newHeight) { 156 if (oldHeight == 0 || oldWidth == 0 || (oldWidth == newWidth && oldHeight == newHeight)) { 159 return Math.min(newWidth / oldWidth, newHeight / oldHeight);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
MessageListView.java | 75 void onSizeChanged(int width, int height, int oldWidth, int oldHeight);
|
ComposeMessageActivity.java | [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
LayoutTest.java | 106 int oldWidth = layout.getWidth(); 108 layout.increaseWidthTo(oldWidth); 109 assertEquals(oldWidth, layout.getWidth()); 112 layout.increaseWidthTo(oldWidth - 1); 117 layout.increaseWidthTo(oldWidth + 1); 118 assertEquals(oldWidth + 1, layout.getWidth());
|
/frameworks/base/libs/hwui/ |
Layer.cpp | 85 uint32_t oldWidth = getWidth(); 96 setSize(oldWidth, oldHeight); 106 setSize(oldWidth, oldHeight);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
BalloonHint.java | 243 int oldWidth = getWidth(); 264 mForceDismiss = oldWidth - newWidth > 1 || newWidth - oldWidth > 1;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
WrapInRefactoring.java | 289 String oldWidth = element.getAttributeNS(ANDROID_URI, ATTR_LAYOUT_WIDTH); 292 if (VALUE_MATCH_PARENT.equals(oldWidth) || VALUE_FILL_PARENT.equals(oldWidth)) { 293 width = oldWidth;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/presentation/ |
ButtonPropertyEditorPresentationImpl.java | 187 Integer oldWidthObject = (Integer) control.getData("oldWidth"); 189 control.setData("oldWidth", newWidth); 193 int oldWidth = oldWidthObject.intValue(); 195 if (oldWidth == newWidth && oldHeight == newHeight) {
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
WidthIterator.cpp | 263 float oldWidth = width; 292 glyphBuffer->add(glyph, fontData, (rtl ? oldWidth + lastRoundingWidth : width)); 294 lastRoundingWidth = width - oldWidth;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
GeometryMathUtils.java | 204 public static float scale(float oldWidth, float oldHeight, float newWidth, float newHeight) { 205 if (oldHeight == 0 || oldWidth == 0 || (oldWidth == newWidth && oldHeight == newHeight)) { 208 return Math.min(newWidth / oldWidth, newHeight / oldHeight);
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/media/ |
video_player.js | 271 var oldWidth = window.outerWidth; 274 if (!oldWidth && !oldHeight) { 281 appWindow.moveTo(oldLeft - (newWidth - oldWidth) / 2,
|
/frameworks/base/core/java/android/widget/ |
ImageView.java | 364 final int oldWidth = mDrawableWidth; 369 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) { 396 final int oldWidth = mDrawableWidth; 401 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) { 418 final int oldWidth = mDrawableWidth; 423 if (oldWidth != mDrawableWidth || oldHeight != mDrawableHeight) { [all...] |
LinearLayout.java | [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ScrollingTabContainerView.java | 112 final int oldWidth = getMeasuredWidth(); 116 if (lockedExpanded && oldWidth != newWidth) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
ScrollingTabContainerView.java | 121 final int oldWidth = getMeasuredWidth(); 125 if (lockedExpanded && oldWidth != newWidth) {
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderBox.h | 502 LayoutUnit oldWidth = width(); 505 if (oldWidth != width()) [all...] |
RenderBlock.cpp | [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
RenderPreview.java | 858 int oldWidth = gc.getLineWidth(); 862 gc.setLineWidth(oldWidth); [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
ViewPager.java | [all...] |
/hardware/ti/omap4xxx/camera/ |
CameraHal.cpp | 346 int oldWidth, oldHeight; 347 mParameters.getPreviewSize(&oldWidth, &oldHeight); 398 if ( ( oldWidth != w ) || ( oldHeight != h ) ) { [all...] |
/frameworks/base/core/java/android/view/ |
View.java | [all...] |
/packages/apps/Camera/src/com/android/camera/ |
VideoModule.java | [all...] |
/external/chromium_org/chrome/renderer/resources/extensions/ |
web_view.js | 139 fields: ['oldHeight', 'oldWidth', 'newHeight', 'newWidth']
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
StaggeredGridView.java | [all...] |
/development/samples/training/multiscreen/newsreader/libs/ |
android-support-v4.jar | |