Compare commits

..
697 Commits
Author SHA1 Message Date
ろむねこ 30f2dc39ae Update issue templates 2024-01-08 15:57:51 +09:00
ろむねこ 4621025e62 Merge pull request #18 from lacerta-doc/r-ca-issue-template-1
Update issue templates
2024-01-08 15:56:18 +09:00
ろむねこ 164527d41a Merge pull request #19 from lacerta-doc/r-ca-pr-1
PRテンプレート追加
2024-01-08 15:56:01 +09:00
ろむねこ d770ac76aa Create general.md 2024-01-08 15:55:46 +09:00
ろむねこ 642f306ad6 Update issue templates 2024-01-08 15:45:01 +09:00
ろむねこ 930b48af2f Merge pull request #15 from lacerta-doc/common/improve_logger
Loggerの機能を強化
2024-01-08 15:36:24 +09:00
r-ca dec4983bfc 移動 2024-01-08 12:43:31 +09:00
r-ca 88dfae7d37 KeyValueログモデル作成 2024-01-08 12:43:30 +09:00
r-ca 48101190a2 修正 2024-01-08 12:43:21 +09:00
r-ca 2b79c7669f Key-Valueなログを出力しやすくした 2024-01-08 12:43:21 +09:00
ろむねこ 6be44cd9b5 Merge pull request #13 from lacerta-doc/component/fix_camera_stub
カメラスタブが現行のAndroidバージョンから呼び出せない問題を修正
2023-12-24 14:58:56 +09:00
r-ca efa3134dc6 Manifestで使用するインテントを明言した 2023-12-22 11:33:11 +09:00
ろむねこ acb039ee23 Merge pull request #10 from lacerta-doc/feature/library/add_document_list
Feature/library/add document list
2023-12-21 14:06:55 +09:00
nero 7965ce90a6 LibraryArchiveFragmentにてコードが重複していたため、削除した 2023-12-21 13:58:20 +09:00
nero 142ca57f76 名前を修正
前のは適当でわかりにくい名前になっていたため
2023-12-21 13:50:08 +09:00
r-ca c7a387df3d レイアウトマージン設定 2023-12-21 12:24:46 +09:00
r-ca 732f047ff7 余白が異常に大きくなるのを修正 2023-12-21 12:24:46 +09:00
r-ca bbeba2b733 コメント追加 2023-12-21 12:24:46 +09:00
r-ca 83d2d0af02 一旦保存して読み込むように 2023-12-21 12:24:46 +09:00
r-ca 3518464716 権限修正 2023-12-21 12:24:46 +09:00
r-ca f9247e9114 プロバイダパスを追加 2023-12-21 12:24:46 +09:00
r-ca be610059cf プロバイダパスを追加 2023-12-21 12:24:46 +09:00
r-ca b12c689d4e AndroidManifest.xmlにFileProviderを追加 WIP 2023-12-21 12:24:46 +09:00
r-ca 55ae0b541a 取得される画像の解像度が低すぎるので修正 WIP 2023-12-21 12:24:46 +09:00
r-ca f74abd11fc レイアウト修正 2023-12-21 12:24:46 +09:00
r-ca 8817c62ed3 レイアウト修正 2023-12-21 12:24:46 +09:00
r-ca d5616d63b6 Revert "Revert "内部クラスじゃだめそうなので切り出し""
This reverts commit ba4ff5652e.
2023-12-21 12:24:46 +09:00
r-ca 9cbf6f9d56 Revert "Revert "WIP 内部クラスじゃだめそうなので切り出し""
This reverts commit aea6ea3808.
2023-12-21 12:24:46 +09:00
r-ca ad66688bf9 WIP 2023-12-21 12:24:46 +09:00
r-ca b5281443bf Revert "WIP 内部クラスじゃだめそうなので切り出し"
This reverts commit 9a71fb5c26.
2023-12-21 12:24:46 +09:00
r-ca c616edf9f7 Revert "内部クラスじゃだめそうなので切り出し"
This reverts commit c0e64ad5fd.
2023-12-21 12:24:46 +09:00
r-ca aa4f8360dc 内部クラスじゃだめそうなので切り出し 2023-12-21 12:24:46 +09:00
r-ca 99dea6d6f6 WIP 内部クラスじゃだめそうなので切り出し 2023-12-21 12:24:46 +09:00
r-ca b3dcaefede WIP 結果をプレビューするロジック実装 2023-12-21 12:24:46 +09:00
r-ca 9ec45096ba 命名修正 2023-12-21 12:24:46 +09:00
r-ca a3edcf845a レイアウト修正 2023-12-21 12:24:46 +09:00
r-ca 48de3f9a8d fix typo 2023-12-21 12:24:46 +09:00
r-ca 979a3f8ee7 レイアウト修正 2023-12-21 12:24:46 +09:00
r-ca 9c79e02cc8 レイアウト修正 2023-12-21 12:24:46 +09:00
r-ca 3db91fb937 レイアウト修正 2023-12-21 12:24:46 +09:00
r-ca e9f2a6b711 レイアウト実装WIP 2023-12-21 12:24:46 +09:00
r-ca 955c0122cf レイアウトファイル作成 2023-12-21 12:24:46 +09:00
r-ca d5f3d36d23 仮置きデータモデル作成 2023-12-21 12:24:46 +09:00
r-ca 2c74fa3339 仮置きデータモデル作成 2023-12-21 12:24:46 +09:00
r-ca e3220910f5 レイアウトにRecyclerViewを追加 2023-12-21 12:24:46 +09:00
r-ca 8e97dd6972 まちがえてrequireActivityを使っていたので修正 2023-12-21 12:24:46 +09:00
r-ca 0bf6b3fa1a ログ追加 2023-12-21 12:24:46 +09:00
r-ca 6ac0599f4c パーミッションを追加してみた 2023-12-21 12:24:46 +09:00
r-ca f14b9accee デバッグメニューにリンクを追加 2023-12-21 12:24:46 +09:00
r-ca da2ff27391 暫定, debugメニューのナビゲーショングラフに追加 2023-12-21 12:24:46 +09:00
r-ca 60d13ac9a9 fix typo 2023-12-21 12:24:46 +09:00
r-ca 011cac925a fix typo 2023-12-21 12:24:46 +09:00
r-ca 4d0412e5bd debugの依存関係にスキャナコンポーネントを追加 2023-12-21 12:24:46 +09:00
r-ca be30ce2c62 ボタンアクションを実装 2023-12-21 12:24:46 +09:00
r-ca 3c6541607c カメラ起動を実装 2023-12-21 12:24:46 +09:00
r-ca be80e42dc5 ArrayListに変更 2023-12-21 12:24:46 +09:00
r-ca 031a1d2810 ロジック実装 WIP 2023-12-21 12:24:46 +09:00
r-ca ccbbb45f39 引数削除 2023-12-21 12:24:46 +09:00
r-ca 13b53c62ec スタイル変更 2023-12-21 12:24:46 +09:00
r-ca 8c83c7adcf レイアウトマージン修正 2023-12-21 12:24:46 +09:00
r-ca 5617dacfe7 テーマ設定 2023-12-21 12:24:46 +09:00
r-ca ed9e20ede3 依存関係追加 2023-12-21 12:24:46 +09:00
r-ca b7f91b593e レイアウト作成 WIP 2023-12-21 12:24:46 +09:00
r-ca 4a39c5c525 スキャナのスタブを実装 WIP 2023-12-21 12:24:46 +09:00
r-ca fc716df189 一旦過去に作成したフラグメントを削除 2023-12-21 12:24:46 +09:00
nero 9d108212dd データを取得するための機能実装 2023-12-20 12:52:24 +09:00
nero e34dd65dda コードの微修正 2023-12-20 12:22:18 +09:00
nero 3386418abd 画面変移のコード作成。
データを受け取る側と渡す側を作った
2023-12-20 12:21:37 +09:00
nero c8b99e10e8 コメントを足した。 2023-12-20 12:02:21 +09:00
nero d8f8b87c54 フォーマットを整えた 2023-12-20 12:00:33 +09:00
nero 31d3b975ea 表示されている文字をクリックすることでそのページを表示する機能の基礎部分 2023-12-20 10:52:01 +09:00
ろむねこ fb5de4f12a Merge pull request #7 from lacerta-doc/common/fix-gradle
リリース準備
2023-12-20 10:47:02 +09:00
r-ca b02c0a421c バージョンコード修正など 2023-12-20 10:45:45 +09:00
r-ca 2843ed749d PlayConsoleで別のアプリになってしまうのでSuffixを廃止 2023-12-20 10:42:50 +09:00
ろむねこ 9722a3d9b7 Merge pull request #5 from lacerta-doc/common/update_version_rule
バージョン名の運用を変更
2023-12-20 10:17:10 +09:00
r-ca 0d21f7a783 バージョン名変更 2023-12-20 10:16:07 +09:00
nero 866b8270fe 仮データを出力できるように調整した。 2023-12-19 12:45:41 +09:00
nero e0af9381cb Revert "アクティビティを宣言"
This reverts commit 6d71322982.
2023-12-19 12:24:19 +09:00
nero e70f930929 コードを微修正 2023-12-19 12:00:56 +09:00
ろむねこ 2364a32de9 Merge pull request #4 from lacerta-doc/general/internal_release
内部リリース用のビルド設定を追加, バージョンコードを変更
2023-12-19 11:51:17 +09:00
r-ca c8c0c2f42c バージョン変更, コメント追加 2023-12-19 11:50:32 +09:00
r-ca e87056a12f バージョン更新 2023-12-19 11:47:32 +09:00
r-ca cfd3153620 内部リリース用の設定を追加 2023-12-19 11:44:11 +09:00
ろむねこ 78c11ee41e Merge pull request #2 from lacerta-doc/general/release_settings
リリース用のビルドタイプなどを追加
2023-12-19 11:15:04 +09:00
r-ca bed4011b40 debug, beta_releaseにfallbackを追加 2023-12-19 11:05:16 +09:00
r-ca 6a326072d4 buildTypesにdebugとbeta_releaseを追加 2023-12-19 11:01:23 +09:00
nero ac2001142f Laibraryが表示できるようにコードを書き換えた。
・nullを検出して安全性を高めた
・RecyclerView.Adapterを使用するためのコードを追加
2023-12-19 10:15:33 +09:00
nero 6d71322982 アクティビティを宣言 2023-12-18 16:26:19 +09:00
nero 3bf14799b5 改善したもののやっぱり実行するとアプリが落ちる 2023-12-18 16:19:50 +09:00
nero aaf4264f44 仮の画面はできたが、実行するとアプリが落ちる 2023-12-18 16:13:35 +09:00
nero b097e8070a ListViewからRecyclerViewに変えた 2023-12-18 16:09:40 +09:00
nero 99ad244376 基本的な画面レイアウトを作成 2023-12-18 15:57:48 +09:00
nero 99817d3e33 依存関係追加
レイアウトの設定
2023-12-18 15:45:31 +09:00
nero 5a92c210f7 依存関係追加 2023-12-18 15:15:54 +09:00
ろむねこ 20aab465a8 Update README.md 2023-12-18 14:25:49 +09:00
ろむねこ 8c8ee9bd9c Update README.md 2023-12-18 14:24:58 +09:00
r-ca 5f116189e1 テーマを適用しても問題なく動作するようになった 2023-12-18 13:29:04 +09:00
r-ca 6da0732642 カラーパレットに応じてテーマカラーが切り替わるように 2023-12-18 13:27:13 +09:00
r-ca 839cb6b058 Revert "Transitionテスト"
This reverts commit 051a6e582f.
2023-12-18 13:12:49 +09:00
r-ca a44bdd317d Revert "アニメーション実装テスト"
This reverts commit 7df53d9f40.
2023-12-18 13:12:48 +09:00
r-ca 4b2de05e5c Revert "アニメーションを全部に追加する WIP"
This reverts commit 470d3cca27.
2023-12-18 13:12:48 +09:00
r-ca 8e34ba7939 Revert "アニメーションを全部に追加する WIP"
This reverts commit c5081f73be.
2023-12-18 13:12:48 +09:00
r-ca c5081f73be アニメーションを全部に追加する WIP 2023-12-18 13:12:42 +09:00
r-ca 470d3cca27 アニメーションを全部に追加する WIP 2023-12-18 12:35:53 +09:00
r-ca 7df53d9f40 アニメーション実装テスト 2023-12-18 12:30:27 +09:00
r-ca 051a6e582f Transitionテスト 2023-12-18 12:02:53 +09:00
r-ca 989dc094fa Revert "テスト"
This reverts commit ce83c46cba.
2023-12-18 10:59:47 +09:00
r-ca 0820496c45 Revert "テスト"
This reverts commit e25fb9a48e.
2023-12-18 10:59:34 +09:00
r-ca 5898aa791c Revert "テスト"
This reverts commit 10c29cee6e.
2023-12-18 10:59:34 +09:00
r-ca 10c29cee6e テスト 2023-12-18 10:59:23 +09:00
r-ca e25fb9a48e テスト 2023-12-18 10:58:56 +09:00
r-ca 432d93aaa2 :shared:uiを依存関係に追加 2023-12-18 10:58:11 +09:00
r-ca 043ccbe6c2 内容挿入 2023-12-18 10:57:21 +09:00
r-ca e230b27e5b テスト用アニメーション追加 WIP 2023-12-18 10:56:45 +09:00
r-ca 10c1e99335 テスト用アニメーション追加 2023-12-18 10:55:58 +09:00
r-ca ce83c46cba テスト 2023-12-18 10:54:49 +09:00
r-ca 54ed1ccb80 アイコン変更 2023-12-18 10:38:49 +09:00
r-ca 71b0a6783a 色変更 2023-12-18 10:38:33 +09:00
r-ca 9fe216036b Homeのアイコンをインポート 2023-12-18 10:38:22 +09:00
r-ca 24c24bbffe メニュー追加WIP(仮置きアイコン) 2023-12-18 10:36:55 +09:00
r-ca b05232a05f appのナビゲーショングラフに追加 2023-12-18 10:36:06 +09:00
r-ca da193440f2 ナビゲーショングラフに追加 2023-12-18 10:35:43 +09:00
r-ca 08fb9d79f0 依存関係修正 2023-12-18 10:34:59 +09:00
r-ca 3fcc34436b Revert "ナビゲーショングラフ追加"
This reverts commit 720139660a.
2023-12-18 10:34:25 +09:00
r-ca 720139660a ナビゲーショングラフ追加 2023-12-18 10:34:19 +09:00
r-ca d58dde5a95 ナビゲーショングラフ追加 2023-12-18 10:34:16 +09:00
r-ca 79784787ee 並び順の変更, タイトル修正 2023-12-18 10:32:09 +09:00
r-ca 28fa96e153 アイコン変更 2023-12-18 10:31:43 +09:00
r-ca 1c1e037557 appのナビゲーショングラフに追加、メニューアイテム追加 2023-12-18 10:29:35 +09:00
r-ca ee805d0447 名称を統一 2023-12-18 10:28:29 +09:00
r-ca c36fd98110 名称を統一 2023-12-18 10:25:48 +09:00
r-ca cb6b329ce1 ナビゲーショングラフに追加 2023-12-18 10:25:00 +09:00
r-ca 733a30f310 テスト削除 2023-12-18 10:23:03 +09:00
r-ca e6aece5a05 テスト 2023-12-18 10:22:10 +09:00
r-ca 5a158d3b61 Navigation Componentを依存関係に追加 2023-12-18 10:21:15 +09:00
r-ca f968f8e88a バージョンカタログから読み取るように変更 2023-12-18 10:20:30 +09:00
r-ca 996630d0dd Home/Libraryのトップフラグメント追加 2023-12-18 10:16:05 +09:00
r-ca 6a79dbdaec UIアイコンの色を変更 2023-12-18 10:14:35 +09:00
r-ca 0c2972cf95 UIアイコン追加 2023-12-18 10:12:49 +09:00
r-ca 6945b7cd32 アセット追加 2023-12-18 10:12:17 +09:00
r-ca 8dfde3332b テストデータのDocument Titleを指定できるように 2023-12-18 02:06:06 +09:00
r-ca ced5129263 テストデータのDocument Titleを指定するレイアウトを追加 2023-12-18 02:02:27 +09:00
r-ca eb1e6f23b0 レイアウトの高さを修正 2023-12-18 01:51:37 +09:00
r-ca 13496ba454 getItemCountが0でハードコーディングされていたので修正 2023-12-18 01:50:43 +09:00
r-ca d714aef47f レイアウトのInflateを忘れていたので追加 2023-12-18 01:48:17 +09:00
r-ca 56eecb45e4 レイアウト実装 2023-12-18 01:45:03 +09:00
r-ca 1a332ce707 List型に変更 2023-12-18 01:43:58 +09:00
r-ca 802a0b617d Logger: コンストラクタを追加 2023-12-18 01:42:33 +09:00
r-ca 85206956e7 LoggerをInject(など) 2023-12-18 01:39:44 +09:00
r-ca 37bc68fef9 アノテーション追加 2023-12-18 01:37:08 +09:00
r-ca 24632351ed onBindViewHolder実装 2023-12-18 01:36:45 +09:00
r-ca c9dbefbe38 WIP 2023-12-18 01:36:19 +09:00
r-ca 4fb93c41e8 import追加, Inject 2023-12-18 01:32:44 +09:00
r-ca 81053009e0 実装テスト 2023-12-18 01:29:22 +09:00
r-ca 8f4ffb4731 Adapter作成WIP 2023-12-18 01:25:55 +09:00
r-ca cb187fc7ed 内容/Getter/Setter 2023-12-18 01:24:03 +09:00
r-ca 41c90f5467 データモデルクラス作成 2023-12-18 01:23:22 +09:00
r-ca 4eef590bcf アイテムレイアウト作成 WIP 2023-12-18 01:22:39 +09:00
r-ca 389e60b284 アイテムレイアウト作成 2023-12-18 01:19:38 +09:00
r-ca 81afba02a0 引数削除 2023-12-18 01:12:34 +09:00
r-ca 0718e15ec9 色追加暫定 2023-12-18 00:59:43 +09:00
r-ca 07a3103a84 移動 2023-12-18 00:58:32 +09:00
r-ca d3bab9b062 アイコン追加など 2023-12-18 00:57:40 +09:00
r-ca 6040411c4f アイコン管理パッケージを依存関係に追加 2023-12-18 00:35:44 +09:00
r-ca 443310b3e5 アイコン追加 2023-12-18 00:34:28 +09:00
r-ca 38b149cbfc アイコン用ようパッケージ追加 2023-12-18 00:33:37 +09:00
r-ca 4664817d76 ボタンにID追加 2023-12-18 00:15:22 +09:00
r-ca 903bf9e3bb アノテーション忘れ修正 2023-12-18 00:12:57 +09:00
r-ca 33dd27bb3d 一部のコンストラクタでデータを生成できていなかった 2023-12-18 00:08:27 +09:00
r-ca 93971a097a Insertテスト WIP 2023-12-18 00:07:06 +09:00
r-ca 820cf6ea87 コンテナとして使うDrawableを作成 2023-12-17 23:49:05 +09:00
r-ca 42177d9251 デバッグで追加したViewを削除 2023-12-17 23:48:48 +09:00
r-ca 03fd6b10b8 推移できるように 2023-12-17 23:48:33 +09:00
r-ca 4836460f65 ナビゲーション追加 2023-12-17 23:48:19 +09:00
r-ca 67cdd63ad4 レイアウトWIP 2023-12-17 23:45:21 +09:00
r-ca 5d866d8513 WIP リミットありの全件取得を実装 2023-12-17 23:27:39 +09:00
r-ca e8dc956b7d WIP リミットありの全件取得を実装 2023-12-17 23:27:34 +09:00
r-ca 4c20c7411b Repository修正 2023-12-17 23:25:32 +09:00
r-ca af3273f9c6 Repository修正 2023-12-17 23:25:12 +09:00
r-ca 3760588796 Repository作成 2023-12-17 23:23:35 +09:00
r-ca ed6e9bd469 なぜかDynamicColorが適用されなくなるのでテーマの指定を削除 2023-12-17 22:17:13 +09:00
r-ca e2a6cb02d7 Revert "テスト"
This reverts commit 739e0392b6.
2023-12-17 22:13:36 +09:00
r-ca 6c32823a75 Revert "テスト"
This reverts commit 99f4fa65ad.
2023-12-17 22:13:36 +09:00
r-ca e867a09e25 Revert "テスト"
This reverts commit 78cfe50597.
2023-12-17 22:13:35 +09:00
r-ca 7b4757491c Revert "テスト"
This reverts commit c5c1768083.
2023-12-17 22:13:35 +09:00
r-ca c5c1768083 テスト 2023-12-17 22:12:45 +09:00
r-ca 78cfe50597 テスト 2023-12-17 22:03:42 +09:00
r-ca 99f4fa65ad テスト 2023-12-17 22:02:59 +09:00
r-ca 739e0392b6 テスト 2023-12-17 21:59:01 +09:00
r-ca ffe823698c WIP 2023-12-17 21:58:07 +09:00
r-ca eff8e2037a WIP 2023-12-17 19:29:20 +09:00
r-ca 06a78ebee0 色指定追加 2023-12-17 19:29:12 +09:00
r-ca 24abd02472 スタイル追加 2023-12-17 19:28:59 +09:00
r-ca a459a93d11 WIP 2023-12-17 19:26:53 +09:00
r-ca 3d473ae5c4 スクロールビュー追加 2023-12-17 19:25:09 +09:00
r-ca bf965e8fd4 引数削除 2023-12-17 19:22:44 +09:00
r-ca 9bc6a144ec 管理画面追加 2023-12-17 19:22:06 +09:00
r-ca 7f79248c50 ナビゲーションに追加 2023-12-17 19:20:43 +09:00
r-ca c0f4b8bce7 ドキュメント一覧ページ作成 2023-12-17 19:19:29 +09:00
r-ca 47a38471c7 レイアウト修正 2023-12-17 19:16:46 +09:00
r-ca f1bef54bb4 Revert "作業用"
This reverts commit 50881a3b
2023-12-17 18:28:43 +09:00
r-ca fe56913df0 カラースキーマ作成 2023-12-17 18:28:19 +09:00
r-ca 7bc5138208 WIP 2023-12-17 18:18:22 +09:00
r-ca 637d77f95b リネーム 2023-12-17 17:29:38 +09:00
r-ca cfeb51b422 A13用カラーパレット 2023-12-17 17:29:29 +09:00
r-ca 4ae3a20b40 A11以下用カラーパレット(生成) 2023-12-17 15:58:44 +09:00
r-ca 50881a3b2a 作業用 2023-12-17 15:47:33 +09:00
r-ca c443093924 項目を追加, レイアウト微修正 2023-12-17 15:44:25 +09:00
r-ca e74921acda activity_main修正 2023-12-17 15:34:30 +09:00
r-ca e5f0402079 微修正 2023-12-17 15:33:52 +09:00
r-ca 326d7495ac 微修正 2023-12-17 15:32:38 +09:00
r-ca b099ec1a41 微修正 2023-12-17 15:32:25 +09:00
r-ca a589a2ad3f 内部でナビゲーショングラフを持つように変更 WIP 2023-12-17 15:32:11 +09:00
r-ca 2b640f994d レイアウト修正 2023-12-17 15:31:32 +09:00
r-ca c3d06c4d1f ナビゲーション構成変更 2023-12-17 15:31:01 +09:00
r-ca a0ce6bf7f2 WIP 2023-12-17 15:30:00 +09:00
r-ca efa377409d 命名変更 2023-12-17 15:28:51 +09:00
r-ca 65c6264428 コンテナのレイアウト作成 2023-12-17 15:27:51 +09:00
r-ca 077a8bc4d9 サブメニュー用のコンテナを作成 2023-12-17 15:26:57 +09:00
r-ca ad1467878f テーマ, xmlns追加 2023-12-17 15:23:59 +09:00
r-ca adc76d7213 名称変更 2023-12-17 15:22:44 +09:00
r-ca a9c6086f2b 引数削除 2023-12-17 15:22:02 +09:00
r-ca 3ca9cf0b62 ドキュメント用のデバッグメニュー追加 2023-12-17 15:21:32 +09:00
r-ca 4e287d02f9 デバッグログ削除 2023-12-17 14:34:50 +09:00
r-ca 7eeed348ca レイアウトマネージャー追加など 2023-12-17 14:34:40 +09:00
r-ca c968100b9d activity_main修正 2023-12-17 14:34:29 +09:00
r-ca 1b6df08df8 Adapter修正 2023-12-17 14:34:10 +09:00
r-ca 975b3abd98 destinationIdの型を間違えてたので修正 2023-12-17 14:19:31 +09:00
r-ca 14ba4f0c93 RecyclerView実装WIP 2023-12-17 14:18:50 +09:00
r-ca e3ebe25cdd 推移イベント呼ぶようにした 2023-12-17 14:16:56 +09:00
r-ca c36246bded WIP 2023-12-17 14:13:31 +09:00
r-ca d30d6ef519 WIP 2023-12-17 14:11:42 +09:00
r-ca 78b6c58dcd 仮置きテキスト削除 2023-12-17 14:10:37 +09:00
r-ca 232ca60238 レイアウト修正 2023-12-17 14:10:05 +09:00
r-ca 021650f064 レイアウト生成 2023-12-17 14:08:37 +09:00
r-ca 1cf28d5997 Getter/Setter作成 2023-12-17 13:55:56 +09:00
r-ca 334954b6a8 データモデル作成 2023-12-17 13:55:35 +09:00
r-ca 0fc5c13427 レイアウト作成WIP 2023-12-17 13:53:32 +09:00
r-ca 66f79842b7 レイアウト作成WIP 2023-12-17 13:53:11 +09:00
r-ca 094eed8bb3 レイアウト作成WIP 2023-12-17 13:52:15 +09:00
r-ca 06f746d7b0 参照するテーマを追加 2023-12-17 13:51:12 +09:00
r-ca 95456166c2 ナビゲーションに追加 2023-12-17 13:49:40 +09:00
r-ca 206173e73a DebugMenuMetaDataFragment 2023-12-17 13:48:43 +09:00
r-ca a683815540 DebugMenuMetaDataFragment 2023-12-17 13:48:19 +09:00
r-ca 93abec047d DebugMenuTopFragment: 引数削除 2023-12-17 13:46:45 +09:00
r-ca 82732d4c35 DebugMenuTopFragment: 作成 2023-12-17 13:46:09 +09:00
r-ca 137316d95b デバッグメニュー作り直す 2023-12-17 13:42:47 +09:00
r-ca 92ec3d31f4 WIP 2023-12-17 13:41:44 +09:00
r-ca b7fd424f33 暫定 2023-12-17 13:39:36 +09:00
r-ca ea923aa884 WIP 2023-12-17 13:39:30 +09:00
r-ca 493cd5050d ナビゲーションに追加 2023-12-17 13:39:24 +09:00
r-ca e3421d6ce4 空っぽのコンストラクタなどを追加 2023-12-17 13:31:50 +09:00
r-ca 84ac06d5df 引数に関する処理を削除 2023-12-17 13:22:59 +09:00
r-ca b7e29233cd Getter/Setter追加 2023-12-17 13:21:18 +09:00
r-ca 17c7b5b675 アダプタ実装WIP 2023-12-17 13:20:59 +09:00
r-ca f8a1aa1e77 データモデル作成 2023-12-17 13:16:14 +09:00
r-ca ac011bf2d1 ドキュメントマネージャUI作成 WIP 2023-12-17 13:08:42 +09:00
r-ca 0e42001287 ドキュメントマネージャUI作成 WIP 2023-12-17 13:07:19 +09:00
r-ca c5ba8e8fee ドキュメントマネージャUI作成 2023-12-17 13:02:07 +09:00
r-ca 26c8c2c6ad UI微修正 2023-12-17 12:58:43 +09:00
r-ca 239ae81c78 debugの依存関係に:shared:uiモジュールを追加 2023-12-17 12:16:22 +09:00
r-ca 4366723b21 appの依存関係に:shared:uiモジュールを追加 2023-12-17 12:16:02 +09:00
r-ca e1190449c6 UIの共有要素を含めるモジュールを作成 2023-12-17 12:15:21 +09:00
r-ca f5cff1c43b UIの共有要素を含めるモジュールを作成 2023-12-17 12:10:03 +09:00
r-ca faf4f9bc1f カラーパレットを暫定でつくった 2023-12-17 12:04:49 +09:00
r-ca 605bdf5d9b デバッグメニューのプレビューでテーマを読み込めるようにした 2023-12-17 11:58:10 +09:00
r-ca 2a60f884cf ドキュメント関係のデバッグ画面WIP 2023-12-17 11:49:45 +09:00
r-ca 579cd86dab Merge remote-tracking branch 'origin/develop' into develop 2023-12-17 11:41:27 +09:00
r-ca 5d8b132956 Revert "デバッグメニューレイアウト作りなおし WIP"
This reverts commit 2ada626c04.
2023-12-16 22:04:43 +09:00
r-ca 10b3b514d0 Revert "デバッグメニューレイアウト作りなおし WIP"
This reverts commit b4ba9308d2.
2023-12-16 22:04:43 +09:00
r-ca 16ec2b886d Revert "デバッグメニューレイアウト作りなおし カード追加 WIP"
This reverts commit 7cced5a4b1.
2023-12-16 22:04:42 +09:00
r-ca f406e2a258 Revert "デバッグメニューレイアウト作りなおし カード追加 WIP"
This reverts commit 6051271c81.
2023-12-16 22:04:39 +09:00
r-ca 6051271c81 デバッグメニューレイアウト作りなおし カード追加 WIP 2023-12-16 21:13:49 +09:00
r-ca 7cced5a4b1 デバッグメニューレイアウト作りなおし カード追加 WIP 2023-12-16 21:08:50 +09:00
r-ca b4ba9308d2 デバッグメニューレイアウト作りなおし WIP 2023-12-16 21:07:46 +09:00
r-ca 2ada626c04 デバッグメニューレイアウト作りなおし WIP 2023-12-16 21:06:26 +09:00
r-ca c9a7b79b50 WIP 2023-12-16 21:05:09 +09:00
r-ca 88a64ce43d デバッグメニュー用のRowアイテム作成 WIP 2023-12-16 20:42:53 +09:00
ろむねこ 4e089c5405 Update issue templates 2023-12-16 20:28:00 +09:00
r-ca 30cd6b94f0 レイアウト修正WIP 2023-12-16 17:17:46 +09:00
r-ca 365cf562cb レイアウト修正WIP 2023-12-16 17:12:54 +09:00
r-ca 2078698bfa インポートするツールバーが間違っていた?ので変更WIP 2023-12-16 17:09:35 +09:00
r-ca 80e9274cf6 WIP 2023-12-16 17:01:34 +09:00
r-ca 86b9e3ff3e タイトルからDocumentMetaをつくれるように 2023-12-16 16:48:58 +09:00
r-ca ecead0465d Impl実装 2023-12-16 16:41:15 +09:00
r-ca e8aab5e730 Impl実装 2023-12-16 16:40:25 +09:00
r-ca 0f8cf3dca0 Stringでパスを取得するオプションを追加 2023-12-16 16:39:59 +09:00
r-ca 8f1b47d4c4 Impl WIP 2023-12-16 16:39:23 +09:00
r-ca 76c0fc1fe7 Impl 2023-12-16 16:36:34 +09:00
r-ca 2ff657c59d リポジトリ作成機能WIP 2023-12-16 16:36:19 +09:00
r-ca 1216d9a3b7 Repositoryを取得できるようにした 2023-12-16 16:30:08 +09:00
r-ca f0ab914ca5 リポジトリのGetter/Setterを追加 2023-12-16 16:29:23 +09:00
r-ca 12537b3506 WIP 2023-12-16 16:28:30 +09:00
r-ca 5f6d4df5b2 コンストラクタを使うように修正 2023-12-16 16:22:31 +09:00
r-ca 95dafdebe5 壊れた場所を修正 2023-12-16 16:19:35 +09:00
r-ca d23e8510db 命名修正 2023-12-16 16:17:51 +09:00
r-ca 42a541e5dc Processorモジュール作成 2023-12-16 16:02:39 +09:00
r-ca 7daac01c58 Merge remote-tracking branch 'origin/develop' into develop 2023-12-16 15:52:50 +09:00
ろむねこ 25827d0e9d モジュール構成図更新 2023-12-16 15:52:32 +09:00
r-ca b9fef9ad73 依存関係にJGitを追加 2023-12-16 15:23:09 +09:00
r-ca c33348d5fd WIP 2023-12-16 15:22:41 +09:00
r-ca 2b3b738d3c DocumentProcessor作成 2023-12-16 15:13:47 +09:00
r-ca 3d7fbf8a95 ロジック実装 2023-12-16 14:23:44 +09:00
r-ca 132991122f ログ追加 2023-12-16 14:22:38 +09:00
r-ca 43b0dd4eed LoggerのModule作成 2023-12-16 14:20:26 +09:00
r-ca c3b53776e4 Logger作成 2023-12-16 14:18:36 +09:00
r-ca 79dfc5b5ba Logger作成WIP 2023-12-16 14:13:43 +09:00
r-ca 55f51cef47 Logger作成WIP 2023-12-16 14:13:26 +09:00
r-ca d1402ad91b Logger作成 2023-12-16 14:13:12 +09:00
r-ca f6e6b91213 TODOファイル作成 2023-12-16 14:13:07 +09:00
r-ca 81dc92f449 WIP 2023-12-16 14:12:58 +09:00
r-ca 5fd3a88b38 WIP 2023-12-16 14:03:39 +09:00
r-ca 3bab78883b setRepository 2023-12-16 13:57:13 +09:00
r-ca ac3523780f Implにメソッド生成 2023-12-16 13:56:29 +09:00
r-ca 87850eb899 変更 2023-12-16 13:55:33 +09:00
r-ca 698a191586 Impl生成 2023-12-16 13:50:22 +09:00
r-ca c35bf9cabd JGitアクションのRepository実装 2023-12-16 13:47:21 +09:00
r-ca 8c21d0db04 メソッド追加 2023-12-16 13:41:12 +09:00
r-ca c875ba5e54 コンストラクタの種類を追加 2023-12-16 13:40:08 +09:00
r-ca c297fb043a コンストラクタを追加 2023-12-16 13:36:46 +09:00
r-ca bd97508a3e コメントのミスを修正 2023-12-16 13:36:23 +09:00
r-ca 07a489b151 コンストラクタ追加 2023-12-16 13:35:51 +09:00
r-ca c59871300a 移動してなくなったインポート/Injectionを消した 2023-12-14 14:54:12 +09:00
r-ca 173e91f461 アンコメント 2023-12-14 14:53:19 +09:00
r-ca 12cba0242b Hilt Module実装 2023-12-14 14:38:34 +09:00
r-ca 4ed88e8fac WIP Impl実装 2023-12-14 14:36:21 +09:00
r-ca 1d9de332db 依存関係にUtilsを追加 2023-12-14 14:31:20 +09:00
r-ca 72163182a0 Impl WIP 2023-12-14 14:29:19 +09:00
r-ca 801d7e0737 Interface WIP 2023-12-14 14:28:34 +09:00
r-ca 58b87f879a パッケージ構成変更 2023-12-14 14:24:39 +09:00
r-ca e518eaf742 パッケージ構成変更 2023-12-14 14:23:07 +09:00
r-ca e3346dd605 Revert "パッケージ構成変更"
This reverts commit ca3cd2b12c.
2023-12-14 14:22:52 +09:00
r-ca ca3cd2b12c パッケージ構成変更 2023-12-14 14:21:50 +09:00
r-ca af25a502dc TODO 2023-12-14 12:51:21 +09:00
r-ca b731e566e7 JavaDoc対応 2023-12-14 12:51:15 +09:00
r-ca 2f29f5bf85 TODO 2023-12-14 12:49:11 +09:00
r-ca 6660469b43 JavaDoc対応(パラメータ) 2023-12-14 12:49:05 +09:00
r-ca 992caa4088 JavaDoc対応 2023-12-14 12:48:44 +09:00
r-ca 31e1f23475 TODO 2023-12-14 12:47:21 +09:00
r-ca 5b5f4b16ad JavaDoc対応(パラメータ) 2023-12-14 12:47:05 +09:00
r-ca dbb338ce63 JavaDoc対応(パラメータ), TODO 2023-12-14 12:46:37 +09:00
r-ca 1d33ded518 JavaDoc対応 2023-12-14 12:45:45 +09:00
r-ca fe17397b38 JavaDoc対応 2023-12-14 12:39:48 +09:00
r-ca db2cac5c62 JavaDoc対応(WIP) 2023-12-14 12:38:58 +09:00
r-ca aeec6c60b2 空白行 2023-12-14 12:37:29 +09:00
r-ca 243720ee96 JavaDoc対応 2023-12-14 12:37:19 +09:00
r-ca ec81dfd525 Placeholder 2023-12-14 12:34:04 +09:00
r-ca 39e22de1a2 デバッグ: Roomのクエリをメインスレッドで実行できるようにした 2023-12-14 12:11:30 +09:00
r-ca b7f7183094 コンストラクタ登録忘れ 2023-12-14 12:09:09 +09:00
r-ca 911465a7ac 警告吐かれたので34に更新 2023-12-14 12:06:21 +09:00
r-ca 82ed7c7111 テストデータの挿入を実装 2023-12-14 12:04:47 +09:00
r-ca 636affe312 fullPathは重複する内容なので削除 2023-12-14 12:04:41 +09:00
r-ca 54aed8ec6b 依存関係にmodelを追加 2023-12-14 11:59:57 +09:00
r-ca 1d36a09731 WIP 2023-12-14 11:59:30 +09:00
r-ca c3eb16af85 DebugMenuにDocumentDebugをInjectionした 2023-12-14 11:58:51 +09:00
r-ca efb4a9f8a2 モジュール実装 2023-12-14 11:56:43 +09:00
r-ca 31799218a9 Insertを追加 2023-12-14 11:55:20 +09:00
r-ca 423993b53e WIP 2023-12-14 11:54:43 +09:00
r-ca b2410b2625 WIP 2023-12-14 11:54:05 +09:00
r-ca d47832ac82 getTagIdsを追加 2023-12-14 11:53:03 +09:00
r-ca d61104d1ab ArrayListやめた 2023-12-14 11:52:23 +09:00
r-ca 00983d49cd DocumentDebugインターフェースWIP 2023-12-14 11:46:50 +09:00
r-ca cd77da18a0 DocumentDebugクラス作成 2023-12-14 11:45:41 +09:00
r-ca f45900b464 Revert "WIP"
This reverts commit de1977e1ff.
2023-12-14 11:43:51 +09:00
r-ca cda0974d99 Revert "一旦コメントアウト"
This reverts commit c1ce3e0625.
2023-12-14 11:43:45 +09:00
r-ca c1ce3e0625 一旦コメントアウト 2023-12-14 11:43:35 +09:00
r-ca de1977e1ff WIP 2023-12-14 11:43:28 +09:00
r-ca ec08358fcc UI更新 2023-12-14 11:42:38 +09:00
r-ca d40a630487 コンストラクタ追加 2023-12-14 11:39:08 +09:00
r-ca f28e506060 TagListのConverterを実装した 2023-12-14 11:36:41 +09:00
r-ca 957ad6aacb TagListのConverterを実装した 2023-12-14 11:36:09 +09:00
r-ca 8196e9afcb DocumentのHiltモジュールを実装した 2023-12-14 11:32:22 +09:00
r-ca 2cd506d062 WIP エラー対処でnullを返すようにした 2023-12-14 11:30:17 +09:00
r-ca 1627e05fa5 DocumentDetail取得するロジック書いた 2023-12-14 11:29:57 +09:00
r-ca 028a00bde6 DocumentDetail取得するロジック書いた 2023-12-14 11:28:59 +09:00
r-ca fe843e0429 ArrayListやめた 2023-12-14 11:25:44 +09:00
r-ca d575dcdb10 ArrayListやめた 2023-12-14 11:25:12 +09:00
r-ca 8a1314446d ArrayListやめた 2023-12-14 11:24:36 +09:00
r-ca ca82fe5e55 Dao修正のクエリ修正 2023-12-14 11:13:44 +09:00
r-ca 374986816f Dao修正のクエリ修正 2023-12-14 11:13:25 +09:00
r-ca 5f731268b5 Dao修正のクエリ修正 2023-12-14 11:13:03 +09:00
r-ca 878480097a Converter実装 2023-12-14 11:10:02 +09:00
r-ca e033eb754d WIP 2023-12-14 11:09:11 +09:00
r-ca 9c30879084 TagDao: 全体的にArrayListに変更 2023-12-14 11:00:05 +09:00
r-ca 36b0884481 WIP 2023-12-14 10:59:28 +09:00
r-ca 0a9054deac WIP 2023-12-14 10:56:55 +09:00
r-ca 489ed3c4f8 修正 2023-12-14 10:56:21 +09:00
r-ca d28f03573d Metaの取得を1クエリで完結させたいのでDocumentEntityに移動 2023-12-14 10:56:13 +09:00
r-ca 5b9b9b5580 Metaの取得を1クエリで完結させたいのでDocumentEntityに移動 2023-12-14 10:55:21 +09:00
r-ca cb2ad03a80 Libraryにタグを追加した 2023-12-14 10:54:34 +09:00
r-ca 4dc68854d3 名前が紛らわしすぎたので*Entityにリネームした 2023-12-14 10:50:33 +09:00
r-ca c12319e103 WIP 2023-12-14 10:49:23 +09:00
r-ca 5101bb05dc DatabaseをInjectするようにした? 2023-12-14 10:46:31 +09:00
r-ca ab709a0273 :sourceモジュールを依存関係に追加 2023-12-14 10:45:32 +09:00
r-ca ceebd341b1 依存関係のコメント修正 2023-12-14 10:45:10 +09:00
r-ca cba87159ab data: DocumentリポジトリのImpl WIP 2023-12-14 10:42:22 +09:00
r-ca 1e3565405e data: DocumentリポジトリのインターフェースWIP 2023-12-14 10:40:25 +09:00
r-ca 24433528dc data: 依存関係にModelを追加 2023-12-14 10:40:10 +09:00
r-ca 1e0a9f47b6 data: クラス作成 2023-12-14 10:23:09 +09:00
r-ca 2cf3898f65 Module実装 2023-12-14 10:19:12 +09:00
r-ca 960f159a31 Impl実装 2023-12-14 10:18:24 +09:00
r-ca 922168c86b Impl実装WIP 2023-12-14 10:16:33 +09:00
r-ca 779a07ff26 インタフェース実装 2023-12-14 10:16:07 +09:00
r-ca 21b0212de7 インターフェースに変更(ミス) 2023-12-14 10:14:09 +09:00
r-ca 0c504da18c Revert "インターフェースに変更(ミス)"
This reverts commit 12d2a3c935.
2023-12-14 10:13:52 +09:00
r-ca 12d2a3c935 インターフェースに変更(ミス) 2023-12-14 10:13:03 +09:00
r-ca 5262253624 SharedPrefUtilsクラス作成 2023-12-14 10:12:43 +09:00
r-ca 6f962feef7 Getter/Setter 2023-12-14 04:33:23 +09:00
r-ca bacab14be6 Getter/Setter 2023-12-14 04:33:20 +09:00
r-ca e0a786764e 全体的に変更 2023-12-14 04:32:32 +09:00
r-ca 17bf162341 フルパスを返すGetterを追加 2023-12-14 04:28:10 +09:00
r-ca 0540f775d3 DocumentPathクラス作成 2023-12-14 04:24:48 +09:00
r-ca 2b04432a37 Getter/Setter作成 2023-12-14 04:24:38 +09:00
r-ca 0a4dbbabd9 Getter/Setter作成 2023-12-14 04:22:59 +09:00
r-ca 2f004502a1 DocumentTagのモデル作成WIP 2023-12-14 04:21:37 +09:00
r-ca 8b0a7232cc パッケージ名変更 2023-12-14 04:18:37 +09:00
r-ca fc4db3f86a DocumentTagモデル作成WIP 2023-12-14 04:18:23 +09:00
r-ca 58b7b274b8 Placeholder 2023-12-14 04:17:20 +09:00
r-ca d4f1d76763 DocumentMetaのモデル作成WIP 2023-12-14 04:17:13 +09:00
r-ca 250101c00a DocumentDetailのモデル作成WIP 2023-12-14 04:15:39 +09:00
r-ca 9270662842 パッケージ整理 2023-12-14 04:12:15 +09:00
r-ca d212e8d893 型を管理するモジュールを追加 2023-12-14 04:10:39 +09:00
r-ca 510d31544f 型を管理するモジュールを追加 2023-12-14 04:10:36 +09:00
r-ca e50a3bb8ce DeleteByIdを修正 2023-12-14 04:08:55 +09:00
r-ca e626829b5c DeleteByIdを修正 2023-12-14 04:08:44 +09:00
r-ca 2ab8999638 TagDao: Insert, Update, Delete実装 2023-12-14 04:08:01 +09:00
r-ca 8f118b7067 DocumentDao: Insert, Update, Delete実装 2023-12-14 04:06:54 +09:00
r-ca 8a0b6bd3db Hiltモジュール実装 2023-12-14 03:48:22 +09:00
r-ca bd17bf5f80 Providerなのでstaticに 2023-12-14 03:46:26 +09:00
r-ca 080f11c3e7 ビルドできないので一旦コメントアウト 2023-12-14 03:44:07 +09:00
r-ca 117ed40796 ビルドできないので一旦コメントアウト 2023-12-14 03:43:39 +09:00
r-ca 2188e55c5f ビルドできないので一旦コメントアウト 2023-12-14 03:43:20 +09:00
r-ca 49cc132f14 NonNullアノテーション追加 2023-12-14 03:41:33 +09:00
r-ca 4296ed6209 WIP DateTypeConverter実装 2023-12-14 03:40:58 +09:00
r-ca 8663b86fc6 WIP DateTypeConverter実装 2023-12-14 03:40:56 +09:00
r-ca c46ffd8454 DateTypeConverterクラス作成 2023-12-14 03:39:24 +09:00
r-ca cde4867b7e 主キーにNonNullアノテーションを追加 2023-12-14 03:37:20 +09:00
r-ca fdb2d535cd 主キーにNonNullアノテーションを追加 2023-12-14 03:36:37 +09:00
r-ca 6e8ad7f9fc 不要な依存関係の整理など 2023-12-14 03:36:02 +09:00
r-ca 0613c8284a モジュール構成変更 2023-12-14 03:33:56 +09:00
r-ca 08fafcfced プロバイダ作成 2023-12-14 03:32:02 +09:00
r-ca b463b61fd4 継承忘れ 2023-12-14 03:30:23 +09:00
r-ca 6e069a1579 WIP 2023-12-14 03:29:46 +09:00
r-ca 17cb6af538 変更 2023-12-14 03:27:48 +09:00
r-ca 6c1bd61240 デバッグメニューのパス取得ボタンで直接呼び出すようにしてみた 2023-12-14 03:26:51 +09:00
r-ca 52049d599a デバッグ用に一旦依存関係に追加 2023-12-14 03:21:22 +09:00
r-ca 57184a2c8b utils: placeholderの戻り値を間違えて変えてたので修正 2023-12-14 03:19:38 +09:00
r-ca c767f65683 utils: アプリのExternalStorageのパスを取得できるようにした 2023-12-14 03:18:51 +09:00
r-ca 2155edd15f utils: アプリのコンテキストを取得するようにした(アノテーション忘れ) 2023-12-14 03:17:26 +09:00
r-ca 2b97ecf1fd utils: アプリのコンテキストを取得するようにした 2023-12-14 03:16:38 +09:00
r-ca 6f3639702a utils: WIP Implクラスに全部Implementした 2023-12-14 03:15:44 +09:00
r-ca 62247033e9 utils: WIP リポジトリ実装 2023-12-14 03:14:55 +09:00
r-ca ee448ad2e5 (リファクタ機能に巻き込まれたファイル) 2023-12-14 03:10:26 +09:00
r-ca 6069d1eb1c utils: クラス作成 2023-12-14 03:10:02 +09:00
r-ca 9c1aeb0dbf utils: パッケージ整理 2023-12-14 03:08:51 +09:00
r-ca b9ae72aedd source: インターフェースに変更 2023-12-14 03:04:52 +09:00
r-ca 5180a51c74 source: クラス作成 2023-12-14 03:04:32 +09:00
r-ca 082166cc5d source: placeholder削除 2023-12-14 03:03:50 +09:00
r-ca 94e0ff7eed source: パッケージ整理 2023-12-14 03:03:36 +09:00
r-ca 5cf403a124 source: パッケージ整理 2023-12-14 03:00:39 +09:00
r-ca 8a789ffe7d source: WIP Database アノテーション付与 2023-12-14 02:59:32 +09:00
r-ca 26df200fe4 source: WIP Database 2023-12-14 02:58:48 +09:00
r-ca e19bfb7f09 source: Database 2023-12-14 02:57:25 +09:00
r-ca 2502cf64ec source: Dao: WIP, TagDao実装 2023-12-14 02:43:50 +09:00
r-ca 2ccc576c69 source: Dao: WIP, LibraryDao実装 2023-12-14 02:42:25 +09:00
r-ca b4ee93cd5c source: Dao: WIP, リネーム 2023-12-14 02:40:56 +09:00
r-ca 6cadc2d75b source: Dao: WIP, DocumentDao作成(リネーム) 2023-12-14 02:40:30 +09:00
r-ca 7b8e7a3e48 source: Dao: WIP, ファイル作成 2023-12-14 02:36:40 +09:00
r-ca be5d7f7214 source: placeholder削除 2023-12-14 02:31:36 +09:00
r-ca 970fbdc270 source: placeholder削除 2023-12-14 02:31:33 +09:00
r-ca ec3618deb3 source: WIP, 項目名追加 2023-12-14 02:30:48 +09:00
r-ca 4eb5b3ad08 source: WIP, Tagエンティティ修正 2023-12-14 02:30:32 +09:00
r-ca 7124d089a7 source: WIP, Tagエンティティ実装 2023-12-14 02:30:12 +09:00
r-ca e108cd7834 source: WIP, インポート忘れ 2023-12-14 02:29:25 +09:00
r-ca 90362ad0f4 source: WIP, 型修正 2023-12-14 02:29:10 +09:00
r-ca e05de15865 source: WIP, 項目名追加 2023-12-14 02:28:51 +09:00
r-ca 8d86197270 source: WIP, Libraryエンティティ実装 2023-12-14 02:28:32 +09:00
r-ca 984b82d4a1 source: WIP, 列名の指定を追加した 2023-12-14 02:26:43 +09:00
r-ca 7c3588275c source: WIP, Documentエンティティ作成 2023-12-14 02:25:26 +09:00
r-ca 02ab3467ed source: WIP, エンティティ作成 2023-12-14 02:23:52 +09:00
r-ca 7c1ab534d8 source: 依存関係にJGitを追加 2023-12-14 02:21:44 +09:00
r-ca 3394148c93 source: 依存関係にRoomを追加 2023-12-14 02:20:37 +09:00
r-ca c8cec5d002 source: 依存関係にHiltを追加 2023-12-14 02:20:16 +09:00
r-ca ad982378ed source: パッケージ作成 2023-12-14 02:18:25 +09:00
r-ca 4f50861280 source: パッケージ作成 2023-12-14 02:17:23 +09:00
r-ca f8c4ee9e6c :sourceモジュール作成 2023-12-14 02:15:12 +09:00
r-ca cbe5d1069a パッケージ構成変更 2023-12-14 01:20:21 +09:00
r-ca d222d77a91 RoomUtils WIP 2023-12-13 18:48:44 +09:00
r-ca 0804bfb8f6 Repositories Dao作成 2023-12-13 18:44:51 +09:00
r-ca b49dda2e18 Databaseクラス修正 2023-12-13 18:43:53 +09:00
r-ca daef06810b Databaseクラス作成WIP 2023-12-13 18:43:16 +09:00
r-ca 6786fbf569 Documents Dao作成WIP 2023-12-13 18:43:04 +09:00
r-ca df0386e349 Documentsエンティティ修正 2023-12-13 18:42:57 +09:00
r-ca e9689bb99a Documentsエンティティ修正 2023-12-13 18:33:50 +09:00
r-ca 22d92f87ce Column名を追加 2023-12-13 18:32:40 +09:00
r-ca ab4a88e4bd リポジトリを管理するエンティティを作成 WIP 2023-12-13 18:29:43 +09:00
r-ca 6983353912 リポジトリを管理するエンティティを作成 2023-12-13 18:16:49 +09:00
r-ca d561bf2ea6 リポジトリ作成ロジック修正 2023-12-12 12:41:20 +09:00
r-ca c4427313b0 リポジトリ作成ロジック修正 2023-12-12 12:39:37 +09:00
r-ca 4df58a5af9 リポジトリ作成ロジック修正 2023-12-12 12:27:44 +09:00
r-ca 7e262b6b57 ファイル書き込みテスト 2023-12-12 12:24:14 +09:00
r-ca 20575e115c コンストラクタインジェクションできなかったので修正 2023-12-12 12:13:25 +09:00
r-ca a0a730a6a9 JGitをMaven Repositoryから直接インポートするようにした 2023-12-12 12:08:26 +09:00
r-ca 0e1a2c78a2 ロジック修正 2023-12-12 11:49:22 +09:00
r-ca 6b1c41bd30 修正 2023-12-12 11:49:18 +09:00
r-ca 73a1373908 Debugモジュールの依存関係にJGitを追加 2023-12-12 11:48:11 +09:00
r-ca e5bfd5142b ロジック実装 WIP 2023-12-12 11:47:16 +09:00
r-ca 57c93abeef WIP Repository Debugger UI 2023-12-12 11:44:30 +09:00
r-ca 661da2f5ee Fragment整理 2023-12-12 11:41:24 +09:00
r-ca a2c4710654 WIP Repository Debugger作成 2023-12-12 11:40:26 +09:00
r-ca 70a7ca5d08 WIP Repository Debugger作成 2023-12-12 11:40:05 +09:00
r-ca 28956b24da WIP Repository Debugger作成 2023-12-12 11:39:40 +09:00
r-ca c782960949 DebugFuncモジュール作成 2023-12-12 11:37:11 +09:00
r-ca 31fcdd788a DebugFunc実装 2023-12-12 11:35:28 +09:00
r-ca ef6431afbc デバッグ用Repository/Module/Impl作成 2023-12-12 11:32:47 +09:00
r-ca 5b227ee089 RepoUtils実装WIP 2023-12-12 11:32:34 +09:00
r-ca 8de21d751e UtilsモジュールのfileUtilsを使用するように 2023-12-12 11:27:30 +09:00
r-ca eb79cffb34 Utilsモジュールを依存に追加 2023-12-12 11:26:10 +09:00
r-ca 2c1f1c6828 移動したので元を削除 2023-12-12 11:25:11 +09:00
r-ca c9f3510745 Module作成 2023-12-12 11:24:25 +09:00
r-ca 309b425e2c namespaces間違えていたので修正 2023-12-12 11:06:06 +09:00
r-ca 7add8bcc39 ファイル名修正 2023-12-12 11:03:04 +09:00
r-ca c5db820e1d Utilsモジュールの依存にHiltを追加 2023-12-12 11:01:49 +09:00
r-ca 119140a6bc InternalUtilsなモジュールに移植WIP 2023-12-12 11:00:26 +09:00
r-ca 6bc741d0b0 パッケージ名変更など 2023-12-12 10:52:49 +09:00
r-ca 1682e06d24 Internal Utilsを通してデータを返すように 2023-12-12 10:47:13 +09:00
r-ca 729600917c InternalUtils 2023-12-12 10:45:55 +09:00
r-ca 141bddd504 InternalUtils 2023-12-12 10:43:30 +09:00
r-ca ee53b48d96 InternalUtilsのモジュールを作成 2023-12-12 10:38:22 +09:00
r-ca 7ec0492c0c Revert "WIP"
This reverts commit 5f35de732d.
2023-12-12 10:36:11 +09:00
r-ca 5f35de732d WIP 2023-12-12 10:36:02 +09:00
r-ca bb667a3d37 Revert "WIP"
This reverts commit 82fcf044cf.
2023-12-12 10:29:35 +09:00
r-ca 82fcf044cf WIP 2023-12-12 10:29:27 +09:00
r-ca 065d3594ac Module実装 2023-12-12 10:24:53 +09:00
r-ca 5aed05adc4 リファクタリング 2023-12-12 10:23:13 +09:00
r-ca 8f7a420ae3 RequireNonNullした 2023-12-12 10:22:28 +09:00
r-ca 29641c370e DataモジュールのminSdkを26に変更 2023-12-12 10:21:00 +09:00
r-ca efb2484569 Commons: リポジトリに引数なしを追加、ロジック実装 2023-12-12 10:18:50 +09:00
r-ca 4c958bb333 Commons: リポジトリ実装 2023-12-12 10:14:12 +09:00
r-ca 6ca1fd6097 Commonsリポジトリ作成 2023-12-12 10:12:32 +09:00
r-ca 52087c3b9e Fix, ファイルパス確認してみた 2023-12-12 10:09:17 +09:00
r-ca 5c22b2731b UI変更 2023-12-12 10:00:03 +09:00
r-ca 63f4a8229a WIP 2023-12-12 09:59:05 +09:00
r-ca 08149e9e7e テキスト修正 2023-12-12 09:59:00 +09:00
r-ca 6fb08cfa99 パッケージ作成 2023-12-11 16:18:55 +09:00
r-ca a28feee4dc WIP 2023-12-11 16:18:46 +09:00
r-ca a3923f7a3a WIP 2023-12-11 16:18:42 +09:00
r-ca d7f73d9207 WIP Entity作成 2023-12-11 16:07:35 +09:00
r-ca c182c97390 Dataモジュールの依存関係にRoomを追加 2023-12-11 16:04:25 +09:00
r-ca 64e85478bd WIP 2023-12-11 16:02:36 +09:00
r-ca 0402909473 Daoパッケージ作成 2023-12-11 16:00:12 +09:00
r-ca 6d40e00126 Entityパッケージ作成 2023-12-11 15:59:39 +09:00
r-ca 85282a2a34 ディレクトリ整理 2023-12-11 15:59:03 +09:00
r-ca 14a8b1a66d Injectした, 例を追加した 2023-12-11 15:39:34 +09:00
r-ca e9f03ed115 レイアウト修正 2023-12-11 15:36:23 +09:00
r-ca 1a86849463 Playgroundを開けるようにした 2023-12-11 15:36:05 +09:00
r-ca 9dac625117 ナビゲーションに追加 2023-12-11 15:32:44 +09:00
r-ca 4099e233d1 Playgroundをつくった 2023-12-11 15:32:38 +09:00
r-ca d68f9942eb Dynamic Colorを使わないようにした 2023-12-11 15:10:53 +09:00
r-ca d57fa48058 バージョンカタログにRoomを追加 2023-12-11 14:39:37 +09:00
r-ca 07b6434689 Impl 2023-12-11 14:36:08 +09:00
r-ca 1566807d4d WIP 2023-12-11 14:35:21 +09:00
r-ca f4eee6f58e Starredを追加 2023-12-11 14:35:17 +09:00
r-ca dc05e809f5 スタブをInjectionするようにした 2023-12-11 13:49:32 +09:00
r-ca 7d158bf3e2 ListからArrayListに変更, スタブを追加 2023-12-11 13:48:21 +09:00
r-ca 7d460a6069 MetaからDescriptionを削除してcreatedを追加 2023-12-11 13:23:01 +09:00
r-ca c6056dd033 なぜかハードコーディングされてたので修正 2023-12-11 13:13:10 +09:00
r-ca 29a77307a1 ラジオボタン切り替え時にリストを更新するように 2023-12-11 13:12:08 +09:00
r-ca 6839e60ff9 不要なラジオボタンを削除 2023-12-11 13:08:52 +09:00
r-ca 0473c5abc2 不要な処理を削除 2023-12-11 13:08:37 +09:00
r-ca 504e0a76d5 ロジックが意味不明だったので修正 2023-12-11 13:08:16 +09:00
r-ca 538e6ed98d レイアウト修正 2023-12-11 13:07:59 +09:00
r-ca 516ca15abd 取り違えていたので修正 2023-12-11 12:58:13 +09:00
r-ca c5485d0e4d Set忘れの修正 2023-12-11 12:57:05 +09:00
r-ca 7a3c6daf3d PrefのListを表示するように 2023-12-11 12:56:47 +09:00
r-ca 00aa51e082 fix 2023-12-11 12:56:13 +09:00
r-ca d36195c89b RecyclerViewやめた 2023-12-11 12:46:10 +09:00
r-ca 28d2eaa527 RecyclerView追加 2023-12-11 12:43:15 +09:00
r-ca f6b57a4b09 挙動実装 2023-12-11 12:42:26 +09:00
r-ca 386877e91e SharedPrefEditorのUI修正 2023-12-11 12:38:52 +09:00
r-ca 5a0c43b7fe SharedPrefEditorのUI修正 2023-12-11 12:38:41 +09:00
r-ca dbc22e7d87 SharedPrefEditorのUIを作成 2023-12-11 12:35:47 +09:00
r-ca 9685f05c53 SharedPref repoを作成 2023-12-11 12:32:35 +09:00
r-ca 6fb9d77f70 Revert "テスト"
This reverts commit 4c4664f4f6.
2023-12-11 12:19:04 +09:00
r-ca 4c4664f4f6 テスト 2023-12-11 12:15:00 +09:00
r-ca bbb7c38416 結果のよみこみかたを変更 2023-12-11 11:55:23 +09:00
r-ca 701bb898c5 ログ挿入 2023-12-11 11:54:02 +09:00
r-ca 1fa625e948 Contextの取得方法を修正 2023-12-11 11:53:56 +09:00
r-ca d4e429fdca 依存関係追加とか 2023-12-11 11:47:15 +09:00
r-ca 3dc1e2d4ee WIP 2023-12-11 11:47:01 +09:00
r-ca 9e8b222181 テスト 2023-12-11 11:46:51 +09:00
r-ca 3d22d68548 Fix typo 2023-12-11 11:44:17 +09:00
r-ca afe92c04e0 WIP 2023-12-11 11:24:45 +09:00
r-ca d6d4998f3a 引数はいらないので削除 2023-12-11 11:08:22 +09:00
r-ca f77e19556a WIP Pref Editor 2023-12-11 11:07:40 +09:00
r-ca fd04610e6c WIP Binds 2023-12-11 10:50:28 +09:00
r-ca cb687d51e4 Impl実装 2023-12-11 10:49:21 +09:00
r-ca e37328e1f5 CommonPref Interface実装 2023-12-11 10:38:50 +09:00
r-ca d10990e337 WIP 2023-12-11 10:35:40 +09:00
r-ca d9d0e1ff63 WIP 2023-12-11 10:34:27 +09:00
r-ca 5c3c66ec6e JGitを依存関係に追加 2023-12-11 10:27:29 +09:00
r-ca e62614cb18 JGit追加 2023-12-11 10:24:07 +09:00
r-ca 4615418e38 WIP 2023-12-11 10:06:48 +09:00
r-ca 5ed74d18d8 メタデータの定義をつくった 2023-12-11 10:04:06 +09:00
r-ca 586e6972a1 ドキュメントタイプWIP 2023-12-11 10:01:46 +09:00
r-ca f1090e046d ドキュメントタイプWIP 2023-12-11 10:00:36 +09:00
r-ca 32a8d308a1 ドキュメントデータの取得WIP 2023-12-11 09:58:02 +09:00
r-ca 7ba7cc77bf WIP 2023-12-11 09:54:48 +09:00
r-ca 4ef8d8c7ef ScannerScanFragment 2023-12-10 23:16:07 +09:00
r-ca 6a43b55809 Revert "名称変更"
This reverts commit 323f29f4a7.
2023-12-10 23:15:39 +09:00
r-ca 323f29f4a7 名称変更 2023-12-10 23:14:43 +09:00
r-ca 825d285361 レイアウト移植 2023-12-10 23:05:01 +09:00
r-ca b98c08ef16 WIP 2023-12-10 23:04:21 +09:00
r-ca 03ec846b96 com.websitebeaver:documentscannerをscannerモジュールの依存関係に追加 2023-12-10 23:03:00 +09:00
r-ca c9b8a880f3 SharedPrefEditor 2023-12-10 22:59:57 +09:00
r-ca efac779874 SharedPrefEditor 2023-12-10 22:58:36 +09:00
r-ca 031c755e1d PlaceHolder入れたりした 2023-12-10 22:57:11 +09:00
r-ca 35a0e68e2d WIP 2023-12-10 22:54:08 +09:00
r-ca cd537649a0 WIP 2023-12-10 22:54:04 +09:00
r-ca d1e3255219 カラーパレットを適用するようにした 2023-12-10 22:53:59 +09:00
r-ca 0c215013f3 とりあえずコメントアウト 2023-12-10 22:28:21 +09:00
r-ca 5c8fe0998c API 31以上用に変更 2023-12-10 22:25:26 +09:00
r-ca 08361e5d4d Colors 2023-12-10 22:23:15 +09:00
r-ca 12b053f2c1 idea 2023-12-10 19:21:29 +09:00
r-ca 557bc63f95 実際の情報を返すように 2023-12-10 19:21:21 +09:00
r-ca 085e52d4b6 モデル定義 2023-12-10 19:07:49 +09:00
r-ca 24332576e2 パッケージ名のミスを修正, DI実装 2023-12-10 18:27:14 +09:00
r-ca 15ee6f344f HiltModule追加, Bind追加 2023-12-10 18:14:10 +09:00
r-ca c2eec8064b DeviceMeta実装WIP 2023-12-10 18:10:30 +09:00
r-ca 6e3434b7f1 Hiltを依存関係に追加した 2023-12-10 18:05:41 +09:00
r-ca c59fdcf696 DeviceMeta WIP 2023-12-10 18:05:06 +09:00
r-ca 17cc72bd36 :dataモジュール作り直し 2023-12-10 18:03:34 +09:00
r-ca 03877e3e2d :dataモジュール作り直し 2023-12-10 18:02:53 +09:00
r-ca 6d3d9f001e Dataモジュール削除 2023-12-10 17:58:41 +09:00
r-ca 4462ced6ae Dataモジュール削除 2023-12-10 17:58:09 +09:00
r-ca bc0370303f DIテスト 2023-12-10 17:49:08 +09:00
r-ca 7bcc4dbbad DIテスト 2023-12-10 17:43:06 +09:00
r-ca 7e2f97d900 DIテスト 2023-12-10 17:27:28 +09:00
r-ca ce757da3c0 DIテスト 2023-12-10 17:24:21 +09:00
r-ca 6373bd1f47 Add local dependency 2023-12-10 17:23:27 +09:00
r-ca d1373eab9e Add hilt dependency 2023-12-10 17:22:31 +09:00
r-ca 7b4304224b WIP 2023-12-10 17:22:05 +09:00
r-ca f3cb02b6b2 アプリケーションクラス作成 2023-12-10 17:16:12 +09:00
r-ca 65c1996c47 WIP 2023-12-10 17:12:46 +09:00
r-ca 7d5a2316b0 WIP 2023-12-10 16:14:34 +09:00
r-ca 5fd3cde33f 命名修正など 2023-12-09 13:44:42 +09:00
r-ca 8fd1e85bcf レイアウトのミスを修正 2023-12-09 13:41:17 +09:00
r-ca 68a8e75946 とりあえずデバッグメニューを表示できるようにした 2023-12-09 13:40:07 +09:00
r-ca 2d44b20352 WIP 2023-12-09 13:38:15 +09:00
r-ca e3faadef3b WIP 2023-12-09 13:30:36 +09:00
r-ca 944935faba WIP 2023-12-09 13:30:31 +09:00
r-ca b879f2d98e WIP 2023-12-09 12:32:42 +09:00
r-ca afdb560ccb Navigation Componentを依存関係に追加 2023-12-09 10:08:07 +09:00
r-ca 3f1654f76b WIP 2023-12-09 10:06:42 +09:00
r-ca 4ff9c63876 依存関係に追加 2023-12-09 09:56:45 +09:00
r-ca 2190a320e1 :feature:debug追加 2023-12-09 09:55:57 +09:00
r-ca 348a918ab9 :feature:debug追加 2023-12-09 09:55:49 +09:00
r-ca 4b608d986e Add gradle dependency(Project Module) 2023-12-08 18:57:53 +09:00
ろむねこ ab2dc8103e WIP Update README.md 2023-12-08 11:27:01 +09:00
r-ca 648535f17b :data:source:preferenceを追加 2023-12-08 11:21:15 +09:00
r-ca 1805d5fcf6 :data:source, :data:source:databaseを追加 2023-12-08 11:20:24 +09:00
r-ca d4b847acc6 :data, :data:repositoryを追加 2023-12-08 11:19:02 +09:00
r-ca cae849f1c1 :component:common を追加 2023-12-08 11:17:41 +09:00
r-ca 44232ef93f :component:viewerを追加 2023-12-08 11:17:09 +09:00
r-ca 3e81fab284 :component, :component:scannerを追加 2023-12-08 11:16:24 +09:00
r-ca 108bee3010 :feature:common を追加 2023-12-08 11:15:26 +09:00
r-ca 3457475c51 モジュールのインポートを追加 2023-12-07 14:58:03 +09:00
r-ca 9524b305c6 依存関係整理 2023-12-07 14:57:09 +09:00
r-ca 7bb5d5ddfc 依存関係をVersionCatalogに移動 2023-12-07 14:56:50 +09:00
r-ca ff0b272fa4 Navigation関係をversionCatalogsに移動 2023-12-07 14:48:48 +09:00
r-ca 5eb9af56c2 Navigation関係をversionCatalogsに移動 2023-12-07 14:32:57 +09:00
r-ca b49a002896 Navigation Component追加 2023-12-07 14:27:21 +09:00
r-ca c9efb8b93b :feature:scan モジュール作成 2023-12-07 14:26:18 +09:00
r-ca 40ff40b25d :feature:library モジュール作成 2023-12-07 14:25:43 +09:00
r-ca bd6e6f6140 :feature:home, :feature:search モジュール作成 2023-12-07 14:21:21 +09:00
r-ca d55544e2df Revert ":ui:home モジュールを作成"
This reverts commit 474ed831c0.
2023-12-07 13:51:07 +09:00
r-ca d2a7e82f44 Revert "WIP"
This reverts commit 23f6f90b56.
2023-12-07 13:51:07 +09:00
r-ca afb458daf6 Revert "Navigation Componentのアップデート, 別モジュールのインプリメント"
This reverts commit b2b2f3095f.
2023-12-07 13:51:06 +09:00
r-ca 78bba740c2 Revert "モジュールのネームスペースを変更"
This reverts commit 5de7b09967.
2023-12-07 13:51:06 +09:00
r-ca c434e15c06 Revert "WIP"
This reverts commit f9f537b56a.
2023-12-07 13:51:04 +09:00
r-ca 4250351f5b Revert "WIP"
This reverts commit a0e5e77dcb.
2023-12-07 13:51:03 +09:00
r-ca 2b3fb068df Revert "WIP"
This reverts commit bf3a0c4fb8.
2023-12-07 13:51:03 +09:00
r-ca bf3a0c4fb8 WIP 2023-12-07 13:44:02 +09:00
r-ca a0e5e77dcb WIP 2023-12-07 12:53:12 +09:00
r-ca f9f537b56a WIP 2023-12-07 12:39:48 +09:00
r-ca 5de7b09967 モジュールのネームスペースを変更 2023-12-07 12:38:55 +09:00
r-ca b2b2f3095f Navigation Componentのアップデート, 別モジュールのインプリメント 2023-12-07 12:38:40 +09:00
r-ca 23f6f90b56 WIP 2023-12-07 12:22:17 +09:00
r-ca 474ed831c0 :ui:home モジュールを作成 2023-12-07 12:08:51 +09:00
r-ca b10736804b まちがえてKotlin用の書き方で書いてたので修正 2023-12-07 11:27:38 +09:00
r-ca 6bce5197b0 build.gradle変更 2023-12-07 11:27:38 +09:00
r-ca bd5e1d53d6 build.gradle変更 2023-12-07 11:27:38 +09:00
r-ca fa75037ab3 build.gradle変更 2023-12-07 11:27:38 +09:00
r-ca 34d12ee6d8 Hiltをbuild.gradleに追加 2023-12-07 11:27:37 +09:00
r-ca a050e7c411 Android Gradle Pluginのバージョンを8.0.2に変更 2023-12-07 11:27:37 +09:00
r-ca c00177394d コンパイルSDKバージョンを34に変更 2023-12-07 11:27:37 +09:00
r-ca a0ac0d9348 Init 2023-12-07 11:27:36 +09:00
277 changed files with 6511 additions and 0 deletions

No files matched your search

@@ -0,0 +1,17 @@
---
name: 不具合用テンプレート
about: 不具合用テンプレート
title: "[BUG]: "
labels: バグ
assignees: ''
---
# 概要
<!-- Issueの概要 -->
# 詳細
<!-- バグの詳細 -->
# 影響箇所
<!-- 予想される影響箇所(省略可) -->
@@ -0,0 +1,17 @@
---
name: 改善用テンプレート
about: 改善用テンプレート
title: "[IMPROVE]"
labels: ''
assignees: ''
---
# 概要
<!-- Issueの概要 -->
# 詳細
<!-- 改善内容の詳細 -->
# 影響箇所
<!-- 予想される影響箇所(省略可) -->
@@ -0,0 +1,20 @@
---
name: 新機能用テンプレート
about: 新規能用テンプレート
title: ''
labels: 新機能
assignees: ''
---
# 概要
<!-- Issueの概要 -->
# 詳細
<!-- 機能の詳細 -->
# 関連Issue
<!-- 関連するIssueがあれば -->
# 影響箇所
<!-- 予想される影響箇所(省略可) -->
+18
View File
@@ -0,0 +1,18 @@
# 概要
<!-- PRの概要 -->
# 関連Issue
- #000 <!-- 関連するIssueを指定(なければ省略可) -->
# 詳細
<!-- 詳細 -->
# 影響箇所
<!-- 予想される影響箇所 -->
# チェック
<!-- 参考用, 全てにチェックがついている必要があるわけではありません -->
- [ ] 機能として完成している
- [ ] WIP(Work in progress: 作業中)
- [ ] 正常にビルド/起動ができる
- [ ] 既存の機能を壊していない
+15
View File
@@ -0,0 +1,15 @@
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties
+3
View File
@@ -0,0 +1,3 @@
# Default ignored files
/shelf/
/workspace.xml
Generated
+1
View File
@@ -0,0 +1 @@
Lacerta
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="17" />
</component>
</project>
+17
View File
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="deploymentTargetDropDown">
<runningDeviceTargetSelectedWithDropDown>
<Target>
<type value="RUNNING_DEVICE_TARGET" />
<deviceKey>
<Key>
<type value="SERIAL_NUMBER" />
<value value="ZY227DCBHN" />
</Key>
</deviceKey>
</Target>
</runningDeviceTargetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2023-12-21T04:53:14.729902700Z" />
</component>
</project>
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="deploymentTargetSelector">
<selectionStates>
<SelectionState runConfigName="app">
<option name="selectionMode" value="DROPDOWN" />
<DropdownSelection timestamp="2023-12-18T03:36:14.973846Z">
<Target type="DEFAULT_BOOT">
<handle>
<DeviceId pluginId="PhysicalDevice" identifier="serial=ZY22H7V3G7" />
</handle>
</Target>
</DropdownSelection>
<DialogSelection />
</SelectionState>
</selectionStates>
</component>
</project>
+39
View File
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="testRunner" value="GRADLE" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleJvm" value="jbr-17" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
<option value="$PROJECT_DIR$/component" />
<option value="$PROJECT_DIR$/component/common" />
<option value="$PROJECT_DIR$/component/scanner" />
<option value="$PROJECT_DIR$/component/viewer" />
<option value="$PROJECT_DIR$/data" />
<option value="$PROJECT_DIR$/feature" />
<option value="$PROJECT_DIR$/feature/common" />
<option value="$PROJECT_DIR$/feature/debug" />
<option value="$PROJECT_DIR$/feature/home" />
<option value="$PROJECT_DIR$/feature/library" />
<option value="$PROJECT_DIR$/feature/scan" />
<option value="$PROJECT_DIR$/feature/search" />
<option value="$PROJECT_DIR$/model" />
<option value="$PROJECT_DIR$/processor" />
<option value="$PROJECT_DIR$/shared" />
<option value="$PROJECT_DIR$/shared/icon" />
<option value="$PROJECT_DIR$/shared/ui" />
<option value="$PROJECT_DIR$/source" />
<option value="$PROJECT_DIR$/utils" />
</set>
</option>
<option name="resolveExternalAnnotations" value="false" />
</GradleProjectSettings>
</option>
</component>
</project>
+10
View File
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectMigrations">
<option name="MigrateToGradleLocalJavaHome">
<set>
<option value="$PROJECT_DIR$" />
</set>
</option>
</component>
</project>
+9
View File
@@ -0,0 +1,9 @@
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>
Generated
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
+15
View File
@@ -1,2 +1,17 @@
# Lacerta
WIP
## モジュール設計
![Untitled Diagram(2)](https://github.com/lacerta-doc/Lacerta/assets/66072112/9daabaca-5cdc-49f8-ac66-196c588a47c9)
## メモ
- アイコン: Google Material Icons https://fonts.google.com/icons (Weight:300, Grade:0, Optical size: 24px)
## コーディング規則/推奨(WIP)
### 規則
- `// TODO`コメントには任意のsuffixを付ける
- 全員が同じ`// TODO:`を使っていると検索がむずかしくなるため
- (例: `// TODO-rca:`)
### 推奨
- マジックナンバーは控える(必要な場合もあるので)
+1
View File
@@ -0,0 +1 @@
/build
+97
View File
@@ -0,0 +1,97 @@
plugins {
id 'com.android.application'
id 'com.google.dagger.hilt.android'
}
android {
namespace 'one.nem.lacerta'
compileSdk 34
defaultConfig {
applicationId "one.nem.lacerta"
minSdk 26
targetSdk 33
// ベータ, Internal, Release問わず毎回インクリメントする
// https://developer.android.com/studio/publish/versioning#versioningsettings
versionCode 1
versionName "0.1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
debug { // 開発メンバー用
debuggable true
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
matchingFallbacks = ['release']
}
internal_release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
matchingFallbacks = ['release']
}
beta_release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
matchingFallbacks = ['release']
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation libs.androidx.appcompat
implementation libs.com.google.android.material
implementation libs.androidx.constraintlayout
testImplementation libs.junit
androidTestImplementation libs.androidx.test.ext.junit
androidTestImplementation libs.androidx.test.espresso.core
// 内部モジュール
// Feature
implementation project(':feature:home')
implementation project(':feature:search')
implementation project(':feature:library')
implementation project(':feature:scan')
implementation project(':feature:debug') // デバッグメニュー
// // Component
// implementation project(':component:common')
// implementation project(':component:scanner')
// implementation project(':component:viewer')
// // Data
// implementation project(':data:repository')
//
// // Source
// implementation project(':data:source:database')
// implementation project(':data:source:preference')
//
implementation project(':data')
implementation project(':shared:ui')
implementation project(':shared:icon')
// Hilt (DI)
implementation libs.com.google.dagger.hilt.android
annotationProcessor libs.com.google.dagger.hilt.compiler
// Navigation
implementation libs.navigation.fragment
implementation libs.navigation.ui
implementation libs.navigation.dynamic.features.fragment
}
+21
View File
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
@@ -0,0 +1,26 @@
package one.nem.lacerta;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("one.nem.lacerta", appContext.getPackageName());
}
}
+48
View File
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-feature
android:name="android.hardware.camera"
android:required="false" />
<uses-permission android:name="android.permission.CAMERA" />
<queries>
<intent>
<action android:name="android.media.action.IMAGE_CAPTURE" />
</intent>
</queries>
<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:name=".LacertaApplication"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Lacerta"
tools:targetApi="31">
<activity
android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="one.nem.lacerta.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
</application>
</manifest>
@@ -0,0 +1,18 @@
package one.nem.lacerta;
import android.app.Application;
import com.google.android.material.color.DynamicColors;
import dagger.hilt.android.HiltAndroidApp;
@HiltAndroidApp
public class LacertaApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
// DynamicColorを有効化
DynamicColors.applyToActivitiesIfAvailable(this);
}
}
@@ -0,0 +1,40 @@
package one.nem.lacerta;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.FragmentManager;
import androidx.navigation.NavController;
import androidx.navigation.fragment.NavHostFragment;
import androidx.navigation.ui.NavigationUI;
import android.os.Bundle;
import android.widget.Toast;
import com.google.android.material.bottomnavigation.BottomNavigationView;
import dagger.hilt.android.AndroidEntryPoint;
import javax.inject.Inject;
@AndroidEntryPoint
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
// Debug
FragmentManager supportFragmentManager = getSupportFragmentManager();
NavHostFragment navHostFragment = (NavHostFragment) supportFragmentManager.findFragmentById(R.id.nav_host_fragment);
NavController navController = navHostFragment.getNavController();
BottomNavigationView bottomNavigationView = findViewById(R.id.bottom_nav);
NavigationUI.setupWithNavController(bottomNavigationView, navController);
Toast.makeText(this, "testMessage", Toast.LENGTH_SHORT).show();
}
}
@@ -0,0 +1,170 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#3DDC84"
android:pathData="M0,0h108v108h-108z" />
<path
android:fillColor="#00000000"
android:pathData="M9,0L9,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,0L19,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,0L29,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,0L39,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,0L49,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,0L59,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,0L69,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,0L79,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M89,0L89,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M99,0L99,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,9L108,9"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,19L108,19"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,29L108,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,39L108,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,49L108,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,59L108,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,69L108,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,79L108,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,89L108,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,99L108,99"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,29L89,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,39L89,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,49L89,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,59L89,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,69L89,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,79L89,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,19L29,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,19L39,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,19L49,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,19L59,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,19L69,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,19L79,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
</vector>
@@ -0,0 +1,30 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
<aapt:attr name="android:fillColor">
<gradient
android:endX="85.84757"
android:endY="92.4963"
android:startX="42.9492"
android:startY="49.59793"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
android:strokeWidth="1"
android:strokeColor="#00000000" />
</vector>
+32
View File
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:theme="@style/Theme.Lacerta"
tools:context=".MainActivity">
<androidx.fragment.app.FragmentContainerView
android:id="@+id/nav_host_fragment"
android:name="androidx.navigation.fragment.NavHostFragment"
android:layout_width="0dp"
android:layout_height="0dp"
app:defaultNavHost="true"
app:layout_constraintBottom_toTopOf="@+id/bottom_nav"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:navGraph="@navigation/main_nav"
tools:layout="@layout/fragment_debug_menu_container" />
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottom_nav"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:menu="@menu/bottom_nav_menu"/>
</androidx.constraintlayout.widget.ConstraintLayout>
+20
View File
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@id/feature_home_navigation"
android:icon="@drawable/home_24px"
android:title="Home"/>
<item
android:id="@id/feature_library_navigation"
android:icon="@drawable/folder_24px"
android:title="Library"/>
<item
android:id="@id/feature_debug_navigation"
android:icon="@drawable/developer_mode_24px"
android:title="Debug menu"/>
</menu>
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 982 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/app_main_nav"
app:startDestination="@id/feature_debug_navigation">
<include app:graph="@navigation/feature_debug_navigation" />
<include app:graph="@navigation/feature_library_navigation" />
<include app:graph="@navigation/feature_home_navigation" />
</navigation>
+3
View File
@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Lacerta</string>
</resources>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?><!--
Sample backup rules file; uncomment and customize as necessary.
See https://developer.android.com/guide/topics/data/autobackup
for details.
Note: This file is ignored for devices older that API 31
See https://developer.android.com/about/versions/12/backup-restore
-->
<full-backup-content>
<!--
<include domain="sharedpref" path="."/>
<exclude domain="sharedpref" path="device.xml"/>
-->
</full-backup-content>
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?><!--
Sample data extraction rules file; uncomment and customize as necessary.
See https://developer.android.com/about/versions/12/backup-restore#xml-changes
for details.
-->
<data-extraction-rules>
<cloud-backup>
<!-- TODO: Use <include> and <exclude> to control what is backed up.
<include .../>
<exclude .../>
-->
</cloud-backup>
<!--
<device-transfer>
<include .../>
<exclude .../>
</device-transfer>
-->
</data-extraction-rules>
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<paths>
<cache-path name="cache" path="." />
</paths>
@@ -0,0 +1,17 @@
package one.nem.lacerta;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
}
+6
View File
@@ -0,0 +1,6 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '8.0.2' apply false
id 'com.google.dagger.hilt.android' version '2.44' apply false
id 'com.android.library' version '8.0.2' apply false
}
+1
View File
@@ -0,0 +1 @@
/build
+35
View File
@@ -0,0 +1,35 @@
plugins {
alias(libs.plugins.com.android.library)
}
android {
namespace 'one.nem.lacerta.component.common'
compileSdk 33
defaultConfig {
minSdk 26
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation libs.androidx.appcompat
implementation libs.com.google.android.material
testImplementation libs.junit
androidTestImplementation libs.androidx.test.ext.junit
androidTestImplementation libs.androidx.test.espresso.core
}
View File
Whitespace-only changes.
+21
View File
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
@@ -0,0 +1,26 @@
package one.nem.lacerta.component.common;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("one.nem.lacerta.component.common.test", appContext.getPackageName());
}
}
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
</manifest>
@@ -0,0 +1,17 @@
package one.nem.lacerta.component.common;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
}
+1
View File
@@ -0,0 +1 @@
/build
+40
View File
@@ -0,0 +1,40 @@
plugins {
alias(libs.plugins.com.android.library)
}
android {
namespace 'one.nem.lacerta.component.scanner'
compileSdk 33
defaultConfig {
minSdk 26
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation libs.androidx.appcompat
implementation libs.com.google.android.material
testImplementation libs.junit
androidTestImplementation libs.androidx.test.ext.junit
androidTestImplementation libs.androidx.test.espresso.core
implementation 'com.websitebeaver:documentscanner:1.0.0'
implementation project(':shared:ui')
implementation project(':model')
}
Whitespace-only changes.
+21
View File
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
@@ -0,0 +1,26 @@
package one.nem.lacerta.component.scanner;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("one.nem.lacerta.component.scanner.test", appContext.getPackageName());
}
}
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
</manifest>
@@ -0,0 +1,55 @@
package one.nem.lacerta.component.scanner;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.recyclerview.widget.RecyclerView;
import java.util.ArrayList;
public class CaptureResultAdapter extends RecyclerView.Adapter<CaptureResultAdapter.ViewHolder> {
private final ArrayList<CapturedData> results;
public CaptureResultAdapter(ArrayList<CapturedData> results) {
this.results = results;
}
@Override
public CaptureResultAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.list_item_scanner_component_manager_stub, parent, false);
return new CaptureResultAdapter.ViewHolder(view);
}
@Override
public void onBindViewHolder(CaptureResultAdapter.ViewHolder holder, int position) {
CapturedData result = results.get(position);
holder.textViewPath.setText(result.getPath());
holder.textViewResolutionHeight.setText(result.getResolutionHeight());
holder.textViewResolutionWidth.setText(result.getResolutionWidth());
holder.imageView.setImageBitmap(result.getBitmap());
}
@Override
public int getItemCount() {
return results.size();
}
public class ViewHolder extends RecyclerView.ViewHolder {
public TextView textViewPath;
public TextView textViewResolutionHeight;
public TextView textViewResolutionWidth;
public ImageView imageView;
public ViewHolder(View view) {
super(view);
textViewPath = view.findViewById(R.id.textViewPath);
textViewResolutionHeight = view.findViewById(R.id.textViewResHeight);
textViewResolutionWidth = view.findViewById(R.id.textViewResWidth);
imageView = view.findViewById(R.id.imageViewResult);
}
}
}
@@ -0,0 +1,44 @@
package one.nem.lacerta.component.scanner;
import android.graphics.Bitmap;
public class CapturedData {
private String path;
private String resolutionHeight;
private String resolutionWidth;
private String size;
private Bitmap bitmap;
// Constructor
public CapturedData(String path, String resolutionHeight, String resolutionWidth, String size, Bitmap bitmap) {
this.path = path;
this.resolutionHeight = resolutionHeight;
this.resolutionWidth = resolutionWidth;
this.size = size;
this.bitmap = bitmap;
}
// Getters
public String getPath() {
return path;
}
public String getResolutionHeight() {
return resolutionHeight;
}
public String getResolutionWidth() {
return resolutionWidth;
}
public String getSize() {
return size;
}
public Bitmap getBitmap() {
return bitmap;
}
}
@@ -0,0 +1,144 @@
package one.nem.lacerta.component.scanner;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import androidx.activity.result.ActivityResultLauncher;
import androidx.activity.result.contract.ActivityResultContracts;
import androidx.core.content.FileProvider;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.RecyclerView;
import android.os.Environment;
import android.provider.MediaStore;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;
import java.io.File;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.Locale;
/**
* A simple {@link Fragment} subclass.
* Use the {@link ScannerDataManagerStubFragment#newInstance} factory method to
* create an instance of this fragment.
*/
public class ScannerDataManagerStubFragment extends Fragment {
// TODO-rca: 時間があったらcacheを使うようにする?
// Results
private ArrayList<CapturedData> results = new ArrayList<>();
private Uri photoURI;
private final ActivityResultLauncher<Intent> cameraLauncher = registerForActivityResult(
new ActivityResultContracts.StartActivityForResult(),
result -> {
if (result.getResultCode() == Activity.RESULT_OK) {
try {
if (getActivity() == null) {
Log.d("ScannerDataManagerStubFragment", "getActivity() is null");
return;
}
if (photoURI == null) {
Log.d("ScannerDataManagerStubFragment", "photoURI is null");
Toast.makeText(getActivity(), "photoURI is null", Toast.LENGTH_LONG).show();
return;
}
Bitmap imageBitmap = MediaStore.Images.Media.getBitmap(getActivity().getContentResolver(), photoURI);
results.add(new CapturedData("Placeholder", Integer.toString(imageBitmap.getHeight()), Integer.toString(imageBitmap.getWidth()), "Placeholder", imageBitmap));
} catch (IOException e) {
Log.e("ScannerDataManagerStubFragment", "Error occurred while reading the file", e);
}
}
}
);
public ScannerDataManagerStubFragment() {
// Required empty public constructor
}
// TODO: Rename and change types and number of parameters
public static ScannerDataManagerStubFragment newInstance() {
ScannerDataManagerStubFragment fragment = new ScannerDataManagerStubFragment();
Bundle args = new Bundle();
fragment.setArguments(args);
return fragment;
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
return inflater.inflate(R.layout.fragment_scanner_data_manager_stub, container, false);
}
@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
view.findViewById(R.id.button_call_camera).setOnClickListener(v -> {
Log.d("ScannerDataManagerStubFragment", "button_call_camera clicked");
Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
if (takePictureIntent.resolveActivity(getActivity().getPackageManager()) != null) {
File photoFile = null;
try {
String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.US).format(new Date());
String imageFileName = "JPEG_" + timeStamp + "_";
File storageDir = getActivity().getExternalFilesDir(Environment.DIRECTORY_PICTURES);
photoFile = File.createTempFile(imageFileName, ".jpg", storageDir);
} catch (IOException ex) {
Log.e("ScannerDataManagerStubFragment", "Error occurred while creating the file", ex);
}
if (photoFile != null) {
photoURI = FileProvider.getUriForFile(getActivity(), "one.nem.lacerta.provider", photoFile);
takePictureIntent.putExtra(MediaStore.EXTRA_OUTPUT, photoURI);
cameraLauncher.launch(takePictureIntent);
}
else {
Log.d("ScannerDataManagerStubFragment", "photoFile is null");
}
}
else {
Log.d("ScannerDataManagerStubFragment", "camera not available");
}
updateResults();
});
}
@Override
public void onResume() {
super.onResume();
Log.d("ScannerDataManagerStubFragment", "onResume");
updateResults();
}
public void updateResults() {
Log.d("ScannerDataManagerStubFragment", "updateResults");
// TODO-rca: エラーハンドリング
RecyclerView recyclerView = getView().findViewById(R.id.result_recycler_view);
recyclerView.setLayoutManager(new androidx.recyclerview.widget.LinearLayoutManager(getContext()));
recyclerView.setAdapter(new CaptureResultAdapter(this.results));
}
}
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:theme="@style/Theme.Lacerta"
tools:context=".ScannerDataManagerStubFragment" >
<LinearLayout
android:id="@+id/action_button_container"
android:layout_width="match_parent"
android:layout_height="0dp"
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<com.google.android.material.button.MaterialButton
android:id="@+id/button_call_camera"
style="@style/Widget.Material3.Button.IconButton.Filled"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="16px"
android:layout_weight="1"
android:text="Call camera" />
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/result_recycler_view"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/action_button_container" />
</androidx.constraintlayout.widget.ConstraintLayout>
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="24px">
<ImageView
android:id="@+id/imageViewResult"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:srcCompat="@android:drawable/presence_video_online"
android:adjustViewBounds="true"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageViewResult">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="2"
android:text="Resolution:"
android:textIsSelectable="false"
android:textSize="16sp" />
<TextView
android:id="@+id/textViewResHeight"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Height"
android:textIsSelectable="false"
android:textSize="16sp" />
<TextView
android:id="@+id/textViewResWidth"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Width"
android:textIsSelectable="false"
android:textSize="16sp" />
</LinearLayout>
<TextView
android:id="@+id/textViewPath"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Path"
android:textIsSelectable="false"
android:textSize="16sp" />
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
@@ -0,0 +1,4 @@
<resources>
<!-- TODO: Remove or change this placeholder text -->
<string name="hello_blank_fragment">Hello blank fragment</string>
</resources>
@@ -0,0 +1,17 @@
package one.nem.lacerta.component.scanner;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
}
+1
View File
@@ -0,0 +1 @@
/build
+35
View File
@@ -0,0 +1,35 @@
plugins {
alias(libs.plugins.com.android.library)
}
android {
namespace 'one.nem.lacerta.component.viewer'
compileSdk 33
defaultConfig {
minSdk 26
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation libs.androidx.appcompat
implementation libs.com.google.android.material
testImplementation libs.junit
androidTestImplementation libs.androidx.test.ext.junit
androidTestImplementation libs.androidx.test.espresso.core
}
View File
Whitespace-only changes.
+21
View File
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
@@ -0,0 +1,26 @@
package one.nem.lacerta.component.viewer;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("one.nem.lacerta.component.viewer.test", appContext.getPackageName());
}
}
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
</manifest>
@@ -0,0 +1,17 @@
package one.nem.lacerta.component.viewer;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
}
+1
View File
@@ -0,0 +1 @@
/build
+56
View File
@@ -0,0 +1,56 @@
plugins {
alias(libs.plugins.com.android.library)
id 'com.google.dagger.hilt.android'
}
android {
namespace 'one.nem.lacerta.data'
compileSdk 34
defaultConfig {
minSdk 26
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation libs.androidx.appcompat
implementation libs.com.google.android.material
testImplementation libs.junit
androidTestImplementation libs.androidx.test.ext.junit
androidTestImplementation libs.androidx.test.espresso.core
// Hilt (DI)
implementation libs.com.google.dagger.hilt.android
annotationProcessor libs.com.google.dagger.hilt.compiler
// JGit
implementation 'org.eclipse.jgit:org.eclipse.jgit:6.8.0.202311291450-r'
// Room
implementation libs.androidx.room.runtime
annotationProcessor libs.androidx.room.compiler
// Utilsモジュール
implementation project(':utils')
// 型モジュール
implementation project(':model')
// データソースモジュール
implementation project(':source')
}
View File
Whitespace-only changes.
+21
View File
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
@@ -0,0 +1,26 @@
package one.nem.lacerta.data;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("one.nem.lacerta.data.test", appContext.getPackageName());
}
}
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
</manifest>
@@ -0,0 +1,46 @@
package one.nem.lacerta.data;
import java.lang.reflect.Array;
import java.util.ArrayList;
import one.nem.lacerta.model.document.DocumentMeta;
import one.nem.lacerta.model.document.DocumentDetail;
import one.nem.lacerta.model.document.path.DocumentPath;
import one.nem.lacerta.model.document.tag.DocumentTag;
/**
* ドキュメントのデータを取得する
*/
public interface Document {
ArrayList<DocumentMeta> getAllDocumentMetas(int limit);
ArrayList<DocumentMeta> getAllDocumentMetas(int limit, int offset);
/**
* 更新の新しいドキュメントから順に並べてlimit件取得する
* @param limit 取得する上限数
*/
ArrayList<DocumentMeta> getRecentDocumentMetas(int limit);
/**
* 更新の新しいドキュメントから順に並べてoffset位置からlimit件取得する
* @param limit 取得する上限数
* @param offset 取得するオフセット
*/
ArrayList<DocumentMeta> getRecentDocumentMetas(int limit, int offset);
/**
* ドキュメントIDからDocumentDetailを取得する
* @param id ドキュメントID
*/
DocumentDetail getDocumentDetail(String id);
/**
* DocumentMetaからDocumentDetailを取得する
* @param meta DocumentMeta
*/
DocumentDetail getDocumentDetailByMeta(DocumentMeta meta); // 簡単に使えるように
DocumentDetail createDocumentByMeta(DocumentMeta meta);
}
@@ -0,0 +1,12 @@
package one.nem.lacerta.data;
import one.nem.lacerta.model.document.DocumentMeta;
import one.nem.lacerta.model.document.DocumentDetail;
import one.nem.lacerta.model.document.path.DocumentPath;
import one.nem.lacerta.model.document.tag.DocumentTag;
public interface DocumentDebug {
void insertDocument(DocumentMeta meta, DocumentDetail detail);
}
@@ -0,0 +1,47 @@
package one.nem.lacerta.data.impl;
import java.util.List;
import javax.inject.Inject;
import one.nem.lacerta.data.DocumentDebug;
import one.nem.lacerta.model.document.DocumentDetail;
import one.nem.lacerta.model.document.DocumentMeta;
import one.nem.lacerta.source.database.entity.DocumentEntity;
import one.nem.lacerta.source.database.entity.LibraryEntity;
import one.nem.lacerta.source.database.entity.TagEntity;
import one.nem.lacerta.source.database.LacertaDatabase;
public class DocumentDebugImpl implements DocumentDebug{
@Inject
LacertaDatabase database;
@Inject
public DocumentDebugImpl() {
}
public void insertDocument(DocumentMeta meta, DocumentDetail detail) {
DocumentEntity documentEntity = new DocumentEntity();
LibraryEntity libraryEntity = new LibraryEntity();
documentEntity.id = meta.getId();
documentEntity.title = meta.getTitle();
documentEntity.createdAt = meta.getCreatedAt();
documentEntity.updatedAt = meta.getUpdatedAt();
documentEntity.author = detail.getAuthor();
documentEntity.defaultBranch = detail.getDefaultBranch();
// ArrayListからListに変換
documentEntity.tagIds = meta.getTagIds();
libraryEntity.id = meta.getId();
libraryEntity.path = "Placeholder";
libraryEntity.rootPath = "Placeholder";
database.documentDao().insert(documentEntity);
database.libraryDao().insert(libraryEntity);
}
}
@@ -0,0 +1,141 @@
package one.nem.lacerta.data.impl;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import one.nem.lacerta.data.Document;
import one.nem.lacerta.model.document.DocumentMeta;
import one.nem.lacerta.model.document.DocumentDetail;
import one.nem.lacerta.model.document.path.DocumentPath;
import one.nem.lacerta.model.document.tag.DocumentTag;
import one.nem.lacerta.source.database.LacertaDatabase;
import one.nem.lacerta.source.database.entity.DocumentEntity;
import one.nem.lacerta.source.database.entity.LibraryEntity;
import one.nem.lacerta.source.database.entity.TagEntity;
import one.nem.lacerta.source.jgit.JGitRepository;
import one.nem.lacerta.utils.repository.DeviceInfoUtils;
public class DocumentImpl implements Document{
private LacertaDatabase database;
@Inject
public DocumentImpl(LacertaDatabase database) {
this.database = database;
}
@Inject
JGitRepository jGitRepository;
@Inject
DeviceInfoUtils deviceInfoUtils;
@Override
public ArrayList<DocumentMeta> getAllDocumentMetas(int limit) {
ArrayList<DocumentMeta> documentMetas = new ArrayList<>();
List<DocumentEntity> documentEntities = database.documentDao().getAllWithLimit(limit);
for (DocumentEntity documentEntity : documentEntities) {
// タグ取得
// TODO-rca: 切り出すべきかも?
List<TagEntity> tagEntities = database.tagDao().findByIds(documentEntity.tagIds);
ArrayList<DocumentTag> documentTags = new ArrayList<>();
for (TagEntity tagEntity : tagEntities) {
documentTags.add(new DocumentTag(tagEntity.id, tagEntity.tagName, tagEntity.color));
}
// 組み立て処理
// 可読性が終わるのでコンストラクタはつかわないほうがいいかも?
DocumentMeta documentMeta = new DocumentMeta();
documentMeta.setId(documentEntity.id);
documentMeta.setTitle(documentEntity.title);
documentMeta.setCreatedAt(documentEntity.createdAt);
documentMeta.setUpdatedAt(documentEntity.updatedAt);
documentMeta.setTags(documentTags);
documentMetas.add(documentMeta);
}
return documentMetas;
}
@Override
public ArrayList<DocumentMeta> getAllDocumentMetas(int limit, int offset) {
return null; // TODO-rca: 実装する
}
@Override
public ArrayList<DocumentMeta> getRecentDocumentMetas(int limit) {
// ArrayList<DocumentMeta> documentMetas = new ArrayList<>();
// database.documentDao().
// TODO-rca: 履歴取得するDao実装する
return null;
}
@Override
public ArrayList<DocumentMeta> getRecentDocumentMetas(int limit, int offset) {
return null;
}
@Override
public DocumentDetail getDocumentDetail(String id) {
DocumentDetail documentDetail = new DocumentDetail();
DocumentEntity documentEntity = database.documentDao().findById(id);
// タグ取得
// TODO-rca: 切り出すべきかも?
List<TagEntity> tagEntities = database.tagDao().findByIds(documentEntity.tagIds);
ArrayList<DocumentTag> documentTags = new ArrayList<>();
for (TagEntity tagEntity : tagEntities) {
documentTags.add(new DocumentTag(tagEntity.id, tagEntity.tagName, tagEntity.color));
}
// パス取得
// TODO-rca: 切り出すべきかも?
LibraryEntity libraryEntity = database.libraryDao().findById(id);
DocumentPath documentPath = new DocumentPath(libraryEntity.rootPath, libraryEntity.path);
// リポジトリ取得
documentDetail.setRepository(jGitRepository.getRepository(id)); // TODO-rca: エラーハンドリング
// 組み立て処理
// 可読性が終わるのでコンストラクタはつかわないほうがいいかも?
DocumentMeta documentMeta = new DocumentMeta();
documentMeta.setId(documentEntity.id);
documentMeta.setTitle(documentEntity.title);
documentMeta.setCreatedAt(documentEntity.createdAt);
documentMeta.setUpdatedAt(documentEntity.updatedAt);
documentMeta.setTags(documentTags);
documentDetail.setMeta(documentMeta);
documentDetail.setAuthor(documentEntity.author);
documentDetail.setPath(documentPath);
documentDetail.setDefaultBranch(documentEntity.defaultBranch);
return documentDetail;
}
@Override
public DocumentDetail getDocumentDetailByMeta(DocumentMeta meta) {
return getDocumentDetail(meta.getId()); // TODO-rca: 効率悪いのでMetaはもらった物を使うようにする(処理を切り分ける?)
}
@Override
public DocumentDetail createDocumentByMeta(DocumentMeta meta) {
DocumentDetail documentDetail = new DocumentDetail();
documentDetail.setMeta(meta);
documentDetail.setAuthor("author"); // TODO-rca: SharedPrefを扱う機能を作ってそこから取得するようにする or Gitの設定を参照するようにする
documentDetail.setPath(new DocumentPath(deviceInfoUtils.getExternalStorageDirectoryString(), meta.getId()));
documentDetail.setDefaultBranch("master"); // TODO-rca: SharedPrefを扱う機能を作ってそこから取得するようにする?
return documentDetail;
}
}
@@ -0,0 +1,16 @@
package one.nem.lacerta.data.module;
import dagger.Binds;
import dagger.Module;
import dagger.hilt.InstallIn;
import dagger.hilt.components.SingletonComponent;
import one.nem.lacerta.data.DocumentDebug;
import one.nem.lacerta.data.impl.DocumentDebugImpl;
@Module
@InstallIn(SingletonComponent.class) // TODO-rca: Singletonでいいのか検討する
abstract public class DocumentDebugModule {
@Binds
public abstract DocumentDebug bindDocumentDebug(DocumentDebugImpl documentDebugImpl);
}
@@ -0,0 +1,20 @@
package one.nem.lacerta.data.module;
import android.content.Context;
import dagger.Binds;
import dagger.Module;
import dagger.hilt.InstallIn;
import dagger.hilt.components.SingletonComponent;
import one.nem.lacerta.data.Document;
import one.nem.lacerta.data.impl.DocumentImpl;
@Module
@InstallIn(SingletonComponent.class) // TODO-rca: Singletonであるべきか考える
abstract public class DocumentModule {
@Binds
public abstract Document bindDocument(DocumentImpl documentImpl);
}
@@ -0,0 +1,13 @@
package one.nem.lacerta.data.processor;
import org.eclipse.jgit.lib.Repository;
import one.nem.lacerta.model.document.DocumentDetail;
public interface DocumentProcessor {
// TODO-rca: Initをここでやるべきか検討する?, Documentモデルを作るべきか検討する?
void setDocumentDetail(DocumentDetail documentDetail);
}
@@ -0,0 +1,4 @@
package one.nem.lacerta.data.processor.impl;
public class DocumentProcessorImpl {
}
@@ -0,0 +1,17 @@
package one.nem.lacerta.data;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
}
+1
View File
@@ -0,0 +1 @@
/build
+35
View File
@@ -0,0 +1,35 @@
plugins {
alias(libs.plugins.com.android.library)
}
android {
namespace 'one.nem.lacerta.feature.common'
compileSdk 33
defaultConfig {
minSdk 26
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation libs.androidx.appcompat
implementation libs.com.google.android.material
testImplementation libs.junit
androidTestImplementation libs.androidx.test.ext.junit
androidTestImplementation libs.androidx.test.espresso.core
}
View File
Whitespace-only changes.
+21
View File
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
@@ -0,0 +1,26 @@
package one.nem.lacerta.feature.common;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("one.nem.lacerta.feature.common.test", appContext.getPackageName());
}
}
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
</manifest>
@@ -0,0 +1,17 @@
package one.nem.lacerta.feature.common;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
}
+1
View File
@@ -0,0 +1 @@
/build
+68
View File
@@ -0,0 +1,68 @@
plugins {
alias(libs.plugins.com.android.library)
id 'com.google.dagger.hilt.android'
}
android {
namespace 'one.nem.lacerta.feature.debug'
compileSdk 34
defaultConfig {
minSdk 26
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation libs.androidx.appcompat
implementation libs.com.google.android.material
implementation libs.androidx.activity
implementation libs.androidx.constraintlayout
testImplementation libs.junit
androidTestImplementation libs.androidx.test.ext.junit
androidTestImplementation libs.androidx.test.espresso.core
// Navigation
implementation libs.navigation.fragment
implementation libs.navigation.ui
implementation libs.navigation.dynamic.features.fragment
// Hilt (DI)
implementation libs.com.google.dagger.hilt.android
annotationProcessor libs.com.google.dagger.hilt.compiler
// JGit
implementation 'org.eclipse.jgit:org.eclipse.jgit:6.8.0.202311291450-r'
// 内部モジュール
// data
implementation project(':data')
// Debug
implementation project(':source')
implementation project(':utils')
// 型
implementation project(':model')
// Shared
implementation project(':shared:ui')
// Scanner
implementation project(':component:scanner')
}
View File
Whitespace-only changes.
+21
View File
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
@@ -0,0 +1,26 @@
package one.nem.lacerta.feature.debug;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("one.nem.lacerta.feature.debug.test", appContext.getPackageName());
}
}
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application>
<activity
android:name=".DebugMenuContainerActivity"
android:exported="false" />
</application>
</manifest>
Loaded 100 of 277 files, more files were not shown because too many files have changed in this diff. Show more