0
点赞
收藏
分享

微信扫一扫

计算机视觉——两视图几何求解投影矩阵

非宁静不致远 2024-04-29 阅读 11
android

注:
        本文只是博主学习记录分享,仅供参考。如有错误请指出来,谢谢!

一、问题描述

去除 android 系统桌面谷歌搜索栏,前后对比如下图:

系统版本:android12

平台:rk3568

二、参考修改

文件路径:packages/apps/Launcher3/res/layout/search_container_workspace.xml

<com.android.launcher3.qsb.QsbContainerView

        xmlns:android="http://schemas.android.com/apk/res/android"

        android:orientation="vertical"

        android:layout_width="match_parent"

        android:layout_height="0dp"

        android:id="@id/search_container_workspace"

        android:padding="0dp" >

// 注释这一段代码

<!-- <fragment

        android:name="com.android.launcher3.qsb.QsbContainerView$QsbFragment"

        android:layout_width="match_parent"

        android:tag="qsb_view"

        android:layout_height="match_parent"/> -->

</com.android.launcher3.qsb.QsbContainerView>

文件路径:packages/apps/Launcher3/src/com/android/launcher3/Workspace.java

// @Rockchip add two qsb

        if (twoQsb) {

                if (mQsb2 == null) {

                        mQsb2 = LayoutInflater.from(getContext())

.                        inflate(R.layout.search_container_workspace2, firstPage, false);

        }

        // CellLayout.LayoutParams lp2 = new CellLayout.LayoutParams(0, 0, firstPage.getCountX(), 1);

        // lp2.canReorder = false;

        // if (!firstPage.addViewToCellLayout(mQsb2, 1, R.id.search_container_workspace2, lp2, true)) {

        // Log.e(TAG, "Failed to add qsb2 to item at to CellLayout");

        // mQsb2 = null;

        // }

        }

        // @end

注:

        rk 平台需要注释 rk 添加的搜索栏代码

举报

相关推荐

0 条评论