Searched defs:frame (Results 1 - 25 of 103) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
H A DFrameLayoutGravity.java17 package android.widget.layout.frame;
H A DFrameLayoutMargin.java17 package android.widget.layout.frame;
H A DFrameLayoutMarginTest.java17 package android.widget.layout.frame;
25 import android.widget.layout.frame.FrameLayoutMargin;
H A DFrameLayoutGravityTest.java17 package android.widget.layout.frame;
24 import android.widget.layout.frame.FrameLayoutGravity;
/frameworks/native/services/vr/hardware_composer/aidl/android/dvr/
H A Dparcelable_composer_frame.h13 ParcelableComposerFrame(const ComposerView::Frame& frame);
16 ComposerView::Frame frame() const { return frame_; } function in class:android::dvr::ParcelableComposerFrame
H A Dparcelable_composer_frame.cpp13 const ComposerView::Frame& frame)
14 : frame_(frame) {}
12 ParcelableComposerFrame( const ComposerView::Frame& frame) argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFinalPort.java32 protected synchronized void setFieldFrame(Frame frame, boolean isAssignment) { argument
34 checkFrameType(frame, isAssignment);
38 super.setFieldFrame(frame, isAssignment);
H A DSimpleFrameManager.java83 throw new RuntimeException("Unsupported frame target type: " +
90 public Frame retainFrame(Frame frame) { argument
91 frame.incRefCount();
92 return frame;
96 public Frame releaseFrame(Frame frame) { argument
97 int refCount = frame.decRefCount();
98 if (refCount == 0 && frame.hasNativeAllocation()) {
99 frame.releaseNativeAllocation();
104 return frame;
H A DStreamPort.java41 public void setFrame(Frame frame) { argument
42 assignFrame(frame, true);
46 public void pushFrame(Frame frame) { argument
47 assignFrame(frame, false);
50 protected synchronized void assignFrame(Frame frame, boolean persistent) { argument
52 checkFrameType(frame, persistent);
60 "Attempting to push more than one frame on port: " + this + "!");
62 mFrame = frame.retain();
69 // Make sure we have a frame
71 throw new RuntimeException("No frame availabl
[all...]
H A DCachedFrameManager.java64 public Frame retainFrame(Frame frame) { argument
65 return super.retainFrame(frame);
69 public Frame releaseFrame(Frame frame) { argument
70 if (frame.isReusable()) {
71 int refCount = frame.decRefCount();
72 if (refCount == 0 && frame.hasNativeAllocation()) {
73 if (!storeFrame(frame)) {
74 frame.releaseNativeAllocation();
81 super.releaseFrame(frame);
83 return frame;
98 storeFrame(Frame frame) argument
[all...]
H A DFieldPort.java43 public void pushFrame(Frame frame) { argument
44 setFieldFrame(frame, false);
48 public void setFrame(Frame frame) { argument
49 setFieldFrame(frame, true);
79 throw new RuntimeException("Cannot pull frame on " + this + "!");
97 protected synchronized void setFieldFrame(Frame frame, boolean isAssignment) { argument
99 checkFrameType(frame, isAssignment);
102 Object value = frame.getObjectValue();
108 // Since a frame was set, mark this port as having a frame t
[all...]
H A DFilterContext.java69 public void onFrameReceived(Filter filter, Frame frame, Object userData); argument
72 public synchronized void storeFrame(String key, Frame frame) { argument
77 frame.onFrameStore();
78 mStoredFrames.put(key, frame.retain());
82 Frame frame = mStoredFrames.get(key);
83 if (frame != null) {
84 frame.onFrameFetch();
86 return frame;
90 Frame frame = mStoredFrames.get(key);
91 if (frame !
[all...]
H A DFilterFunction.java112 public void setInputFrame(String input, Frame frame) { argument
113 mFilter.setInputFrame(input, frame);
H A DFrameManager.java35 public Frame duplicateFrame(Frame frame) { argument
36 Frame result = newFrame(frame.getFormat());
37 result.setDataFromFrame(frame);
41 public Frame duplicateFrameToTarget(Frame frame, int newTarget) { argument
42 MutableFrameFormat newFormat = frame.getFormat().mutableCopy();
45 result.setDataFromFrame(frame);
49 public abstract Frame retainFrame(Frame frame); argument
51 public abstract Frame releaseFrame(Frame frame); argument
H A DNativeBuffer.java107 void attachToFrame(Frame frame) { argument
109 // the frame.
110 mAttachedFrame = frame;
116 throw new NullPointerException("Attempting to read from null data frame!");
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphInputSource.java22 .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 DTransformUtils.java43 // 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();
H A DFrameValues.java44 * 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();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
H A DFrameSourceFilter.java23 * <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 DFrameTargetFilter.java20 * 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);
/frameworks/base/media/mca/filterfw/jni/
H A Djni_vertex_frame.cpp27 std::unique_ptr<VertexFrame> frame(new VertexFrame(size));
28 return ToJBool(WrapOwnedObjectInJava(std::move(frame), env, thiz, true));
39 VertexFrame* frame = ConvertFromJava<VertexFrame>(env, thiz); local
40 if (frame && ints) {
44 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(int_ptr),
56 VertexFrame* frame = ConvertFromJava<VertexFrame>(env, thiz); local
57 if (frame && floats) {
61 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(float_ptr),
75 VertexFrame* frame = ConvertFromJava<VertexFrame>(env, thiz); local
76 if (frame
89 VertexFrame* frame = ConvertFromJava<VertexFrame>(env, thiz); local
[all...]
/frameworks/native/services/vr/hardware_composer/tests/
H A Dvr_composer_test.cpp21 const ParcelableComposerFrame& frame,
23 last_frame_ = frame.frame();
39 const ParcelableComposerFrame& frame,
41 binder::Status status = TestComposerCallback::onNewFrame(frame, fence);
83 ComposerView::Frame frame; local
85 base::unique_fd fence = composer_->OnNewFrame(frame);
94 ComposerView::Frame frame; local
95 base::unique_fd fence = composer_->OnNewFrame(frame);
104 ComposerView::Frame frame; local
[all...]
/frameworks/native/services/vr/hardware_composer/
H A Dvr_composer.cpp45 base::unique_fd VrComposer::OnNewFrame(const ComposerView::Frame& frame) { argument
51 ParcelableComposerFrame parcelable_frame(frame);
55 ALOGE("Failed to send new frame: %s", ret.toString8().string());
/frameworks/av/cmds/stagefright/
H A Djpeg.cpp40 int writeJpegFile(const char *filename, uint8_t *frame, int width, int height) { argument
74 uint16_t *src = (uint16_t *)(frame + row * width * 2);
/frameworks/base/core/java/android/speech/tts/
H A DUtteranceProgressListener.java141 * @param frame The position in frames in the audio of the request where this range is spoken.
143 public void onRangeStart(String utteranceId, int start, int end, int frame) { argument

Completed in 349 milliseconds

12345