हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main के बजाय android-latest-release का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
सिंक किए गए ऐप्लिकेशन ट्रांज़िशन, Android 9 की एक सुविधा है. इससे ऐप्लिकेशन ट्रांज़िशन के मौजूदा आर्किटेक्चर को बेहतर बनाया जाता है. जब कोई उपयोगकर्ता ऐप्लिकेशन खोलता है, बंद करता है या एक से दूसरे ऐप्लिकेशन पर स्विच करता है, तो SystemUI या लॉन्चर (होम स्क्रीन) प्रोसेस, ऐनिमेशन को फ़्रेम-दर-फ़्रेम कंट्रोल करने का अनुरोध भेजती है. साथ ही, यह पक्का करती है कि व्यू ऐनिमेशन और विंडो ऐनिमेशन सिंक हों. जब SystemUI या Launcher, ऐनिमेशन के हिस्से के तौर पर नया फ़्रेम बनाता है, तो वह ऐनिमेट किए जा रहे ऐप्लिकेशन के प्लैटफ़ॉर्म पर किसी दूसरे ट्रांसफ़ॉर्मेशन का अनुरोध करता है. इससे यह तय होता है कि स्क्रीन पर ऐप्लिकेशन को कैसे दिखाया जाए. साथ ही, अनुरोध को प्लैटफ़ॉर्म ट्रांज़ैक्शन के तौर पर मार्क किया जाता है, ताकि उसे फ़िलहाल खींचे जा रहे फ़्रेम के साथ सिंक किया जा सके.
इससे ऐप्लिकेशन के ट्रांज़िशन के लिए नए ऐनिमेशन इस्तेमाल किए जा सकते हैं. ये ऐनिमेशन, Android 8.x और इससे पहले के वर्शन पर काम नहीं करते. उदाहरण के लिए, ऐप्लिकेशन लॉन्च करने के लिए ऐनिमेशन की मदद से, होम स्क्रीन के आइकॉन को ऐप्लिकेशन के प्लैटफ़ॉर्म पर आसानी से बदला जा सकता है. साथ ही, सूचना लॉन्च करने के लिए ऐनिमेशन की मदद से, सूचनाओं को ऐप्लिकेशन के प्लैटफ़ॉर्म पर बदला जा सकता है.
उदाहरण और सोर्स
इस सुविधा के बारे में जानने के लिए, यहां दिए गए रेफ़रंस देखें.
ज़रूरत के हिसाब से, इस सुविधा को Launcher/System UI पर लागू किया जा सकता है. इसके अलावा, SystemUI/Launcher3 में AOSP लागू करने का विकल्प भी चुना जा सकता है.
पुष्टि करें
ऐनिमेशन की परफ़ॉर्मेंस की पुष्टि करने के लिए, ऐनिमेशन के दौरान कंट्रोल करने वाले ऐप्लिकेशन, जैसे कि SystemUI या लॉन्चर की परफ़ॉर्मेंस को मेज़र करें. इसके बारे में यूज़र इंटरफ़ेस (यूआई) की परफ़ॉर्मेंस की जांच करना में बताया गया है.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# Implement synchronized app transitions\n\nSynchronized App Transitions is a feature in Android 9\nthat enhances the existing app transition architecture. When a user opens,\ncloses, or switches between apps, the SystemUI or Launcher (homescreen) process\nsends a request to control the animation frame-by-frame with guaranteed\nsynchronization between view animations and window animations. When the SystemUI\nor Launcher draws a new frame as part of an animation, it requests a different\ntransform on the animating app surface that determines how the app is composed\non the screen, and marks the request, a surface transaction, to be synchronized\nwith the frame it's currently drawing.\n\nThis allows for new app transition animations that are not possible on Android\n8.x and lower. For example, the\n[app launch animation](/static/docs/core/display/images/app-launch-animation.mp4)\ncan transform homescreen icons seamlessly into the app surface and the\n[notification launch animation](/static/docs/core/display/images/notification-launch-animation.mp4)\ncan transform notifications into the app surface.\n\nExamples and source\n-------------------\n\nSee the following references for this feature.\n\n- [`ActivityOptions.makeRemoteAnimation`](https://android.googlesource.com/platform/frameworks/base/+/33a701a55c28dd20390acee1ba7881a500830d7d/core/java/android/app/ActivityOptions.java#843)\n- [`RemoteAnimationAdapter`](https://android.googlesource.com/platform/frameworks/base/+/android16-release/core/java/android/view/RemoteAnimationAdapter.java)\n- [`RemoteAnimationRunner`](https://android.googlesource.com/platform/frameworks/base/+/android16-release/core/java/android/view/IRemoteAnimationRunner.aidl)\n- [`Activity.registerRemoteAnimations`](https://android.googlesource.com/platform/frameworks/base/+/f84e2f60fec6f6d2ecfb3b90ddf075101f4b902f/core/java/android/app/Activity.java#7672)\n\nFor a reference implementation for the notification launch animation, see\n[`ActivityLaunchAnimator.kt`](https://android.googlesource.com/platform/frameworks/base/+/android16-release/packages/SystemUI/animation/src/com/android/systemui/animation/ActivityLaunchAnimator.kt).\n\nImplementation\n--------------\n\nYou can implement this feature on Launcher/System UI as required or you can use\nthe AOSP implementation in SystemUI/Launcher3.\n| **Note:** This feature increases the load on the GPU and CPU during animations.\n\nValidation\n----------\n\nTo validate the performance of the animations, measure the performance of the\ncontrolling app, i.e. SystemUI or Launcher, during the animations as described\nin\n[Test UI performance](https://developer.android.com/training/testing/performance)."]]