Home | History | Annotate | Download | only in launcher2

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
194 /** The different states that Launcher can be in. */
245 // We set the state in both onCreate and then onNewIntent in some cases, which causes both
247 // Instead, just save the state that we need to restore Launcher to, and commit it in onResume.
294 // External icons saved in case of resource changes, orientation, etc.
418 // configuration change) while launcher is in the foreground
550 DataInputStream in = null;
552 in = new DataInputStream(context.openFileInput(PREFERENCES));
553 configuration.locale = in.readUTF();
554 configuration.mcc = in.readInt();
555 configuration.mnc = in.readInt();
561 if (in != null) {
563 in.close();
601 // that is subsequently removed from the workspace in startBinding().
646 // if you turned the screen off and then back while in All Apps, Launcher would not
757 // The animated view may be null in the case of a rotation during widget configuration
790 // Background was set to gradient in onPause(), restore to black if in all apps.
823 Log.d(TAG, "Time spent processing callbacks in onResume: " +
828 // Reset the pressed state of icons that were locked in the press state while activities
838 // It is possible that widgets can receive updates while launcher is not in the foreground.
839 // Consequently, the widgets will be inflated in the orientation of the foreground activity
845 // were updated in the wrong orientation.
848 Log.d(TAG, "Time spent in onResume: " + (System.currentTimeMillis() - startTime));
856 // when Launcher resumes and we are still in AllApps.
1054 // Setup the drag controller (drop targets have to be added in reverse order in priority)
1312 // Reset AllApps to its initial state only if we are not in the middle of
1359 // The following code used to be in onResume, but it turns out onResume is called when
1360 // you're in All Apps and click home to go to the workspace. onWindowVisibilityChanged
1374 // We delay the layer building a bit in order to give
1375 // other message processing a time to run. In particular
1376 // this avoids a delay in hiding the IME if it was
1514 // In all these cases, only animate if we're already on home
1548 // first in order to avoid janky animations.
1557 Log.d(TAG, "Time spent in onNewIntent: " + (System.currentTimeMillis() - startTime));
1671 // Use any text typed in the launcher as the initial query
1702 // Make sure that we have a Bundle to put source in
1884 // In this case, we either need to start an activity to get permission to bind
1956 // Removed in Eclair MR1
2179 // private contract between launcher and may be ignored in the future).
2284 * in the DragLayer in the exact absolute location of the original FolderIcon.
2323 // Just in case this image view is still in the drag layer from a previous animation,
2365 // We remove and re-draw the FolderIcon in-case it has changed
2532 // Only disable it if we are in all apps
2615 * - Launch an app and turn off the screen while in that app
2908 // When launcher has focus again, disable the wallpaper if we are in AllApps
2928 // Show the search bar (only animate if we were showing the drop target bar in spring
2934 // We only need to animate in the dock divider if we're going from spring loaded mode
3013 // Otherwise, we are not in spring loaded mode, so don't do anything.
3117 // Look for the toolbar icon specified in the activity meta-data
3139 // if successful in getting icon, return it; otherwise, set button to use default drawable
3166 // if successful in getting icon, return it; otherwise, set button to use default drawable
3385 * in onResume.
3395 * skip some work in that case since we will come back again.
3417 * in onResume.
3427 * skip some work in that case since we will come back again.
3456 // If we're starting binding all over again, clear any bind calls we'd postponed in
3596 Log.d(TAG, "bound widget id="+item.appWidgetId+" in "
3634 // Update the market app icon as necessary (the other icons will be managed in response to
3635 // package changes in bindSearchablesChanged()
3658 // If the user has interacted recently, then just add the items in place if they
3673 * Runs a new animation that scales up icons that were added while Launcher was in the
3682 // Order these new views spatially so that they animate in order
3693 // Animate each of the views in place (or show them immediately if requested)
3772 // If we did not initialize the spinner in onCreate, then we can directly set the
3823 * in addition to specific applications to remove, the reason being that
3824 * this can be called when a package is updated as well. In that scenario,
3884 // We are currently in the same basic orientation as the natural orientation
3889 // We are currently in the other basic orientation to the natural orientation
3937 // disable clings when running in a test harness
4054 // with a custom workspace cling (usually specified in an overlay)