Lines Matching defs:in
6 * you may not use this file except in compliance with the License.
11 * Unless required by applicable law or agreed to in writing, software
227 /** The different states that Launcher can be in. */
287 // We set the state in both onCreate and then onNewIntent in some cases, which causes both
289 // Instead, just save the state that we need to restore Launcher to, and commit it in onResume.
332 // External icons saved in case of resource changes, orientation, etc.
432 // the LauncherApplication should call this, but in case of Instrumentation it might not be present yet
483 // configuration change) while launcher is in the foreground
621 DataInputStream in = null;
623 in = new DataInputStream(context.openFileInput(PREFERENCES));
624 configuration.locale = in.readUTF();
625 configuration.mcc = in.readInt();
626 configuration.mnc = in.readInt();
632 if (in != null) {
634 in.close();
676 // that is subsequently removed from the workspace in startBinding().
746 // if you turned the screen off and then back while in All Apps, Launcher would not
862 // Leave the widget in the pending state if the user canceled the configure.
950 // The animated view may be null in the case of a rotation during widget configuration
984 // Background was set to gradient in onPause(), restore to black if in all apps.
1013 Log.d(TAG, "Time spent processing callbacks in onResume: " +
1024 // Reset the pressed state of icons that were locked in the press state while activities
1031 // It is possible that widgets can receive updates while launcher is not in the foreground.
1032 // Consequently, the widgets will be inflated in the orientation of the foreground activity
1044 // were updated in the wrong orientation.
1047 Log.d(TAG, "Time spent in onResume: " + (System.currentTimeMillis() - startTime));
1053 // if PagedView#setRestorePage was set to the custom content page in onCreate().
1361 // Setup the drag controller (drop targets have to be added in reverse order in priority)
1612 // Reset AllApps to its initial state only if we are not in the middle of
1659 * Sets up transparent navigation and status bars in LMP.
1714 // The following code used to be in onResume, but it turns out onResume is called when
1715 // you're in All Apps and click home to go to the workspace. onWindowVisibilityChanged
1729 // We delay the layer building a bit in order to give
1730 // other message processing a time to run. In particular
1731 // this avoids a delay in hiding the IME if it was
1888 // In all these cases, only animate if we're already on home
1922 Log.d(TAG, "Time spent in onNewIntent: " + (System.currentTimeMillis() - startTime));
1928 * button is pressed. Used (for example) in GEL, to prevent movement during a search.
2005 // been created. In this case, don't interfere with the new Launcher.
2064 // Use any text typed in the launcher as the initial query
2112 // Make sure that we have a Bundle to put source in
2295 // In this case, we either need to start an activity to get permission to bind
2817 // private contract between launcher and may be ignored in the future).
2873 * in the DragLayer in the exact absolute location of the original FolderIcon.
2912 // Just in case this image view is still in the drag layer from a previous animation,
2957 // We remove and re-draw the FolderIcon in-case it has changed
3187 * - Launch an app and turn off the screen while in that app
3262 // Hide the real page background, and swap in the fake one
3502 // hideAppsCustomizeHelper is called in some cases when it is already hidden
3503 // don't perform all these no-op animations. In particularly, this was causing
3504 // the all-apps button to pop in and out.
3520 // Hide the real page background, and swap in the fake one
3545 // from the conceal animation in order to give the right feel. We correpsondingly
3724 // Show the search bar (only animate if we were showing the drop target bar in spring
3771 // We post this in-case the all apps view isn't yet constructed.
3823 // Otherwise, we are not in spring loaded mode, so don't do anything.
3877 // Look for the toolbar icon specified in the activity meta-data
3899 // if successful in getting icon, return it; otherwise, set button to use default drawable
3926 // if successful in getting icon, return it; otherwise, set button to use default drawable
4128 * in onResume.
4138 * skip some work in that case since we will come back again.
4164 * in onResume.
4174 * skip some work in that case since we will come back again.
4205 // If we're starting binding all over again, clear any bind calls we'd postponed in
4536 Log.d(TAG, "bound widget id="+item.appWidgetId+" in "
4753 * Update the label and icon of all the icons in a package
4766 * in addition to specific applications to remove, the reason being that
4767 * this can be called when a package is updated as well. In that scenario,
4829 // We are currently in the same basic orientation as the natural orientation
4834 // We are currently in the other basic orientation to the natural orientation
4883 * @param hint the hint to be displayed in the search bar.
4981 * To be overridden by subclasses to indicate that there is an in-activity full-screen intro
4996 * To be overriden by subclasses to indicate whether the in-activity intro screen has been
5066 // Called from search suggestion, not supported in other profiles.
5079 // Called from search suggestion, not supported in other profiles.