首页 » 技术分享 » gallery2 图库

gallery2 图库

 

 

GalleryActivity.java   android/com.android.internal.app.ChooserActivity(android.intent.action.ATTACH_DATA)    AttachPhotoActivity.java(ACTION_PICK)   (com.android.camera.action.CROP)   ContactSelectionActivity.java   

CropActivity.java{

    actionBar.setCustomView(R.layout.filtershow_actionbar);

    startFinishOutput;(startBitmapIO;  doneBitmapIO;)

}

 

AttachPhotoActivity.java

"StateManager" "AbstractGalleryActivity" "GalleryActivity" "AttachPhotoActivity" "AlbumSetPage" "AlbumPage"

 

 

packages/apps/Gallery2/res/menu/operation.xml:61:            android:title="@string/set_image"
packages/apps/Gallery2/res/menu/photo.xml:70:            android:title="@string/set_image"
 

yanhaiqun@ubuntu-server:~/001-GL40A63$ grep -rn "R.menu.operation" packages/apps/Gallery2
packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java:249:        mode.getMenuInflater().inflate(R.menu.operation, menu);

packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java:217:        setMenuItemVisible(menu, R.id.action_setas, supportSetAs);
packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java:301:            case R.id.action_setas: {

 

yanhaiqun@ubuntu-server:~/001-GL40A63$ grep -rn "R.string.save" packages/apps/Gallery2/

packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/SaveImage.java:596:                    R.string.save_and_processing);
packages/apps/Gallery2/src/com/android/gallery3d/filtershow/FilterShowActivity.java:1459:           builder.setMessage(R.string.unsaved).setTitle(R.string.save_before_exit);
packages/apps/Gallery2/src/com/android/gallery3d/filtershow/FilterShowActivity.java:1460:                    builder.setPositiveButton(R.string.save_and_exit, new DialogInterface.OnClickListener() {
packages/apps/Gallery2/src/com/android/gallery3d/app/TrimVideo.java:288:                            getString(R.string.save_into, mDstFileInfo.mFolderName),

packages/apps/Gallery2/src/com/android/gallery3d/app/MuteVideo.java:74:                                mActivity.getString(R.string.save_into,

 

yanhaiqun@ubuntu-server:~/001-GL40A63$ grep -rn "string.save" packages/apps/Gallery2/
packages/apps/Gallery2/res/layout/edit_bookmark.xml:69:            android:text="@string/save" />
packages/apps/Gallery2/res/layout/filtershow_actionbar.xml:23:    android:text="@string/save"
packages/apps/Gallery2/res/layout/filtershow_history_panel.xml:61:                android:text="@string/save"
packages/apps/Gallery2/res/layout/trim_menu.xml:26:        android:text="@string/save"
packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/SaveImage.java:596:                    R.string.save_and_processing);
packages/apps/Gallery2/src/com/android/gallery3d/filtershow/FilterShowActivity.java:1459:           builder.setMessage(R.string.unsaved).setTitle(R.string.save_before_exit);
packages/apps/Gallery2/src/com/android/gallery3d/filtershow/FilterShowActivity.java:1460:                    builder.setPositiveButton(R.string.save_and_exit, new DialogInterface.OnClickListener() {
packages/apps/Gallery2/src/com/android/gallery3d/app/TrimVideo.java:288:                            getString(R.string.save_into, mDstFileInfo.mFolderName),

packages/apps/Gallery2/src/com/android/gallery3d/app/MuteVideo.java:74:                                mActivity.getString(R.string.save_into,

 

yanhaiqun@ubuntu-server:~/001-GL40A63$ grep -rn "filtershow_actionbar" packages/apps/Gallery2/
\packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/CropActivity.java:123:            actionBar.setCustomView(R.layout.filtershow_actionbar);

packages/apps/Gallery2/src/com/android/gallery3d/filtershow/FilterShowActivity.java:369:        actionBar.setCustomView(R.layout.filtershow_actionbar);

 

 

 

转载自原文链接, 如需删除请联系管理员。

原文链接:gallery2 图库,转载请注明来源!

0