mirror of
https://github.com/immich-app/immich.git
synced 2026-02-11 03:17:59 +03:00
* platform clients * uppercase http method * fix hot reload * custom user agent * init before app launch * set defaults * move to bootstrap * unrelated change * disable disk cache by default * optimized decoding * remove incremental * android impl * memory optimization * lock approach is slower on ios * conditional cronet * clarify parameter * enable disk cache * set user agent * flutter-side decode * optimized http * fixed locking * refactor * potential race conditions * embedded cronet * refactor, fix capacity handling * fast path for known content length * ios optimizations * re-enable cache * formatting * bump concurrency * clear cache button * fix eviction race condition * add extra cancellation check * tighten dispose * better error handling * fix disposal --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
13 lines
514 B
Dart
13 lines
514 B
Dart
import 'dart:ui';
|
|
|
|
const double kTimelineHeaderExtent = 80.0;
|
|
const Size kTimelineFixedTileExtent = Size.square(256);
|
|
const double kTimelineSpacing = 2.0;
|
|
const int kTimelineColumnCount = 3;
|
|
|
|
const Duration kTimelineScrubberFadeInDuration = Duration(milliseconds: 300);
|
|
const Duration kTimelineScrubberFadeOutDuration = Duration(milliseconds: 800);
|
|
|
|
const Size kThumbnailResolution = Size.square(320); // TODO: make the resolution vary based on actual tile size
|
|
const kThumbnailDiskCacheSize = 1024 << 20; // 1GiB
|