Home
last modified time | relevance | path

Searched refs:layerType (Results 1 – 22 of 22) 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/support/compat/honeycomb/android/support/v4/view/
DViewCompatHC.java34 public static void setLayerType(View view, int layerType, Paint paint) { in setLayerType() argument
35 view.setLayerType(layerType, paint); in setLayerType()
/frameworks/base/core/java/android/view/
DRenderNode.java258 public boolean setLayerType(int layerType) { in setLayerType() argument
259 return nSetLayerType(mNativeRenderNode, layerType); in setLayerType()
837 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.java15871 public void setLayerType(int layerType, @Nullable Paint paint) { in setLayerType() argument
15872 if (layerType < LAYER_TYPE_NONE || layerType > LAYER_TYPE_HARDWARE) { in setLayerType()
15877 boolean typeChanged = mRenderNode.setLayerType(layerType); in setLayerType()
15884 if (layerType != LAYER_TYPE_SOFTWARE) { in setLayerType()
15891 mLayerType = layerType; in setLayerType()
15927 int layerType = getLayerType(); in setLayerPaint() local
15928 if (layerType != LAYER_TYPE_NONE) { in setLayerPaint()
15930 if (layerType == LAYER_TYPE_HARDWARE) { in setLayerPaint()
16141 int layerType = getLayerType(); in updateDisplayListIfDirty() local
16147 if (layerType == LAYER_TYPE_SOFTWARE) { in updateDisplayListIfDirty()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DStackScrollState.java200 int layerType = view.getLayerType();
204 if (layerType != newLayerType) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DExpandableView.java359 public void setLayerType(int layerType, Paint paint) { in setLayerType() argument
361 super.setLayerType(layerType, paint); in setLayerType()
DActivatableNotificationView.java857 int layerType = contentAlpha == 0.0f || contentAlpha == 1.0f ? LAYER_TYPE_NONE in setContentAlpha() local
860 if (currentLayerType != layerType) { in setContentAlpha()
861 contentView.setLayerType(layerType, null); in setContentAlpha()
/frameworks/base/libs/hwui/
DLayer.cpp38 Layer::Layer(Type layerType, RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight) in Layer() argument
44 , type(layerType) { in Layer()
DRenderNode.cpp261 LayerType layerType = properties().effectiveLayerType(); in prepareLayer() local
262 if (CC_UNLIKELY(layerType == LayerType::RenderLayer)) { in prepareLayer()
301 LayerType layerType = properties().effectiveLayerType(); in pushLayerUpdate() local
304 if (CC_LIKELY(layerType != LayerType::RenderLayer) in pushLayerUpdate()
/frameworks/base/core/java/android/webkit/
DWebView.java2639 public void setLayerType(int layerType, Paint paint) { in setLayerType() argument
2640 super.setLayerType(layerType, paint); in setLayerType()
2641 mProvider.getViewDelegate().setLayerType(layerType, paint); in setLayerType()
DWebViewProvider.java381 public void setLayerType(int layerType, Paint paint); in setLayerType() argument
/frameworks/support/compat/java/android/support/v4/view/
DViewCompat.java393 void setLayerType(View view, int layerType, Paint paint); in setLayerType() argument
586 public void setLayerType(View view, int layerType, Paint paint) { in setLayerType() argument
1176 public void setLayerType(View view, int layerType, Paint paint) { in setLayerType() argument
1177 ViewCompatHC.setLayerType(view, layerType, paint); in setLayerType()
2291 public static void setLayerType(View view, @LayerType int layerType, Paint paint) { in setLayerType() argument
2292 IMPL.setLayerType(view, layerType, paint); in setLayerType()
/frameworks/base/core/jni/
Dandroid_view_RenderNode.cpp155 LayerType layerType = static_cast<LayerType>(jlayerType); in android_view_RenderNode_setLayerType() local
156 return SET_AND_DIRTY(mutateLayerProperties().setType, layerType, RenderNode::GENERIC); in android_view_RenderNode_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.java2041 final int layerType = enable
2043 ViewCompat.setLayerType(getChildAt(i), layerType, null);
/frameworks/base/docs/html/about/versions/
Dandroid-3.0.jd553 href="{@docRoot}reference/android/view/View.html#attr_android:layerType">{@code layerType}</a>
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt751 field public static final int layerType = 16843604; // 0x1010354
/frameworks/base/api/
Dcurrent.txt755 field public static final int layerType = 16843604; // 0x1010354
Dsystem-current.txt862 field public static final int layerType = 16843604; // 0x1010354
Dtest-current.txt755 field public static final int layerType = 16843604; // 0x1010354