Home
last modified time | relevance | path

Searched refs:layerType (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTransformsAndAnimationsActivity.java150 private void setLayerType(int layerType) { in setLayerType() argument
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()
156 button3a.setLayerType(layerType, null); in setLayerType()
157 button1b.setLayerType(layerType, null); in setLayerType()
158 button2b.setLayerType(layerType, null); in setLayerType()
159 button3b.setLayerType(layerType, null); in setLayerType()
[all …]
DDisplayListLayersActivity.java94 LayerView(Context context, int color, int layerType, String tag) { in LayerView() argument
100 setLayerType(layerType, null); in LayerView()
/frameworks/base/libs/hwui/
DRenderNode.cpp223 LayerType layerType = properties().effectiveLayerType(); in prepareLayer() local
224 if (CC_UNLIKELY(layerType == LayerType::RenderLayer)) { in prepareLayer()
238 LayerType layerType = properties().effectiveLayerType(); in pushLayerUpdate() local
241 if (CC_LIKELY(layerType != LayerType::RenderLayer) in pushLayerUpdate()
/frameworks/base/core/java/android/view/
DRenderNode.java281 public boolean setLayerType(int layerType) { in setLayerType() argument
282 return nSetLayerType(mNativeRenderNode, layerType); in setLayerType()
886 private static native boolean nSetLayerType(long renderNode, int layerType); in nSetLayerType() argument
DTextureView.java278 public void setLayerType(int layerType, @Nullable Paint paint) { in setLayerType() argument
DView.java17768 public void setLayerType(int layerType, @Nullable Paint paint) {
17769 if (layerType < LAYER_TYPE_NONE || layerType > LAYER_TYPE_HARDWARE) {
17774 boolean typeChanged = mRenderNode.setLayerType(layerType);
17781 if (layerType != LAYER_TYPE_SOFTWARE) {
17788 mLayerType = layerType;
17824 int layerType = getLayerType();
17825 if (layerType != LAYER_TYPE_NONE) {
17827 if (layerType == LAYER_TYPE_HARDWARE) {
18039 int layerType = getLayerType();
18045 if (layerType == LAYER_TYPE_SOFTWARE) {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DExpandableView.java387 public void setLayerType(int layerType, Paint paint) { in setLayerType() argument
389 super.setLayerType(layerType, paint); in setLayerType()
DActivatableNotificationView.java879 int layerType = contentAlpha == 0.0f || contentAlpha == 1.0f ? LAYER_TYPE_NONE in setContentAlpha() local
882 if (currentLayerType != layerType) { in setContentAlpha()
883 contentView.setLayerType(layerType, null); in setContentAlpha()
/frameworks/base/core/java/android/webkit/
DWebView.java2874 public void setLayerType(int layerType, Paint paint) { in setLayerType() argument
2875 super.setLayerType(layerType, paint); in setLayerType()
2876 mProvider.getViewDelegate().setLayerType(layerType, paint); in setLayerType()
DWebViewProvider.java413 public void setLayerType(int layerType, Paint paint); in setLayerType() argument
/frameworks/base/core/jni/
Dandroid_view_RenderNode.cpp96 LayerType layerType = static_cast<LayerType>(jlayerType); in android_view_RenderNode_setLayerType() local
97 return SET_AND_DIRTY(mutateLayerProperties().setType, layerType, RenderNode::GENERIC); in android_view_RenderNode_setLayerType()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DViewState.java206 int layerType = view.getLayerType(); in applyToView() local
210 if (layerType != newLayerType) { in applyToView()
/frameworks/support/compat/java/android/support/v4/view/
DViewCompat.java2066 public static void setLayerType(View view, @LayerType int layerType, Paint paint) { in setLayerType() argument
2067 view.setLayerType(layerType, paint); in setLayerType()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1792 final int layerType = enable ? LAYER_TYPE_HARDWARE : LAYER_TYPE_NONE;
1793 getChildAt(i).setLayerType(layerType, null);
/frameworks/support/core-ui/java/android/support/v4/view/
DViewPager.java2009 final int layerType = enable
2011 getChildAt(i).setLayerType(layerType, null);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt751 field public static final int layerType = 16843604; // 0x1010354
/frameworks/base/api/
Dcurrent.txt795 field public static final int layerType = 16843604; // 0x1010354
Dsystem-current.txt916 field public static final int layerType = 16843604; // 0x1010354