Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81de99c7 authored by Mike Lockwood's avatar Mike Lockwood Committed by Android Git Automerger
Browse files

am 65d2a4cb: Remove CameraBrowser test app

* commit '65d2a4cb':
  Remove CameraBrowser test app
parents 88845be6 65d2a4cb
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional

LOCAL_SRC_FILES := $(call all-subdir-java-files)

LOCAL_PACKAGE_NAME := CameraBrowser

include $(BUILD_PACKAGE)
+0 −28
Original line number Diff line number Diff line
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.android.camerabrowser">

    <uses-permission android:name="android.permission.ACCESS_USB" />

    <application android:label="@string/app_label">
        <activity android:name="CameraBrowser" android:label="Camera Browser">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity android:name="StorageBrowser" />
        <activity android:name="ObjectBrowser" />
        <activity android:name="ObjectViewer" />

        <receiver android:name="UsbReceiver">
            <intent-filter>
                <action android:name="android.hardware.action.USB_CAMERA_ATTACHED" />
                <data android:scheme="content"/>
            </intent-filter>
        </receiver>

    </application>


</manifest>
+0 −169
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2008, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
**     http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/object_info"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">
    <TableRow>
        <TextView android:id="@+id/name_label"
            android:text="@string/name_label"
            android:layout_gravity="right"
            android:layout_marginRight="8dip"
            style="@style/info_label" />

        <TextView android:id="@+id/name"
            style="@style/info_value" />
    </TableRow>
    <TableRow>
        <TextView android:id="@+id/size_label"
            android:text="@string/size_label"
            android:layout_gravity="right"
            android:layout_marginRight="8dip"
            style="@style/info_label" />

        <TextView android:id="@+id/size"
            style="@style/info_value" />
    </TableRow>
    <TableRow>
        <TextView android:id="@+id/format_label"
            android:text="@string/format_label"
            android:layout_gravity="right"
            android:layout_marginRight="8dip"
            style="@style/info_label" />

        <TextView android:id="@+id/format"
            style="@style/info_value" />
    </TableRow>
    <TableRow>
        <TextView android:id="@+id/thumb_width_label"
            android:text="@string/thumb_width_label"
            android:layout_gravity="right"
            android:layout_marginRight="8dip"
            style="@style/info_label" />

        <TextView android:id="@+id/thumb_width"
            style="@style/info_value" />
    </TableRow>
    <TableRow>
        <TextView android:id="@+id/thumb_height_label"
            android:text="@string/thumb_height_label"
            android:layout_gravity="right"
            android:layout_marginRight="8dip"
            style="@style/info_label" />

        <TextView android:id="@+id/thumb_height"
            style="@style/info_value" />
    </TableRow>
    <TableRow>
        <TextView android:id="@+id/thumb_size_label"
            android:text="@string/thumb_size_label"
            android:layout_gravity="right"
            android:layout_marginRight="8dip"
            style="@style/info_label" />

        <TextView android:id="@+id/thumb_size"
            style="@style/info_value" />
    </TableRow>
    <TableRow>
        <TextView android:id="@+id/width_label"
            android:text="@string/width_label"
            android:layout_gravity="right"
            android:layout_marginRight="8dip"
            style="@style/info_label" />

        <TextView android:id="@+id/width"
            style="@style/info_value" />
    </TableRow>
    <TableRow>
        <TextView android:id="@+id/height_label"
            android:text="@string/height_label"
            android:layout_gravity="right"
            android:layout_marginRight="8dip"
            style="@style/info_label" />

        <TextView android:id="@+id/height"
            style="@style/info_value" />
    </TableRow>
    <TableRow>
        <TextView android:id="@+id/depth_label"
            android:text="@string/depth_label"
            android:layout_gravity="right"
            android:layout_marginRight="8dip"
            style="@style/info_label" />

        <TextView android:id="@+id/depth"
            style="@style/info_value" />
    </TableRow>
    <TableRow>
        <TextView android:id="@+id/sequence_label"
            android:text="@string/sequence_label"
            android:layout_gravity="right"
            android:layout_marginRight="8dip"
            style="@style/info_label" />

        <TextView android:id="@+id/sequence"
            style="@style/info_value" />
    </TableRow>
    <TableRow>
        <TextView android:id="@+id/created_label"
            android:text="@string/created_label"
            android:layout_gravity="right"
            android:layout_marginRight="8dip"
            style="@style/info_label" />

        <TextView android:id="@+id/created"
            style="@style/info_value" />
    </TableRow>
    <TableRow>
        <TextView android:id="@+id/modified_label"
            android:text="@string/modified_label"
            android:layout_gravity="right"
            android:layout_marginRight="8dip"
            style="@style/info_label" />

        <TextView android:id="@+id/modified"
            style="@style/info_value" />
    </TableRow>
    <TableRow>
        <TextView android:id="@+id/keywords_label"
            android:text="@string/keywords_label"
            android:layout_gravity="right"
            android:layout_marginRight="8dip"
            style="@style/info_label" />

        <TextView android:id="@+id/keywords"
            style="@style/info_value" />
    </TableRow>
    <TableRow>
        <ImageView android:id="@+id/thumbnail" />
    </TableRow>
    <TableRow>
        <Button android:id="@+id/import_button"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/import_label">
        </Button>
        <Button android:id="@+id/delete_button"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/delete_label">
        </Button>
    </TableRow>
</TableLayout>
+0 −33
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
          http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="horizontal"
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent">
    
    <ImageView android:id="@+id/thumbnail"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />

    <TextView android:id="@+id/name"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textAppearance="?android:attr/textAppearanceLarge"
        android:gravity="center_vertical"
        android:paddingLeft="6dip"
        android:minHeight="?android:attr/listPreferredItemHeight" />
</LinearLayout>
+0 −46
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<resources>
    <string name="app_label">Camera Browser</string>

    <!-- for object info -->
    <string name="name_label">Name: </string>
    <string name="size_label">Size: </string>
    <string name="format_label">Format: </string>
    <string name="thumb_width_label">Thumb Width: </string>
    <string name="thumb_height_label">Thumb Height: </string>
    <string name="thumb_size_label">Thumb Size: </string>
    <string name="width_label">Width: </string>
    <string name="height_label">Height: </string>
    <string name="depth_label">Depth: </string>
    <string name="sequence_label">Sequence: </string>
    <string name="created_label">Created: </string>
    <string name="modified_label">Modified: </string>
    <string name="keywords_label">Keywords: </string>

    <!-- button labels -->
    <string name="import_label">Import</string>
    <string name="delete_label">Delete</string>

    <!-- toasts -->
    <string name="object_saved_message">Object saved</string>
    <string name="save_failed_message">Could not save object</string>
    <string name="object_deleted_message">Object deleted</string>
    <string name="delete_failed_message">Could not delete object</string>
    <string name="start_activity_failed_message">Import succeeded, but could not display object</string>

</resources>
Loading