Name Description Size
AndroidGamepadManager.java package 12890
annotation
Clipboard.java Get the text on the primary clip on Android clipboard @param context application context. @return a plain text string of clipboard data. 10017
EnterpriseRoots.java 3677
EventDispatcher.java The capacity of a HashMap is rounded up to the next power-of-2. Every time the size of the map goes beyond 75% of the capacity, the map is rehashed. Therefore, to empirically determine the initial capacity that avoids rehashing, we need to determine the initial size, divide it by 75%, and round up to the next power-of-2. 18920
GeckoAppShell.java Keep these values consistent with |SensorType| in HalSensor.h 53681
GeckoBatteryManager.java 7398
GeckoDragAndDrop.java The drag/drop data is nsITransferable and stored into nsDragService. 7796
GeckoEditableChild.java GeckoEditableChild implements the Gecko-facing side of IME operation. Each nsWindow in the main process and each PuppetWidget in each child content process has an instance of GeckoEditableChild, which communicates with the GeckoEditableParent instance in the main process. 14607
GeckoJavaSampler.java Takes samples and adds markers for Java threads for the Gecko profiler. <p>This class is thread safe because it uses synchronized on accesses to its mutable state. One exception is {@link #isProfilerActive()}: see the javadoc for details. 30001
GeckoNetworkManager.java Provides connection type, subtype and general network status (up/down). <p>According to spec of Network Information API version 3, connection types include: bluetooth, cellular, ethernet, none, wifi and other. The objective of providing such general connection is due to some security concerns. In short, we don't want to expose exact network type, especially the cellular network type. <p>Specific mobile subtypes are mapped to general 2G, 3G and 4G buckets. <p>Logic is implemented as a state machine, so see the transition matrix to figure out what happens when. This class depends on access to the context, so only use after GeckoAppShell has been initialized. 14998
GeckoScreenChangeListener.java 2131
GeckoScreenOrientation.java Updates, locks and unlocks the screen orientation. Note: Replaces the OnOrientationChangeListener to avoid redundant rotation event handling. 9007
GeckoSystemStateListener.java Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED 6554
GeckoThread.java The rank is an arbitrary value reflecting the amount of components or features that are available for use. During startup and up to the RUNNING state, the rank value increases because more components are initialized and available for use. During shutdown and up to the EXITED state, the rank value decreases as components are shut down and become unavailable. EXITING has the same rank as LIBS_READY because both states have a similar amount of components available. 29663
gfx
InputMethods.java Check input method if we require a workaround to remove composition in {@link android.view.inputmethod.InputMethodManager.updateSelection}. @param inputMethod The input method name by {@link #getCurrentInputMethod}. @return true if {@link android.view.inputmethod.InputMethodManager.updateSelection} doesn't remove the composition, use {@link android.view.inputmethod.InputMehtodManager.restartInput} to remove it in this case. 5147
MagnifiableSurfaceView.java A {@link android.view.SurfaceView} which allows a {@link android.widget.Magnifier} widget to magnify a custom {@link android.view.Surface} rather than the SurfaceView's default Surface. 3904
media
mozglue
MultiMap.java Defines a map that holds a collection of values against each key. @param <K> Key type @param <T> Value type 4332
NativeQueue.java package 8007
process
ScreenManagerHelper.java Trigger a refresh of the cached screen information held by Gecko. 868
SpeechSynthesisService.java 7579
SurfaceViewWrapper.java Provides transparent access to either a SurfaceView or TextureView 5670
TelemetryUtils.java All telemetry times are relative to one of two clocks: <p>* Real time since the device was booted, including deep sleep. Use this as a substitute for wall clock. * Uptime since the device was booted, excluding deep sleep. Use this to avoid timing a user activity when their phone is in their pocket! <p>The majority of methods in this class are defined in terms of real time. 2787
util