/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeAac.cpp | 70 /* Number of decoded samples produced by one AAC frame; defined by the standard */ 110 unsigned char *frame; variable 280 // verify that we are at start of an ADTS frame 281 } else if (!(filelen < 7 || frame[0] != 0xFF || (frame[1] & 0xF0) != 0xF0)) { 286 unsigned framelen = ((frame[3] & 3) << 11) | (frame[4] << 3) | (frame[5] >> 5); 290 frame, framelen, NULL, 0); 292 frame [all...] |
/frameworks/rs/ |
H A D | rsContext.cpp | 180 uint64_t frame = mTimeFrame - mTimeLastFrame; local 181 mTimeMSLastFrame = frame / 1000000;
|
/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 126 Rect frame; member in struct:android::DisplayState
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.h | 143 // This value is specified in number of frames. Log frame stats at most 171 Rect frame; member in struct:android::SurfaceFlinger::DisplayDeviceState
|
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_gif.cpp | 236 ALOGD(" drawFrame on %p nr %d on addr %p, previous frame nr %d", 251 ALOGD("frame %d needs frame %d preserved, but %d is currently, so drawing from scratch", 260 const SavedImage& frame = gif->SavedImages[i]; local 264 ALOGD("producing frame %d, drawing frame %d (opaque %d, disp %d, del %d)", 283 && checkIfCover(frame.ImageDesc, prevFrame.ImageDesc); 305 // currently drawn frame will be restored by a following DISPOSE_PREVIOUS draw, so 315 if (frame.ImageDesc.ColorMap) { 316 cmap = frame [all...] |
H A D | FrameSequence_webp.cpp | 35 // Returns true if the frame covers full canvas. 36 static bool isFullFrame(const WebPIterator& frame, int canvasWidth, int canvasHeight) { argument 37 return (frame.width == canvasWidth && frame.height == canvasHeight); 40 // Returns true if the rectangle defined by 'frame' contains pixel (x, y). 41 static bool FrameContainsPixel(const WebPIterator& frame, int x, int y) { argument 42 const int left = frame.x_offset; 43 const int right = left + frame.width; 44 const int top = frame.y_offset; 45 const int bottom = top + frame [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardViewStateManager.java | 202 View frame = mKeyguardWidgetPager.getPageAt(mKeyguardWidgetPager.getPageWarpIndex()); 203 ((KeyguardWidgetFrame)frame).showFrame(this); 208 View frame = mKeyguardWidgetPager.getPageAt(mKeyguardWidgetPager.getPageWarpIndex()); 209 ((KeyguardWidgetFrame)frame).hideFrame(this); 212 private int getChallengeTopRelativeToFrame(KeyguardWidgetFrame frame, int top) { argument 215 mapPoint((View) mChallengeLayout, frame, mTmpPoint); 255 KeyguardWidgetFrame frame = mKeyguardWidgetPager.getWidgetPageAt(mPageListeningToSlider); 256 if (frame == null) return; 260 frame.resetSize(); 266 if (frame [all...] |
H A D | KeyguardWidgetPager.java | 213 KeyguardWidgetFrame frame = getWidgetPageAt(i); 214 updateWidgetFrameImportantForAccessibility(frame); 218 private void updateWidgetFrameImportantForAccessibility(KeyguardWidgetFrame frame) { argument 219 if (frame.getContentAlpha() <= 0) { 220 frame.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO); 222 frame.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_YES); 320 * We wrap widgets in a special frame which handles drawing the over scroll foreground. 323 KeyguardWidgetFrame frame; 326 frame = new KeyguardWidgetFrame(getContext()); 334 frame [all...] |
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputManagerService.java | 1283 public void createOverlayView(IBinder sessionToken, IBinder windowToken, Rect frame, argument 1293 .createOverlayView(windowToken, frame); 1304 public void relayoutOverlayView(IBinder sessionToken, Rect frame, int userId) { argument 1313 .relayoutOverlayView(frame);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowState.java | 139 * Actual frame shown on-screen (may be modified by animation). These 197 * This is the given touchable area relative to the window frame, or null if none. 204 * NOT touchable, so we must use those to adjust the frame during hit 223 // "Real" frame that the application sees, in display coordinate space. 237 // The region of the display frame that the display type supports displaying content on. This 243 // The display frame minus the stable insets. This value is always constant regardless of if 248 // bars are visible, the decor frame is equal to the stable frame. 251 // Equal to the decor frame if the IME (e.g. keyboard) is not present. Equal to the decor frame 1325 applyInsets(Region outRegion, Rect frame, Rect inset) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | Filter.java | 665 final void addAutoReleaseFrame(Frame frame) { argument 666 mAutoReleaseFrames.add(frame);
|
H A D | FrameManager.java | 30 * The FrameManager tracks, caches, allocates and deallocates frame data. 35 * Additionally, frame managers allow attaching Frames under a specified key. This allows decoupling 36 * filter-graphs by instructing one node to attach a frame under a specific key, and another to 37 * fetch the frame under the same key. 46 /** Frame caching policy: Drop least recently used frame buffers */ 48 /** Frame caching policy: Drop least frequently used frame buffers */ 88 public void assignFrame(Frame frame) { argument 90 mFrame = frame.retain(); 307 * Imports a frame from another FrameManager. 309 * This will return a frame wit 317 importFrame(Frame frame) argument 363 storeFrame(Frame frame, String slotName) argument [all...] |
H A D | FrameQueue.java | 85 public void pushFrame(Frame frame); argument 117 // Note that we cannot use a cached frame here, as we do not know where that cached 124 public void pushFrame(Frame frame) { argument 125 mFrame = frame.retain(); 162 public void pushFrame(Frame frame) { argument 163 mQueueImpl.pushFrame(frame);
|
H A D | FrameValues.java | 44 * can treat any object based frame as arrays. 46 * @return The array of values in this frame. 99 * Assign the array of values to the frame. 103 * @param values The values to assign to the frame. 138 * @param frame The frame value to assign. 141 public void setFrameValueAtIndex(FrameValue frame, int index) { argument 142 Object value = frame.getValue();
|
H A D | GraphInputSource.java | 22 .addOutputPort("frame", Signature.PORT_REQUIRED, FrameType.any()) 26 public void pushFrame(Frame frame) { argument 30 if (frame == null) { 31 throw new RuntimeException("Attempting to assign null-frame!"); 33 mFrame = frame.retain(); 39 getConnectedOutputPort("frame").pushFrame(mFrame);
|
H A D | InputPort.java | 25 * Frames flow from output ports to input ports. Filters can process frame data by calling 26 * {@link #pullFrame()} on an input port. If the input port is set to wait for an input frame 48 public void onFrameReceived(InputPort port, Frame frame); argument 59 public void onFrameReceived(InputPort port, Frame frame) { argument 62 FrameValues frameValues = frame.asFrameValues(); 65 FrameValue frameValue = frame.asFrameValue(); 69 throw new RuntimeException("Assigning frame " + frame + " to field " 76 * Attach this input port to an output port for frame passing. 117 * @param field the field to pull frame dat [all...] |
H A D | OutputPort.java | 24 * Input and output ports share their Frame slot, meaning that when a frame is waiting on an output 27 * Only one frame can be pushed onto an output port at a time. In other words, a Frame must first 28 * be consumed by the target filter before a new frame can be pushed on the output port. If the 52 * Returns true, if there is no frame waiting on this port. 60 * Returns a frame for writing. 62 * Call this method to fetch a new frame to write into. When you have finished writing the 63 * frame data, you can push it into the output queue using {@link #pushFrame(Frame)}. Note, 64 * that the Frame returned is owned by the queue. If you wish to hold on to the frame, you 71 Frame frame = getQueue().fetchAvailableFrame(dimensions); 72 if (frame ! 91 pushFrame(Frame frame) argument [all...] |
H A D | TransformUtils.java | 43 // widely used, we can add a check here to disable frame expansion on such devices. 66 public static void generateMipMaps(FrameImage2D frame) { argument 67 TextureSource texture = frame.lockTextureSource(); 69 frame.unlock(); 72 public static void setTextureParameter(FrameImage2D frame, int param, int value) { argument 73 TextureSource texture = frame.lockTextureSource(); 75 frame.unlock();
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/ |
H A D | FrameSourceFilter.java | 23 * <p> When a frame is injected using {@link #injectFrame(Frame)}, this source will push it on its 24 * output port and then sleep until another frame is injected. 25 * <p> Multiple frames may be injected before any frame is pushed out. In this case they will be 53 * Call this method to inject a frame that will be pushed in a future execution of the filter. 56 public synchronized void injectFrame(Frame frame) { argument 57 mFrames.add(frame); 63 Frame frame = obtainFrame(); 64 if (frame != null) { 65 getConnectedOutputPort("output").pushFrame(frame);
|
H A D | FrameTargetFilter.java | 20 * a new frame has been consumed. 26 * Called each time this filter receives a new frame. The implementer of this method is 27 * responsible for releasing the frame. 29 void onFramePushed(String filterName, Frame frame); argument 51 Frame frame = getConnectedInputPort("input").pullFrame(); 53 frame.retain(); 54 mListener.onFramePushed(getName(), frame);
|
H A D | MffFilterTestCase.java | 91 for (Frame frame : mOutputFrames.values()) { 92 frame.release(); 104 protected void injectInputFrame(String portName, Frame frame) { argument 106 filter.injectFrame(frame); 110 * Returns the frame pushed out by the filter under test. Should only be called after 164 public void onFramePushed(String filterName, Frame frame) { argument 165 mOutputFrames.put(filterName, frame); 169 "A frame has been pushed twice to the same output port.");
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimationDrawable.java | 34 * An object used to create frame-by-frame animations, defined by a series of Drawable objects, 37 * The simplest way to create a frame-by-frame animation is to define the animation in an XML 42 * and a series of nested <code><item></code> tags. Each item defines a frame of the animation. 87 /** The current frame, may be -1 when not animating. */ 107 * restart the animation from the first frame. If <code>restart</code> is 108 * false, the animation will resume from the most recent frame. 112 * from the first frame 203 * @return The Drawable at the specified frame inde 239 addFrame(Drawable frame, int duration) argument 256 setFrame(int frame, boolean unschedule, boolean animate) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | DamageAccumulator.cpp | 40 // When this frame is pop'd, this rect is mapped through the above transform 41 // and applied to the previous (aka parent) frame 103 LOG_ALWAYS_FATAL_IF(mHead->prev == mHead, "Cannot pop the root frame!"); 128 void DamageAccumulator::applyMatrix4Transform(DirtyStack* frame) { argument 129 mapRect(frame->matrix4, frame->pendingDirty, &mHead->pendingDirty); 143 static DirtyStack* findParentRenderNode(DirtyStack* frame) { argument 144 while (frame->prev != frame) { 145 frame 153 findProjectionReceiver(DirtyStack* frame) argument 166 applyTransforms(DirtyStack* frame, DirtyStack* end) argument 178 applyRenderNodeTransform(DirtyStack* frame) argument [all...] |
/frameworks/base/media/java/android/media/tv/ |
H A D | ITvInputSessionWrapper.java | 224 public void createOverlayView(IBinder windowToken, Rect frame) { argument 226 frame)); 230 public void relayoutOverlayView(Rect frame) { argument 231 mCaller.executeOrSendMessage(mCaller.obtainMessageO(DO_RELAYOUT_OVERLAY_VIEW, frame));
|
H A D | TvInputManager.java | 1561 * @param frame A position of the overlay view. 1565 void createOverlayView(View view, Rect frame) { argument 1569 if (frame == null) { 1570 throw new IllegalArgumentException("frame cannot be null"); 1580 mService.createOverlayView(mToken, view.getWindowToken(), frame, mUserId); 1589 * @param frame A new position of the overlay view. 1592 void relayoutOverlayView(Rect frame) { argument 1593 if (frame == null) { 1594 throw new IllegalArgumentException("frame cannot be null"); 1601 mService.relayoutOverlayView(mToken, frame, mUserI [all...] |