/frameworks/native/services/vr/hardware_composer/tests/ |
D | vr_composer_test.cpp | 109 frame.layers.push_back(ComposerView::ComposerLayer{ in TEST_F() 128 ASSERT_EQ(1u, received_frame.layers.size()); in TEST_F() 129 ASSERT_EQ(frame.layers[0].id, received_frame.layers[0].id); in TEST_F() 130 ASSERT_NE(nullptr, received_frame.layers[0].buffer.get()); in TEST_F() 131 ASSERT_TRUE(received_frame.layers[0].fence->isValid()); in TEST_F() 132 ASSERT_EQ(frame.layers[0].display_frame.left, in TEST_F() 133 received_frame.layers[0].display_frame.left); in TEST_F() 134 ASSERT_EQ(frame.layers[0].display_frame.top, in TEST_F() 135 received_frame.layers[0].display_frame.top); in TEST_F() 136 ASSERT_EQ(frame.layers[0].display_frame.right, in TEST_F() [all …]
|
/frameworks/native/libs/vr/libdvr/ |
D | dvr_hardware_composer_client.cpp | 104 return frame->frame.layers.size(); in dvrHwcFrameGetLayerCount() 131 return frame->frame.layers[layer_index].id; in dvrHwcFrameGetLayerId() 137 frame->frame.layers[layer_index].buffer.get()); in dvrHwcFrameGetLayerBuffer() 143 return frame->frame.layers[layer_index].fence->dup(); in dvrHwcFrameGetLayerFence() 149 frame->frame.layers[layer_index].display_frame.left, in dvrHwcFrameGetLayerDisplayFrame() 150 frame->frame.layers[layer_index].display_frame.top, in dvrHwcFrameGetLayerDisplayFrame() 151 frame->frame.layers[layer_index].display_frame.right, in dvrHwcFrameGetLayerDisplayFrame() 152 frame->frame.layers[layer_index].display_frame.bottom, in dvrHwcFrameGetLayerDisplayFrame() 158 frame->frame.layers[layer_index].crop.left, in dvrHwcFrameGetLayerCrop() 159 frame->frame.layers[layer_index].crop.top, in dvrHwcFrameGetLayerCrop() [all …]
|
/frameworks/native/services/vr/hardware_composer/aidl/android/dvr/ |
D | parcelable_composer_frame.cpp | 51 std::vector<ParcelableComposerLayer> layers; in writeToParcel() local 52 for (size_t i = 0; i < frame_.layers.size(); ++i) in writeToParcel() 53 layers.push_back(ParcelableComposerLayer(frame_.layers[i])); in writeToParcel() 55 ret = parcel->writeParcelableVector(layers); in writeToParcel() 98 std::vector<ParcelableComposerLayer> layers; in readFromParcel() local 99 ret = parcel->readParcelableVector(&layers); in readFromParcel() 102 frame_.layers.clear(); in readFromParcel() 103 for (size_t i = 0; i < layers.size(); ++i) in readFromParcel() 104 frame_.layers.push_back(layers[i].layer()); in readFromParcel()
|
/frameworks/native/vulkan/tools/ |
D | vkinfo.cpp | 43 std::vector<VkLayerProperties> layers; member 48 std::vector<VkLayerProperties> layers; member 143 info.layers.resize(count); in GatherGpuInfo() 145 vkEnumerateDeviceLayerProperties(gpu, &count, info.layers.data()); in GatherGpuInfo() 149 info.layer_extensions.resize(info.layers.size()); in GatherGpuInfo() 152 for (size_t i = 0; i < info.layers.size(); i++) { in GatherGpuInfo() 153 EnumerateDeviceExtensions(gpu, info.layers[i].layerName, in GatherGpuInfo() 218 info->layers.resize(count); in GatherInfo() 220 vkEnumerateInstanceLayerProperties(&count, info->layers.data()); in GatherInfo() 224 info->layer_extensions.resize(info->layers.size()); in GatherInfo() [all …]
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.cpp | 81 void SkiaPipeline::renderLayersImpl(const LayerUpdateQueue& layers, bool opaque) { in renderLayersImpl() argument 83 for (size_t i = 0; i < layers.entries().size(); i++) { in renderLayersImpl() 84 RenderNode* layerNode = layers.entries()[i].renderNode.get(); in renderLayersImpl() 97 const Rect& layerDamage = layers.entries()[i].damage; in renderLayersImpl() 179 void SkiaPipeline::renderFrame(const LayerUpdateQueue& layers, const SkRect& clip, in renderFrame() argument 184 renderLayersImpl(layers, opaque); in renderFrame() 202 renderFrameImpl(layers, clip, nodes, opaque, contentDrawBounds, canvas); in renderFrame() 219 renderOverdraw(layers, clip, nodes, contentDrawBounds, surface); in renderFrame() 234 void SkiaPipeline::renderFrameImpl(const LayerUpdateQueue& layers, const SkRect& clip, in renderFrameImpl() argument 351 void SkiaPipeline::renderOverdraw(const LayerUpdateQueue& layers, const SkRect& clip, in renderOverdraw() argument [all …]
|
D | SkiaPipeline.h | 48 void renderFrame(const LayerUpdateQueue& layers, const SkRect& clip, 56 static void renderLayersImpl(const LayerUpdateQueue& layers, bool opaque); 110 void renderFrameImpl(const LayerUpdateQueue& layers, const SkRect& clip, 118 void renderOverdraw(const LayerUpdateQueue& layers, const SkRect& clip,
|
/frameworks/base/core/java/android/hardware/ |
D | HardwareBuffer.java | 127 public static HardwareBuffer create(int width, int height, @Format int format, int layers, in create() argument 138 if (layers <= 0) { in create() 139 throw new IllegalArgumentException("Invalid layer count " + layers); in create() 144 long nativeObject = nCreateHardwareBuffer(width, height, format, layers, usage); in create() 337 private static native long nCreateHardwareBuffer(int width, int height, int format, int layers, in nCreateHardwareBuffer() argument
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2Test.cpp | 634 const std::vector<hwc2_layer_t>& layers, uint32_t numRequests, in handleRequests() argument 654 EXPECT_EQ(std::count(layers.begin(), layers.end(), requestedLayer), in handleRequests() 702 const std::vector<hwc2_layer_t>& layers, uint32_t numTypes, in handleCompositionChanges() argument 717 auto layer = std::find(layers.begin(), layers.end(), in handleCompositionChanges() 720 EXPECT_TRUE(layer != layers.end() || !testLayers.contains(*layer)) in handleCompositionChanges() 764 for (auto layer : layers) { in handleCompositionChanges() 1152 std::vector<hwc2_layer_t>&& layers) in destroyLayers() argument 1154 for (hwc2_layer_t layer : layers) { in destroyLayers() 1206 hwc2_display_t display, const std::vector<hwc2_layer_t>& layers, 1211 hwc2_display_t display, std::vector<hwc2_layer_t>* layers); [all …]
|
D | Hwc2TestLayers.cpp | 21 Hwc2TestLayers::Hwc2TestLayers(const std::vector<hwc2_layer_t>& layers, in Hwc2TestLayers() argument 23 : Hwc2TestLayers(layers, coverage, displayArea, in Hwc2TestLayers() 26 Hwc2TestLayers::Hwc2TestLayers(const std::vector<hwc2_layer_t>& layers, in Hwc2TestLayers() argument 32 for (auto layer : layers) { in Hwc2TestLayers() 41 uint32_t nextZOrder = layers.size(); in Hwc2TestLayers()
|
D | Hwc2TestLayers.h | 33 Hwc2TestLayers(const std::vector<hwc2_layer_t>& layers, 36 Hwc2TestLayers(const std::vector<hwc2_layer_t>& layers,
|
D | Hwc2TestClientTarget.h | 34 int getBuffer(const Hwc2TestLayers& layers,
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | TransitionDrawable.java | 78 public TransitionDrawable(Drawable[] layers) { in TransitionDrawable() argument 79 this(new TransitionState(null, null, null), layers); in TransitionDrawable() 96 private TransitionDrawable(TransitionState state, Drawable[] layers) { in TransitionDrawable() argument 97 super(layers, state); in TransitionDrawable()
|
D | LayerDrawable.java | 118 public LayerDrawable(@NonNull Drawable[] layers) { in LayerDrawable() argument 119 this(layers, null); in LayerDrawable() 129 LayerDrawable(@NonNull Drawable[] layers, @Nullable LayerState state) { in LayerDrawable() argument 132 if (layers == null) { in LayerDrawable() 136 final int length = layers.length; in LayerDrawable() 140 r[i].mDrawable = layers[i]; in LayerDrawable() 141 layers[i].setCallback(this); in LayerDrawable() 142 mLayerState.mChildrenChangingConfigurations |= layers[i].getChangingConfigurations(); in LayerDrawable() 414 final ChildDrawable[] layers = mLayerState.mChildren; in isProjected() local 417 if (layers[i].mDrawable.isProjected()) { in isProjected() [all …]
|
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/items/ |
D | RecyclerItemAdapter.java | 106 final Drawable[] layers = {background, selectableItemBackground}; in onCreateViewHolder() local 107 view.setBackgroundDrawable(new PatchedLayerDrawable(layers)); in onCreateViewHolder() 207 PatchedLayerDrawable(Drawable[] layers) { in PatchedLayerDrawable() argument 208 super(layers); in PatchedLayerDrawable()
|
/frameworks/native/vulkan/doc/implementors_guide/ |
D | implementors_guide.adoc | 11 …rather than the driver. The loader also supports enumerating and loading layers which can expose a… 30 …aving core dumps, API traces, etc. to disk for later inspection. So only layers delivered as part … 32 There are three major use cases for layers: 34 1. Development-time layers: validation layers, shims for tracing/profiling/debugging tools, etc. Th… 36 …layers, such as a layer that implements a heap for device memory. These layers will almost always … 38 3. Injected layers, like framerate, social network, or game launcher overlays, which are provided b… 40 …layers. It will attempt to load any shared library named +libVkLayer_*.so+ as a layer library. And… 42 …inux policies prevent mapping code located here as executable. So to use layers from here, SELinux… 44 … goal is to allow layers to be ported with only build-environment changes between Android and othe… 48 …ded through the driver's +vkGetDeviceProcAddr+ functions, after passing through any enabled layers.
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
D | ColorStateDrawable.java | 34 public ColorStateDrawable(Drawable[] layers, int color) { in ColorStateDrawable() argument 35 super(layers); in ColorStateDrawable()
|
/frameworks/native/libs/vr/libdvr/tests/ |
D | dvr_named_buffer-test.cpp | 61 ASSERT_EQ(desc1.layers, 1u); in TEST_F() 66 ASSERT_EQ(desc2.layers, 1u); in TEST_F() 87 ASSERT_EQ(desc3.layers, 1u); in TEST_F()
|
/frameworks/native/vulkan/libvulkan/ |
D | api.cpp | 442 static void DestroyLayers(ActiveLayer* layers, 984 data.layers = layers_; in StealLayers() 991 void LayerChain::DestroyLayers(ActiveLayer* layers, in DestroyLayers() argument 995 layers[i].ref.~LayerRef(); in DestroyLayers() 997 allocator.pfnFree(allocator.pUserData, layers); in DestroyLayers() 1109 ActiveLayer* layers = reinterpret_cast<ActiveLayer*>(data.layers); in DestroyInstance() local 1119 DestroyLayers(layers, layer_count, in DestroyInstance() 1134 return reinterpret_cast<const ActiveLayer*>(GetData(physical_dev).layers); in GetActiveLayers() 1236 const LayerChain::ActiveLayer* layers = in EnumerateDeviceLayerProperties() local 1246 pProperties[i] = GetLayerProperties(*layers[i].ref); in EnumerateDeviceLayerProperties()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/ |
D | SpotShadow.java | 460 @NonNull float[] poly, int polyLength, int rays, int layers, float strength, in calcShadow() argument 527 triangulateConcentricPolygon(penumbra, penumbraLength, umbra, umbraLength, rays, layers, in calcShadow() 545 @NonNull float[] umbra, int umbraLength, int rays, int layers, float strength, in triangulateConcentricPolygon() argument 547 int rings = layers + 1; in triangulateConcentricPolygon() 566 for (int r = 0; r < layers; r++) { in triangulateConcentricPolygon() 627 public static int getStripSize(int rays, int layers) { in getStripSize() argument 628 return (2 + rays + ((layers) * 2 * (rays + 1))); in getStripSize()
|
/frameworks/support/design/base/android/support/design/widget/ |
D | FloatingActionButtonImpl.java | 128 final Drawable[] layers; in setBackgroundDrawable() local 131 layers = new Drawable[] {mBorderDrawable, mShapeDrawable, mRippleDrawable}; in setBackgroundDrawable() 134 layers = new Drawable[] {mShapeDrawable, mRippleDrawable}; in setBackgroundDrawable() 137 mContentBackground = new LayerDrawable(layers); in setBackgroundDrawable()
|
/frameworks/base/core/jni/ |
D | android_hardware_HardwareBuffer.cpp | 73 jint width, jint height, jint format, jint layers, jlong usage) { in android_hardware_HardwareBuffer_create() argument 85 sp<GraphicBuffer> buffer = new GraphicBuffer(width, height, pixelFormat, layers, in android_hardware_HardwareBuffer_create()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceInterceptor.h | 45 void enable(const SortedVector<sp<Layer>>& layers, 73 void saveExistingSurfacesLocked(const SortedVector<sp<Layer>>& layers);
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | layered_filter_f32_helper.rsh | 61 // Filters target layer when processing layers in pass one from the back-most to 90 // bleeding from layers in front of this layer. Doing visibility test in a 114 // Filters target layer when processing layers in pass one from the back-most to 150 // Filters the target layer when processing layers in pass two from the
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
D | SetupWizardLayout.java | 346 final LayerDrawable layers = in getIllustration() local 349 layers.setAutoMirrored(true); in getIllustration() 351 return layers; in getIllustration()
|
/frameworks/native/libs/nativewindow/ |
D | AHardwareBuffer.cpp | 65 desc->width, desc->height, format, desc->layers, usage, in AHardwareBuffer_allocate() 74 desc->width, desc->height, desc->layers, strerror(-err), gbuffer->handle); in AHardwareBuffer_allocate() 103 outDesc->layers = gbuffer->getLayerCount(); in AHardwareBuffer_describe()
|