/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | TransformUtils.java | 41 public static FrameImage2D makeMipMappedFrame(FrameImage2D current, int[] dimensions) { argument 45 if (current == null) { 48 current = Frame.create(imageType, pow2Dims).asFrameImage2D(); 49 } else if (!Arrays.equals(dimensions, current.getDimensions())) { 50 current.resize(pow2Dims); 52 return current; 55 public static FrameImage2D makeTempFrame(FrameImage2D current, int[] dimensions) { argument 56 if (current == null) { 59 current = Frame.create(imageType, dimensions).asFrameImage2D(); 60 } else if (!Arrays.equals(dimensions, current [all...] |
H A D | FrameManager.java | 263 public static FrameManager current() { method in class:FrameManager 264 GraphRunner runner = GraphRunner.current(); 466 if (!mRunner.isRunning() || GraphRunner.current() != mRunner) {
|
H A D | MffContext.java | 86 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;
|
H A D | Filter.java | 41 public int current = STATE_UNPREPARED; field in class:Filter.State 44 return current == state; 151 * Activates the current filter. 163 * Deactivates the current filter. 414 * Returns the current FrameManager instance. 415 * @return the current FrameManager instance or null if there is no FrameManager set up yet. 443 if (mState.current == State.STATE_OPEN) { 453 * Request that this filter be closed after the current processing step. 592 if (mState.current == State.STATE_UNPREPARED) { 594 mState.current [all...] |
/frameworks/base/libs/hwui/ |
H A D | Extensions.cpp | 114 const char* current = extensions; local 115 const char* head = current; 118 head = strchr(current, ' '); 119 String8 s(current, head ? head - current : strlen(current)); 124 current = head + 1;
|
/frameworks/base/sax/java/android/sax/ |
H A D | RootElement.java | 101 Element current = null; field in class:RootElement.Handler 123 + " within text element named " + current + ".", 127 // If we're one level below the current element. 128 if (depth == current.depth + 1) { 130 Children children = current.children; 155 this.current = e; 180 Element current = this.current; 182 // If we've ended the current element... 183 if (depth == current [all...] |
/frameworks/base/cmds/app_process/ |
H A D | app_main.cpp | 156 int current = personality(0xFFFFFFFF); local 157 if ((current & ADDR_COMPAT_LAYOUT) == 0) { 158 personality(current | ADDR_COMPAT_LAYOUT);
|
/frameworks/base/core/java/android/view/ |
H A D | AccessibilityIterators.java | 42 public int[] following(int current); argument 43 public int[] preceding(int current); argument
|
H A D | AccessibilityInteractionController.java | 754 private void prefetchSiblingsOfRealNode(View current, argument 756 ViewParent parent = current.getParentForAccessibility(); 769 if (child.getAccessibilityViewId() != current.getAccessibilityViewId() 872 private void prefetchSiblingsOfVirtualNode(AccessibilityNodeInfo current, View providerHost, argument 874 final long parentNodeId = current.getParentNodeId(); 891 if (childNodeId != current.getSourceNodeId()) {
|
/frameworks/av/services/audioflinger/ |
H A D | FastMixer.cpp | 56 const FastMixerState *previous = &initial, *current = &initial; local 90 ThreadCpuUsage tcu; // for reading the current CPU clock frequency in kHz 125 ALOG_ASSERT(current == &initial && previous == &initial); 126 next = current; 130 if (next != current) { 141 // However, the state queue only guarantees access to current and previous states. 145 // non-idle -> non-idle update previous from current in-place 146 // non-idle -> idle update previous from copy of current 149 if (!(current->mCommand & FastMixerState::IDLE)) { 151 preIdle = *current; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | Ticker.java | 65 int current; field in class:Ticker.Segment 87 if (this.current > this.text.length()) { 90 CharSequence substr = this.text.subSequence(this.current, this.text.length()); 96 this.next = this.current + end; 99 throw new RuntimeException("lineCount=" + lineCount + " current=" + current + 130 this.current = index + start; 134 this.current = len; 147 this.current = index; 186 // (which will let the current on [all...] |
/frameworks/base/services/java/com/android/server/updates/ |
H A D | ConfigUpdateInstallReceiver.java | 92 Slog.i(TAG, "Not installing, new version is <= current version"); 171 Slog.i(TAG, "Couldn't find current metadata, assuming first update"); 184 Slog.i(TAG, "Failed to read current content, assuming first update!"); 202 private boolean verifyVersion(int current, int alternative) { argument 203 return (current < alternative); 206 private boolean verifyPreviousHash(String current, String required) { argument 212 return current.equals(required);
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | SymbolCategory.cpp | 60 Category* current = m_pFile; local 61 while (NULL != current) { 62 Category* tmp = current; 63 current = current->next; 70 Category* current = m_pRegular; local 74 while (NULL != current) { 75 if (current->type == pTarget) { 76 current->end++; 80 if (!current 115 Category* current = m_pFile; local [all...] |
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 75 RECT current; local 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/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 80 public void addTrace(float x, float y, boolean current) { argument 99 mTraceCurrent[mTraceCount] = current; 362 // Draw current point. 367 // Draw current touch ellipse. 372 // Draw current tool ellipse. 412 // Draw the current bounding box
|
H A D | AutoScrollHelper.java | 417 * 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/base/wifi/java/android/net/wifi/ |
H A D | WifiConfiguration.java | 165 public static final String[] strings = { "current", "disabled", "enabled" }; 187 * The current status of this network configuration entry. 496 * @param current configuration contains values for additional fields 502 String getKeyIdForCredentials(WifiConfiguration current) { argument 506 // Get current config details for fields that are not initialized 507 if (TextUtils.isEmpty(SSID)) SSID = current.SSID; 509 allowedKeyManagement = current.allowedKeyManagement; 523 trimStringForKeyId(enterpriseConfig.getKeyId(current != null ? 524 current.enterpriseConfig : null));
|
H A D | WifiEnterpriseConfig.java | 640 String getKeyId(WifiEnterpriseConfig current) { argument 644 // If either eap or phase2 are not initialized, use current config details 646 eap = current.mFields.get(EAP_KEY); 649 phase2 = current.mFields.get(PHASE2_KEY);
|
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 95 const Rect* current = end - 1; local 96 int lastTop = current->top; 100 dst.add(*current); 101 current--; 102 } while (current->top == lastTop && current >= begin); 110 while (current >= begin) { 111 if (current->top != (current + 1)->top) { 113 if ((spanDirection == direction_RTL && current [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 58 static inline float AdjustRatio(float current, float next) { argument 59 return (current + next) / 2.0; 202 // Get the current input frame and make sure it is a GL frame
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardUpdateMonitor.java | 485 Log.w(TAG, "Ignoring generation id " + generationId + " because it's not current"); 843 private static boolean isBatteryUpdateInteresting(BatteryStatus old, BatteryStatus current) { argument 844 final boolean nowPluggedIn = current.isPluggedIn(); 848 && (old.status != current.status); 856 if (nowPluggedIn && old.level != current.level) { 861 if (!nowPluggedIn && current.isBatteryLow() && current.level != old.level) { 935 // Notify listener of the current state
|
/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 466 "deferred current event, seq=%u", 696 // Ensure that the current sample has all of the pointers that need to be reported. 697 const History* current = touchState.getHistory(0); local 701 if (!current->idBits.hasBit(id)) { 714 // Interpolate between current sample and future sample. 715 // So current->eventTime <= sampleTime <= future.eventTime. 718 nsecs_t delta = future.eventTime - current->eventTime; 725 alpha = float(sampleTime - current->eventTime) / delta; 727 // Extrapolate future sample using current sample and past sample. 728 // So other->eventTime <= current [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 107 // drawing state & current state are identical 161 // the layer has been remove from the current state list (and just before 309 // which means using the inverse of the current transform set on the 391 // and apply to the current transform 484 // Bind the current buffer to the GL texture, and wait for it to be 501 // Query the texture matrix given our current filtering mode. 668 // otherwise we use the current buffer's format. 724 " current={ active ={ wh={%4u,%4u} crop={%4d,%4d,%4d,%4d} (%4d,%4d) }\n" 962 Layer::State& current; member in struct:android::Reject 964 Reject(Layer::State& front, Layer::State& current, argument [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | AutoScrollHelper.java | 418 * 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/base/core/java/android/widget/ |
H A D | ListView.java | 1217 * current height reaches maxHeight. 1662 // Failed to place focus, clear current (invalid) focus. 2028 * to the current position. 2030 * @param current the current position 2036 int lookForSelectablePositionAfter(int current, int position, boolean lookDown) { argument 2048 // Then check between the starting position and the current position. 2050 current = MathUtils.constrain(current, -1, count - 1); 2053 while ((position > current) [all...] |