| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -394,37 +394,22 @@ export class View extends ViewCommon { | |||
| 394 | 394 | } | |
| 395 | 395 | } | |
| 396 | 396 | ||
| 397 | - [rotateProperty.getDefault](): number { | ||
| 398 | - return org.nativescript.widgets.ViewHelper.getRotate(this.nativeView); | ||
| 399 | - } | ||
| 400 | 397 | [rotateProperty.setNative](value: number) { | |
| 401 | 398 | org.nativescript.widgets.ViewHelper.setRotate(this.nativeView, float(value)); | |
| 402 | 399 | } | |
| 403 | 400 | ||
| 404 | - [scaleXProperty.getDefault](): number { | ||
| 405 | - return org.nativescript.widgets.ViewHelper.getScaleX(this.nativeView); | ||
| 406 | - } | ||
| 407 | 401 | [scaleXProperty.setNative](value: number) { | |
| 408 | 402 | org.nativescript.widgets.ViewHelper.setScaleX(this.nativeView, float(value)); | |
| 409 | 403 | } | |
| 410 | 404 | ||
| 411 | - [scaleYProperty.getDefault](): number { | ||
| 412 | - return org.nativescript.widgets.ViewHelper.getScaleY(this.nativeView); | ||
| 413 | - } | ||
| 414 | 405 | [scaleYProperty.setNative](value: number) { | |
| 415 | 406 | org.nativescript.widgets.ViewHelper.setScaleY(this.nativeView, float(value)); | |
| 416 | 407 | } | |
| 417 | 408 | ||
| 418 | - [translateXProperty.getDefault](): dip { | ||
| 419 | - return layout.toDeviceIndependentPixels(org.nativescript.widgets.ViewHelper.getTranslateX(this.nativeView)); | ||
| 420 | - } | ||
| 421 | 409 | [translateXProperty.setNative](value: dip) { | |
| 422 | 410 | org.nativescript.widgets.ViewHelper.setTranslateX(this.nativeView, layout.toDevicePixels(value)); | |
| 423 | 411 | } | |
| 424 | 412 | ||
| 425 | - [translateYProperty.getDefault](): dip { | ||
| 426 | - return layout.toDeviceIndependentPixels(org.nativescript.widgets.ViewHelper.getTranslateY(this.nativeView)); | ||
| 427 | - } | ||
| 428 | 413 | [translateYProperty.setNative](value: dip) { | |
| 429 | 414 | org.nativescript.widgets.ViewHelper.setTranslateY(this.nativeView, layout.toDevicePixels(value)); | |
| 430 | 415 | } | |
@@ -434,10 +419,6 @@ export class View extends ViewCommon { | |||
| 434 | 419 | } | |
| 435 | 420 | [zIndexProperty.setNative](value: number) { | |
| 436 | 421 | org.nativescript.widgets.ViewHelper.setZIndex(this.nativeView, value); | |
| 437 | - // let nativeView = this.nativeView; | ||
| 438 | - // if (nativeView instanceof android.widget.Button) { | ||
| 439 | - // nativeView.setStateListAnimator(null); | ||
| 440 | - // } | ||
| 441 | 422 | } | |
| 442 | 423 | ||
| 443 | 424 | [backgroundInternalProperty.getDefault](): android.graphics.drawable.Drawable { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments