Searched refs:current (Results 51 - 75 of 252) sorted by relevance

1234567891011

/frameworks/rs/cpu_ref/
H A DrsCpuCoreRuntime.h55 struct RsLaunchDimensions current; member in struct:RsExpandKernelDriverInfo
H A DrsCpuIntrinsicConvolve5x5.cpp360 uint32_t y0 = rsMax((int32_t)info->current.y-2, 0);
361 uint32_t y1 = rsMax((int32_t)info->current.y-1, 0);
362 uint32_t y2 = info->current.y;
363 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1));
364 uint32_t y4 = rsMin((int32_t)info->current.y+2, (int32_t)(info->dim.y-1));
420 uint32_t y0 = rsMax((int32_t)info->current.y-2, 0);
421 uint32_t y1 = rsMax((int32_t)info->current.y-1, 0);
422 uint32_t y2 = info->current.y;
423 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1));
424 uint32_t y4 = rsMin((int32_t)info->current
[all...]
/frameworks/base/media/tests/MediaDump/
H A DAndroid.mk11 LOCAL_SDK_VERSION := current
/frameworks/native/opengl/tests/gl2_cameraeye/
H A DAndroid.mk11 LOCAL_SDK_VERSION := current
/frameworks/base/cmds/uiautomator/library/
H A DAndroid.mk76 $(filter-out current, \
106 uiautomator-checkapi-current, \
107 $(uiautomator_api_dir)/current.txt, \
120 @echo Copying uiautomator current.txt
121 $(hide) $(ACP) $< $(PRIVATE_API_DIR)/current.txt
/frameworks/base/core/java/android/widget/
H A DDayPickerViewPager.java152 final SimpleMonthView current = adapter.getView(getCurrent());
153 if (current != childToSkip && current != null) {
154 final View v = current.findViewByPredicate(predicate);
164 if (child != childToSkip && child != current) {
/frameworks/base/services/core/java/com/android/server/updates/
H A DSELinuxPolicyInstallReceiver.java106 File current = new File(updateDir.getParentFile(), "current");
108 if (current.exists()) {
110 Os.rename(current.getPath(), backup.getPath());
113 Os.rename(tmp.getPath(), current.getPath());
118 Os.rename(backup.getPath(), current.getPath());
/frameworks/native/include/private/ui/
H A DRegionHelper.h75 RECT current(Rect::EMPTY_RECT);
78 int inside = spanner.next(current.top, current.bottom);
82 int inside = spannerInner.next(current.left, current.right);
84 if (current.left < current.right &&
85 current.top < current.bottom) {
86 rasterizer(current);
[all...]
/frameworks/minikin/tests/
H A DWordBreakerTests.cpp43 EXPECT_EQ(0, breaker.current());
48 EXPECT_EQ(6, breaker.current());
53 EXPECT_EQ(11, breaker.current());
61 EXPECT_EQ(0, breaker.current());
77 EXPECT_EQ(0, breaker.current());
94 EXPECT_EQ(0, breaker.current());
115 EXPECT_EQ(0, breaker.current());
138 EXPECT_EQ(0, breaker.current());
153 EXPECT_EQ(0, breaker.current());
170 EXPECT_EQ(0, breaker.current());
[all...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityInputFilter.java215 * Gets current event stream state associated with an input event.
288 MotionEventHolder current = mEventQueue;
289 if (current == null) {
292 while (current.next != null) {
293 current = current.next;
296 if (current == null) {
300 if (current.event.getEventTimeNano() >= frameNanos) {
302 current.next = null;
305 handleMotionEvent(current
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DZenModeConditions.java69 final ArraySet<Uri> current = new ArraySet<>();
70 evaluateRule(config.manualRule, current, processSubscriptions);
72 evaluateRule(automaticRule, current, processSubscriptions);
80 if (!current.contains(id)) {
120 private void evaluateRule(ZenRule rule, ArraySet<Uri> current, boolean processSubscriptions) { argument
143 if (current != null) {
144 current.add(id);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DMffContext.java86 public int current = STATE_RUNNING; field in class:MffContext.State
104 /** The current context state. */
167 if (mState.current == State.STATE_RUNNING) {
172 mState.current = State.STATE_PAUSED;
184 if (mState.current == State.STATE_PAUSED) {
187 mState.current = State.STATE_RUNNING;
198 if (mState.current != State.STATE_DESTROYED) {
209 mState.current = State.STATE_DESTROYED;
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboardHelper.java248 final Keyboard current = mKeyboardView.getKeyboard();
250 if (current == mQwertyKeyboard || current == mQwertyKeyboardShifted) {
252 } else if (current == mSymbolsKeyboard || current == mSymbolsKeyboardShifted) {
270 Keyboard current = mKeyboardView.getKeyboard();
272 final boolean isAlphaMode = current == mQwertyKeyboard
273 || current == mQwertyKeyboardShifted;
285 if (next != current) {
H A DAutoScrollHelper.java417 * to reach target velocity for the current touch position.
601 * @param current Touch position within within the total size.
604 private float getEdgeValue(float relativeValue, float size, float maxValue, float current) { argument
607 final float valueLeading = constrainEdgeValue(current, edgeSize);
608 final float valueTrailing = constrainEdgeValue(size - current, edgeSize);
622 private float constrainEdgeValue(float current, float leading) { argument
630 if (current < leading) {
631 if (current >= 0) {
633 return 1f - current / leading;
641 if (current <
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DAutoScrollHelper.java418 * to reach target velocity for the current touch position.
602 * @param current Touch position within within the total size.
605 private float getEdgeValue(float relativeValue, float size, float maxValue, float current) { argument
608 final float valueLeading = constrainEdgeValue(current, edgeSize);
609 final float valueTrailing = constrainEdgeValue(size - current, edgeSize);
623 private float constrainEdgeValue(float current, float leading) { argument
631 if (current < leading) {
632 if (current >= 0) {
634 return 1f - current / leading;
642 if (current <
[all...]
/frameworks/opt/setupwizard/library/
H A DAndroid.mk14 LOCAL_SDK_VERSION := current
34 LOCAL_SDK_VERSION := current
60 LOCAL_SDK_VERSION := current
/frameworks/support/
H A Dapicheck.mk24 # $(api_check_current_msg_file) - file containing error message for current API check
68 $(filter-out current, \
92 $(support_module)-checkapi-current, \
93 $(support_module_api_dir)/current.txt, \
109 @echo Copying $(PRIVATE_MODULE) current.txt
110 $(hide) $(ACP) $< $(PRIVATE_API_DIR)/current.txt
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DViewPagerActions.java57 int current = viewPager.getCurrentItem();
58 viewPager.setCurrentItem(current + 1, false);
85 int current = viewPager.getCurrentItem();
86 viewPager.setCurrentItem(current - 1, false);
/frameworks/base/libs/androidfw/tests/data/appaslib/
H A Dbuild18 PATH_TO_FRAMEWORK_RES=$(gettop)/prebuilts/sdk/current/android.jar
/frameworks/rs/api/
H A Drs_time.spec20 The functions below can be used to tell the current clock time and the current
92 Returns the current system clock (uptime) in milliseconds.
100 Returns the current system clock (uptime) in nanoseconds.
/frameworks/base/core/java/com/android/internal/database/
H A DSortCursor.java77 String current = mCursors[j].getString(mSortColumns[j]);
78 if (mCursor == null || current.compareToIgnoreCase(smallest) < 0) {
79 smallest = current;
161 String current = mCursors[j].getString(mSortColumns[j]);
162 if (smallestIdx < 0 || current.compareToIgnoreCase(smallest) < 0) {
163 smallest = current;
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DPathParser.java209 // current number, and endPosition is the character after the current
314 float[] current = new float[6];
317 addCommand(path, current, previousCommand, node[i].type, node[i].params);
323 * The current PathDataNode will be interpolated between the
339 private static void addCommand(Path path, float[] current, argument
343 float currentX = current[0];
344 float currentY = current[1];
345 float ctrlPointX = current[2];
346 float ctrlPointY = current[
[all...]
/frameworks/base/core/java/android/security/net/config/
H A DNetworkSecurityConfig.java214 Builder current = parent;
215 while (current != null) {
216 if (current == this) {
219 current = current.getParent();
/frameworks/base/core/java/android/text/method/
H A DMultiTapKeyListener.java117 char current = content.charAt(selStart);
119 if (Character.isLowerCase(current)) {
121 String.valueOf(current).toUpperCase());
127 if (Character.isUpperCase(current)) {
129 String.valueOf(current).toLowerCase());
/frameworks/base/core/java/android/animation/
H A DStateListAnimator.java90 * Returns the current {@link android.animation.Animator} which is started because of a state
112 final View current = getTarget();
113 if (current == view) {
116 if (current != null) {
246 * Sets the changing configurations value to the union of the current changing configurations

Completed in 684 milliseconds

1234567891011