Searched refs:current (Results 226 - 250 of 252) sorted by relevance

1234567891011

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java85 * We need to track this so that we can ignore current position when it changes.
307 * Returns the current orientaion of the layout.
516 final int current;
519 current = mOrientationHelper.getEndAfterPadding() -
521 upcomingOffset = current - mPendingScrollPositionOffset;
523 current = mOrientationHelper.getDecoratedStart(existing)
525 upcomingOffset = mPendingScrollPositionOffset - current;
805 // according to our current view bounds
1131 * Returns the current state of the smooth scrollbar feature. It is enabled by default.
1330 * Helper method to call appropriate recycle method depending on current layou
[all...]
/frameworks/base/core/java/android/widget/
H A DListView.java1281 * current height reaches maxHeight.
1644 // focus on the current host and virtual view.
1772 // The current selected item should get focus if items are
2173 * to the current position.
2175 * @param current the current position
2181 int lookForSelectablePositionAfter(int current, int position, boolean lookDown) { argument
2193 // Then check between the starting position and the current position.
2195 current = MathUtils.constrain(current,
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp138 // drawing state & current state are identical
274 // the layer has been remove from the current state list (and just before
438 // which means using the inverse of the current transform set on the
453 // and apply to the current transform
464 // need to reorient the inverse rotation in terms of the current
647 // and apply to the current transform
905 // Bind the current buffer to the GL texture, and wait for it to be
922 // Query the texture matrix given our current filtering mode.
1217 // otherwise we use the current buffer's format.
1390 " current
1764 Layer::State& current; member in struct:android::Reject
1770 Reject(Layer::State& front, Layer::State& current, bool& recomputeVisibleRegions, bool stickySet, const char* name, int32_t overrideScalingMode) argument
[all...]
/frameworks/native/opengl/libagl/
H A Degl.cpp1194 ogles_context_t* current = (ogles_context_t*)getGlThreadSpecific(); local
1198 if (current != gl) {
1199 // it is an error to set a context current, if it's already
1200 // current to another thread
1204 if (current) {
1205 // mark the current context as not current, and flush
1207 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT;
1211 // The context is not current, make it current!
[all...]
H A Darray.cpp137 memcpy(v, c->current.color.v, sizeof(vec4_t));
146 memcpy(v, c->current.texture[c->arrays.tmu].v, sizeof(vec4_t));
/frameworks/base/docs/html/training/
H A Dtraining_toc.cs753 description="How to add location-aware features to your app by getting the user's current location.">
759 <a href="<?cs var:toroot ?>training/location/retrieve-current.html">
1932 "How to minimize the amount of power your app requires by adapting to current
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaSessionCompat.java303 * current stream volume for this session. If {@link #setPlaybackToLocal}
343 * Get the current active state of this session.
404 * Update the current playback state.
406 * @param state The current state of playback
413 * Update the current metadata. New metadata can be created using
424 * should contain the current item, and previous or upcoming items if they
425 * exist. Specify null if there is no current play queue.
1799 int current;
1809 current = vp.getCurrentVolume();
1813 current
[all...]
H A DMediaControllerCompat.java132 * Get the current playback state for this session.
134 * @return The current PlaybackState or null
141 * Get the current metadata for this session.
143 * @return The current MediaMetadata or null.
150 * Get the current play queue for this session if one is set. If you only
151 * care about the current item {@link #getMetadata()} should be used.
153 * @return The current play queue or null.
195 * @return The current set of flags for the session.
202 * Get the current playback info for this session.
204 * @return The current playbac
770 PlaybackInfo(int type, int stream, int control, int max, int current) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java82 public void addTrace(float x, float y, boolean current) { argument
101 mTraceCurrent[mTraceCount] = current;
364 // Draw current point.
369 // Draw current touch ellipse.
374 // Draw current tool ellipse.
414 // Draw the current bounding box
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouter.java62 * and streams from the current device to external speakers and destination devices.
395 * Unselects the current round and selects the default route instead.
405 * @param reason The reason for disconnecting the current route.
1278 * Gets the current volume for this route. Depending on the route, this may only
1329 * @param delta The delta to add to the current volume.
2421 Log.i(TAG, "Unselecting the current route because it "
2470 // When the current route is removed or no longer selectable,
2689 int max, int current) {
2692 // new current volume
2693 mVpCompat.setCurrentVolume(current);
2688 configureVolume(@olumeProviderCompat.ControlType int controlType, int max, int current) argument
[all...]
/frameworks/base/libs/hwui/
H A DOpenGLRenderer.h208 * Store the current display state (most importantly, the current clip and transform), and
233 * Scales the alpha on the current snapshot. This alpha value will be modulated
405 * Compose the layer defined in the current snapshot with the layer
408 * The current snapshot *must* be a layer (flag kFlagIsLayer set.)
410 * @param curent The current snapshot containing the layer to compose
411 * @param previous The previous snapshot to compose the current layer with
413 virtual void composeLayer(const Snapshot& current, const Snapshot& previous);
421 * Returns the region of the current layer.
478 * the current snapsho
[all...]
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DCat.java182 return new Cat(context, Math.abs(ThreadLocalRandom.current().nextInt()));
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DTileAdapter.java532 public boolean canDropOver(RecyclerView recyclerView, ViewHolder current,
/frameworks/base/core/java/android/view/
H A DView.java459 * its current bounds.
1676 * invalidated, prior to the current drawing iteration. If true, the view must re-draw
1915 * Indicates that this view has reported that it can accept the current drag's content.
3986 * access the current theme, resources, etc.
4055 * access the current theme, resources, etc.
4073 * access the current theme, resources, etc.
4075 * @param defStyleAttr An attribute in the current theme that contains a
4106 * access the current theme, resources, etc.
4108 * @param defStyleAttr An attribute in the current theme that contains a
7043 Object current
[all...]
H A DViewGroup.java146 * Used to track the current invalidation region.
1404 // the current drag event.
2419 View current = viewRoot.getAccessibilityFocusedHost();
2420 if (current == null) {
2424 ViewParent parent = current.getParent();
2427 return current;
2429 current = (View) parent;
2430 parent = current.getParent();
2797 * take ownership of the current gesture at any point.
2828 * The current targe
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp402 // If the UID has changed, log the status and update current UID in mTorchUidMap
985 // Only allow clients who are being used by the current foreground device user, unless calling
1080 auto current = mActiveClientManager.get(cameraId); local
1081 if (current != nullptr) {
1082 auto clientSp = current->getValue();
1097 // Get current active client PIDs
1222 "current clients:\n%s", __FUNCTION__, i->getKey().string(),
1228 "current clients:\n%s", __FUNCTION__, i->getKey().string(), strerror(-ret),
1387 ALOGE("%s: getting current torch status failed for camera %s",
1510 /* Immediately signal current statu
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp981 NativeContext* current = DngCreator_getNativeContext(env, thiz); local
987 if (current) {
988 current->decStrong((void*) DngCreator_setNativeContext);
2182 "Invalid size %d for Image, size given in metadata is %d at current stride",
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java528 * Prints the contents of a Cursor's current row to System.out.
537 * Prints the contents of a Cursor's current row to a PrintSteam.
561 * Prints the contents of a Cursor's current row to a StringBuilder.
585 * Dump the contents of a Cursor's current row to a String.
752 * query again when we move outside the bounds of the current window.
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java155 * The current set of user whitelisted apps for device idle mode, meaning these are allowed
668 // first alarm we've seen in the current delivery generation from this package
908 // We have to set current TimeZone info to kernel
979 String current = SystemProperties.get(TIMEZONE_PROPERTY);
980 if (current == null || !current.equals(zone.getID())) {
982 Slog.v(TAG, "timezone changed: " + current + ", new=" + zone.getID());
2109 // with delivery of this current batch
2667 // based off of the current Zone gmt offset + userspace tracked
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowState.java141 // UserId and appId of the owner. Don't display windows of non-current user.
1006 // The current window hasn't specified whether menu key is needed;
1205 * The same as isVisible(), but follows the current hidden state of the associated app token,
1896 boolean current = doAnimation ? mPolicyVisibilityAfterAnim
1898 if (!current) {
2261 * Update our current configurations, based on task configuration.
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java584 // Here the current suggestion count is still the old one since we update
595 // Here the current suggestion count is still the old one since we update
1208 String current = mPendingChips.get(i);
1209 int tokenStart = editable.toString().indexOf(current);
1211 int tokenEnd = tokenStart + current.length() - 1;
3139 // Remove the current chip, so drag-and-drop will result in a move.
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/frameworks/native/services/inputflinger/
H A DInputReader.h309 * and provides information about all current input devices.
354 /* Query current input state. */
1502 // Is the current stream of direct touch events aborted
1533 // The current viewport.
1717 // Pointer coords and ids for the current and previous pointer gesture.
1884 static void assignPointerIds(const RawState* last, RawState* current);
1980 float currentValue; // current value
1982 float highCurrentValue; // current value of high split
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
H A DItemTouchHelper.java232 * {@link Callback#getAbsoluteMovementFlags(RecyclerView, ViewHolder)} for the current
450 * method with {@code null} to detach it from the current RecyclerView.
453 * {@code null} if you want to remove ItemTouchHelper from the current
550 * current action
1583 * Return true if the current ViewHolder can be dropped over the the target ViewHolder.
1592 * @param current The ViewHolder that user is dragging.
1597 public boolean canDropOver(RecyclerView recyclerView, ViewHolder current, argument
1698 * current direction velocity is larger then the perpendicular one. Otherwise, user's
/frameworks/base/services/core/java/com/android/server/pm/
H A DSettings.java304 * The current database version for apps on internal storage. This is
317 * Force all version information to match current system values,
1278 // Update the status for the current package
1279 PackageSetting current = mPackages.get(packageName);
1280 if (current == null) {
1295 current.setDomainVerificationStatusForUser(status, alwaysGeneration, userId);
1931 // backup for future reference since the current packages
1937 + "current changes will be lost at reboot");
2049 + " current changes will be lost at reboot", e);
2263 // backup for future reference since the current setting
[all...]

Completed in 5089 milliseconds

1234567891011