Home
last modified time | relevance | path

Searched refs:layerType (Results 1 – 20 of 20) 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/renderthread/
DCacheManager.cpp189 const char* layerType = Properties::getRenderPipelineType() == RenderPipelineType::SkiaGL in dumpMemoryUsage() local
196 log.appendFormat(" %s size %dx%d\n", layerType, layer->getWidth(), in dumpMemoryUsage()
/frameworks/base/libs/hwui/
DRenderNode.cpp149 LayerType layerType = properties().effectiveLayerType(); in prepareLayer() local
150 if (CC_UNLIKELY(layerType == LayerType::RenderLayer)) { in prepareLayer()
164 LayerType layerType = properties().effectiveLayerType(); in pushLayerUpdate() local
167 if (CC_LIKELY(layerType != LayerType::RenderLayer) || CC_UNLIKELY(!isRenderable()) || in pushLayerUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableView.java440 public void setLayerType(int layerType, Paint paint) { in setLayerType() argument
442 super.setLayerType(layerType, paint); in setLayerType()
DActivatableNotificationView.java901 int layerType = contentAlpha == 0.0f || contentAlpha == 1.0f ? LAYER_TYPE_NONE in setContentAlpha() local
904 if (currentLayerType != layerType) { in setContentAlpha()
905 contentView.setLayerType(layerType, null); in setContentAlpha()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp645 LayerTypeTransactionHarness(uint32_t layerType) : mLayerType(layerType) {} in LayerTypeTransactionHarness() argument
715 void setRelativeZBasicHelper(uint32_t layerType);
716 void setRelativeZGroupHelper(uint32_t layerType);
717 void setAlphaBasicHelper(uint32_t layerType);
718 void setBackgroundColorHelper(uint32_t layerType, bool priorColor, bool bufferFill, float alpha,
997 void LayerRenderTypeTransactionTest::setRelativeZBasicHelper(uint32_t layerType) { in setRelativeZBasicHelper() argument
1000 ASSERT_NO_FATAL_FAILURE(layerR = createLayer("test R", 32, 32, layerType)); in setRelativeZBasicHelper()
1001 ASSERT_NO_FATAL_FAILURE(fillLayerColor(layerType, layerR, Color::RED, 32, 32)); in setRelativeZBasicHelper()
1002 ASSERT_NO_FATAL_FAILURE(layerG = createLayer("test G", 32, 32, layerType)); in setRelativeZBasicHelper()
1003 ASSERT_NO_FATAL_FAILURE(fillLayerColor(layerType, layerG, Color::GREEN, 32, 32)); in setRelativeZBasicHelper()
[all …]
/frameworks/base/graphics/java/android/graphics/
DRenderNode.java506 public boolean setLayerType(int layerType) { in setLayerType() argument
507 return nSetLayerType(mNativeRenderNode, layerType); in setLayerType()
1575 private static native boolean nSetLayerType(long renderNode, int layerType); in nSetLayerType() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DViewGroupFadeHelper.kt53 && viewToFade.layerType == View.LAYER_TYPE_NONE) { in <lambda>()
/frameworks/base/core/java/android/view/
DTextureView.java288 public void setLayerType(int layerType, @Nullable Paint paint) { in setLayerType() argument
DView.java20519 public void setLayerType(@LayerType int layerType, @Nullable Paint paint) { in setLayerType() argument
20520 if (layerType < LAYER_TYPE_NONE || layerType > LAYER_TYPE_HARDWARE) { in setLayerType()
20525 boolean typeChanged = mRenderNode.setLayerType(layerType); in setLayerType()
20532 if (layerType != LAYER_TYPE_SOFTWARE) { in setLayerType()
20539 mLayerType = layerType; in setLayerType()
20575 int layerType = getLayerType(); in setLayerPaint() local
20576 if (layerType != LAYER_TYPE_NONE) { in setLayerPaint()
20578 if (layerType == LAYER_TYPE_HARDWARE) { in setLayerPaint()
20827 int layerType = getLayerType(); in updateDisplayListIfDirty() local
20832 if (layerType == LAYER_TYPE_SOFTWARE) { in updateDisplayListIfDirty()
[all …]
/frameworks/base/core/java/android/webkit/
DWebViewProvider.java433 public void setLayerType(int layerType, Paint paint); in setLayerType() argument
DWebView.java2968 public void setLayerType(int layerType, Paint paint) { in setLayerType() argument
2969 super.setLayerType(layerType, paint); in setLayerType()
2970 mProvider.getViewDelegate().setLayerType(layerType, paint); in setLayerType()
/frameworks/base/core/jni/
Dandroid_view_RenderNode.cpp97 LayerType layerType = static_cast<LayerType>(jlayerType); in android_view_RenderNode_setLayerType() local
98 return SET_AND_DIRTY(mutateLayerProperties().setType, layerType, RenderNode::GENERIC); in android_view_RenderNode_setLayerType()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DViewState.java211 int layerType = view.getLayerType(); in applyToView() local
215 if (layerType != newLayerType) { in applyToView()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1800 final int layerType = enable ? LAYER_TYPE_HARDWARE : LAYER_TYPE_NONE;
1801 getChildAt(i).setLayerType(layerType, null);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt751 field public static final int layerType = 16843604; // 0x1010354
/frameworks/base/non-updatable-api/
Dcurrent.txt834 field public static final int layerType = 16843604; // 0x1010354
/frameworks/base/api/
Dcurrent.txt834 field public static final int layerType = 16843604; // 0x1010354
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt90452 Lcom/android/internal/R$attr;->layerType:I