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
192 /** The different states that Launcher can be in. */
243 // We set the state in both onCreate and then onNewIntent in some cases, which causes both
245 // Instead, just save the state that we need to restore Launcher to, and commit it in onResume.
289 // External icons saved in case of resource changes, orientation, etc.
413 // configuration change) while launcher is in the foreground
524 DataInputStream in = null;
526 in = new DataInputStream(context.openFileInput(PREFERENCES));
527 configuration.locale = in.readUTF();
528 configuration.mcc = in.readInt();
529 configuration.mnc = in.readInt();
535 if (in != null) {
537 in.close();
575 // that is subsequently removed from the workspace in startBinding().
620 // if you turned the screen off and then back while in All Apps, Launcher would not
731 // The animated view may be null in the case of a rotation during widget configuration
764 // Background was set to gradient in onPause(), restore to black if in all apps.
797 Log.d(TAG, "Time spent processing callbacks in onResume: " +
802 // Reset the pressed state of icons that were locked in the press state while activities
812 // It is possible that widgets can receive updates while launcher is not in the foreground.
813 // Consequently, the widgets will be inflated in the orientation of the foreground activity
819 // were updated in the wrong orientation.
822 Log.d(TAG, "Time spent in onResume: " + (System.currentTimeMillis() - startTime));
830 // when Launcher resumes and we are still in AllApps.
1028 // Setup the drag controller (drop targets have to be added in reverse order in priority)
1286 // Reset AllApps to its initial state only if we are not in the middle of
1333 // The following code used to be in onResume, but it turns out onResume is called when
1334 // you're in All Apps and click home to go to the workspace. onWindowVisibilityChanged
1348 // We delay the layer building a bit in order to give
1349 // other message processing a time to run. In particular
1350 // this avoids a delay in hiding the IME if it was
1488 // In all these cases, only animate if we're already on home
1522 // first in order to avoid janky animations.
1531 Log.d(TAG, "Time spent in onNewIntent: " + (System.currentTimeMillis() - startTime));
1645 // Use any text typed in the launcher as the initial query
1676 // Make sure that we have a Bundle to put source in
1858 // In this case, we either need to start an activity to get permission to bind
1930 // Removed in Eclair MR1
2153 // private contract between launcher and may be ignored in the future).
2258 * in the DragLayer in the exact absolute location of the original FolderIcon.
2297 // Just in case this image view is still in the drag layer from a previous animation,
2339 // We remove and re-draw the FolderIcon in-case it has changed
2506 // Only disable it if we are in all apps
2589 * - Launch an app and turn off the screen while in that app
2882 // When launcher has focus again, disable the wallpaper if we are in AllApps
2902 // Show the search bar (only animate if we were showing the drop target bar in spring
2908 // We only need to animate in the dock divider if we're going from spring loaded mode
2987 // Otherwise, we are not in spring loaded mode, so don't do anything.
3091 // Look for the toolbar icon specified in the activity meta-data
3113 // if successful in getting icon, return it; otherwise, set button to use default drawable
3140 // if successful in getting icon, return it; otherwise, set button to use default drawable
3359 * in onResume.
3369 * skip some work in that case since we will come back again.
3391 * in onResume.
3401 * skip some work in that case since we will come back again.
3430 // If we're starting binding all over again, clear any bind calls we'd postponed in
3570 Log.d(TAG, "bound widget id="+item.appWidgetId+" in "
3608 // Update the market app icon as necessary (the other icons will be managed in response to
3609 // package changes in bindSearchablesChanged()
3632 // If the user has interacted recently, then just add the items in place if they
3647 * Runs a new animation that scales up icons that were added while Launcher was in the
3656 // Order these new views spatially so that they animate in order
3667 // Animate each of the views in place (or show them immediately if requested)
3746 // If we did not initialize the spinner in onCreate, then we can directly set the
3797 * in addition to specific applications to remove, the reason being that
3798 * this can be called when a package is updated as well. In that scenario,
3858 // We are currently in the same basic orientation as the natural orientation
3863 // We are currently in the other basic orientation to the natural orientation
3911 // disable clings when running in a test harness
4021 // with a custom workspace cling (usually specified in an overlay)