Home
last modified time | relevance | path

Searched refs:setLayerType (Results 1 – 25 of 87) sorted by relevance

1234

/aosp12/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTransformsAndAnimationsActivity.java150 private void setLayerType(int layerType) { in setLayerType() method in TransformsAndAnimationsActivity
151 button1.setLayerType(layerType, null); in setLayerType()
152 button2.setLayerType(layerType, null); in setLayerType()
153 button3.setLayerType(layerType, null); in setLayerType()
154 button1a.setLayerType(layerType, null); in setLayerType()
155 button2a.setLayerType(layerType, null); in setLayerType()
160 button4.setLayerType(layerType, null); in setLayerType()
161 button5.setLayerType(layerType, null); in setLayerType()
162 button6.setLayerType(layerType, null); in setLayerType()
163 button7.setLayerType(layerType, null); in setLayerType()
[all …]
H A DViewLayerInvalidationActivity.java70 tva.setLayerType(View.LAYER_TYPE_HARDWARE, null); in onCreate()
71 container1.setLayerType(View.LAYER_TYPE_HARDWARE, null); in onCreate()
72 container2.setLayerType(View.LAYER_TYPE_HARDWARE, null); in onCreate()
73 container3.setLayerType(View.LAYER_TYPE_HARDWARE, null); in onCreate()
109 layout.setLayerType(nestedLayersOn ?
114 layout.setLayerType(View.LAYER_TYPE_HARDWARE, null);
H A DColoredRectsActivity.java42 swView.setLayerType(View.LAYER_TYPE_SOFTWARE, null); in onCreate()
47 hwBothView.setLayerType(View.LAYER_TYPE_HARDWARE, null); in onCreate()
50 swBothView.setLayerType(View.LAYER_TYPE_SOFTWARE, null); in onCreate()
H A DViewLayersActivity.java80 leftList.setLayerType(View.LAYER_TYPE_SOFTWARE, p); in onCreate()
82 middleList.setLayerType(View.LAYER_TYPE_HARDWARE, p3); in onCreate()
85 rightList.setLayerType(View.LAYER_TYPE_SOFTWARE, p2); in onCreate()
H A DViewLayersActivity3.java44 list.setLayerType(View.LAYER_TYPE_HARDWARE, null); in setupList()
45 ((View) list.getParent()).setLayerType(View.LAYER_TYPE_HARDWARE, null); in setupList()
H A DViewLayersActivity5.java98 findViewById(R.id.container).setLayerType(View.LAYER_TYPE_HARDWARE, mPaint); in enableLayer()
102 findViewById(R.id.container).setLayerType(View.LAYER_TYPE_NONE, null); in disableLayer()
H A DLines2Activity.java42 swView.setLayerType(View.LAYER_TYPE_SOFTWARE, null); in onCreate()
47 hwBothView.setLayerType(View.LAYER_TYPE_HARDWARE, null); in onCreate()
50 swBothView.setLayerType(View.LAYER_TYPE_SOFTWARE, null); in onCreate()
H A DMaxBitmapSizeActivity.java39 view.setLayerType(View.LAYER_TYPE_SOFTWARE, null); in onCreate()
H A DTJunctionActivity.java40 setLayerType(LAYER_TYPE_HARDWARE, null); in TJunctionView()
H A DRotate3dTextActivity.java44 container.setLayerType(View.LAYER_TYPE_HARDWARE, null); in onCreate()
H A DSmallCircleActivity.java40 view.setLayerType(View.LAYER_TYPE_SOFTWARE, null); in onCreate()
H A DBitmapMeshLayerActivity.java34 view.setLayerType(View.LAYER_TYPE_HARDWARE, null); in onCreate()
/aosp12/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintContentView.java319 mSummaryContent.setLayerType(View.LAYER_TYPE_HARDWARE, null); in onDragProgress()
320 mDraggableContent.setLayerType(View.LAYER_TYPE_HARDWARE, null); in onDragProgress()
321 mMoreOptionsButton.setLayerType(View.LAYER_TYPE_HARDWARE, null); in onDragProgress()
326 mSummaryContent.setLayerType(View.LAYER_TYPE_NONE, null); in onDragProgress()
327 mDraggableContent.setLayerType(View.LAYER_TYPE_NONE, null); in onDragProgress()
328 mMoreOptionsButton.setLayerType(View.LAYER_TYPE_NONE, null); in onDragProgress()
329 mMoreOptionsButton.setLayerType(View.LAYER_TYPE_NONE, null); in onDragProgress()
/aosp12/packages/apps/TV/src/com/android/tv/ui/
H A DHardwareLayerAnimatorListenerAdapter.java39 mView.setLayerType(View.LAYER_TYPE_HARDWARE, null); in onAnimationStart()
47 mView.setLayerType(View.LAYER_TYPE_NONE, null); in onAnimationEnd()
/aosp12/packages/apps/Browser2/src/org/chromium/webview_shell/
H A DWebViewAnimationTestActivity.java150 mWebView.setLayerType(mIsWindowHardwareAccelerated ? View.LAYER_TYPE_HARDWARE in setWebViewLayer()
154 mWebView.setLayerType(View.LAYER_TYPE_NONE, null); in setWebViewLayer()
/aosp12/frameworks/base/core/java/android/transition/
H A DFade.java186 mView.setLayerType(View.LAYER_TYPE_HARDWARE, null); in onAnimationStart()
194 mView.setLayerType(View.LAYER_TYPE_NONE, null); in onAnimationEnd()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DCrossFadeHelper.java103 view.setLayerType(View.LAYER_TYPE_HARDWARE, null); in updateLayerType()
108 view.setLayerType(View.LAYER_TYPE_NONE, null); in updateLayerType()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DViewGroupFadeHelper.kt54 viewToFade.setLayerType(View.LAYER_TYPE_HARDWARE, null)
137 viewToFade.setLayerType(View.LAYER_TYPE_NONE, null)
H A DNotificationFadeAware.java36 view.setLayerType(newLayerType, null); in setLayerTypeForFaded()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DBaseDialogFragment.java208 v.setLayerType(View.LAYER_TYPE_HARDWARE, null); in prepareAndAnimateView()
219 v.setLayerType(View.LAYER_TYPE_NONE, null); in prepareAndAnimateView()
/aosp12/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
H A DAlphaDisableableButton.java38 setLayerType(LAYER_TYPE_HARDWARE, null); in AlphaDisableableButton()
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/
H A DModeListView.java707 mSettingsButton.setLayerType(View.LAYER_TYPE_NONE, null); in onAnimationEnd()
1707 mSettingsButton.setLayerType(View.LAYER_TYPE_NONE, null);
1712 mSettingsButton.setLayerType(View.LAYER_TYPE_HARDWARE, null);
1983 setLayerType(LAYER_TYPE_HARDWARE, null); in setupAnimators()
1989 setLayerType(LAYER_TYPE_NONE, null); in setupAnimators()
2010 setLayerType(LAYER_TYPE_HARDWARE, null); in setupAnimators()
2016 setLayerType(LAYER_TYPE_NONE, null); in setupAnimators()
2044 setLayerType(LAYER_TYPE_HARDWARE, null); in setupAnimators()
2050 setLayerType(LAYER_TYPE_NONE, null); in setupAnimators()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DMessagingPropertyAnimator.java208 view.setLayerType(View.LAYER_TYPE_HARDWARE, null); in updateLayerType()
210 view.setLayerType(View.LAYER_TYPE_NONE, null); in updateLayerType()
/aosp12/frameworks/base/core/tests/coretests/src/android/view/
H A DViewInvalidateTest.java227 mParent.setLayerType(View.LAYER_TYPE_HARDWARE, null); in testInvalidateChild_childHardwareLayer()
247 mParent.setLayerType(View.LAYER_TYPE_SOFTWARE, null); in testInvalidateChild_childSoftwareLayer()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A DOneHandedTutorialHandler.java160 mTargetViewContainer.setLayerType(LAYER_TYPE_HARDWARE, null); in createViewAndAttachToWindow()
183 mTargetViewContainer.setLayerType(LAYER_TYPE_NONE, null); in removeTutorialFromWindowManager()

1234