Home
last modified time | relevance | path

Searched refs:frame (Results 1 – 23 of 23) sorted by relevance

/development/tools/bugreport/src/com/android/bugreport/stacks/
DThreadSnapshotParser.java177 final NativeStackFrameSnapshot frame = new NativeStackFrameSnapshot(); in parse() local
178 frame.text = text; in parse()
179 frame.library = nativeRe.group(1); in parse()
180 frame.symbol = nativeRe.group(2); in parse()
181 frame.offset = Integer.parseInt(nativeRe.group(3)); in parse()
182 result.frames.add(frame); in parse()
185 final NativeStackFrameSnapshot frame = new NativeStackFrameSnapshot(); in parse() local
186 frame.text = text; in parse()
187 frame.library = nativeNoLocRe.group(1); in parse()
188 frame.symbol = nativeNoLocRe.group(2); in parse()
[all …]
/development/tools/winscope/src/trace/
Dframe_map.ts145 frame: AbsoluteFrameIndex,
147 if (frame < 0 || frame >= this.lengthFrames) {
148 throw Error(`Frame index out of bounds: ${frame}`);
150 return this.frameToStartEntry[frame];
154 frame: AbsoluteFrameIndex,
156 if (frame < 0 || frame >= this.lengthFrames) {
157 throw Error(`Frame index out of bounds: ${frame}`);
159 return this.frameToEndEntry[frame];
Dtrace_position.ts30 let frame: AbsoluteFrameIndex | undefined;
33 frame = frames && frames.start < frames.end ? frames.start : undefined;
38 return new TracePosition(timestamp, frame, entry);
44 this.frame === other.frame &&
52 readonly frame?: AbsoluteFrameIndex,
Dtrace_entry_finder.ts39 if (position.frame !== undefined && trace.hasFrameInfo()) {
40 const frame = trace.getFrame(position.frame); constant
41 if (frame.lengthEntries > 0) {
42 return frame.getEntry(0);
Dtrace.ts221 getFrame(frame: AbsoluteFrameIndex): Trace<T> {
224 start: frame,
225 end: frame + 1,
227 return this.createSlice(entries, {start: frame, end: frame + 1});
420 forEachFrame(callback: (frame: Trace<T>, index: AbsoluteFrameIndex) => void) {
426 let frame = this.framesRange.start;
427 frame < this.framesRange.end;
428 ++frame
430 callback(this.getFrame(frame), frame);
435 callback: (frame: Trace<T>, index: AbsoluteFrameIndex) => U,
[all …]
Dframe_map_builder.ts66 for (let frame = range.start; frame < range.end; ++frame) {
67 this.setStartArrayValue(this.frameToStartEntry, frame, entry);
68 this.setEndArrayValue(this.frameToEndEntry, frame, entry + 1);
/development/tools/winscope/src/parsers/window_manager/computations/
Drects_computation.ts68 const frame = container constant
71 if (frame === undefined || frame.getAllChildren().length === 0) {
75 const rectLeft = assertDefined(frame.getChildByName('left')).getValue();
76 const rectTop = assertDefined(frame.getChildByName('top')).getValue();
77 const rectRight = assertDefined(frame.getChildByName('right')).getValue();
78 const rectBottom = assertDefined(frame.getChildByName('bottom')).getValue();
Drects_computation_test.ts85 frame: {left: 0, top: 0, right: 1, bottom: 1},
99 frame: {left: 0, top: 0, right: 2, bottom: 2},
/development/tools/bugreport/src/com/android/bugreport/inspector/
DInspector.java203 for (StackFrameSnapshot frame: thread.frames) { in combineLocks()
204 if (frame.frameType == StackFrameSnapshot.FRAME_TYPE_JAVA) { in combineLocks()
205 final JavaStackFrameSnapshot f = (JavaStackFrameSnapshot)frame; in combineLocks()
240 StackFrameSnapshot frame = null; in markOutgoingBinderThread() local
242 frame = thread.frames.get(i); in markOutgoingBinderThread()
243 if (frame.frameType == StackFrameSnapshot.FRAME_TYPE_JAVA) { in markOutgoingBinderThread()
250 JavaStackFrameSnapshot f = (JavaStackFrameSnapshot)frame; in markOutgoingBinderThread()
262 frame = thread.frames.get(i); in markOutgoingBinderThread()
263 if (frame.frameType != StackFrameSnapshot.FRAME_TYPE_JAVA) { in markOutgoingBinderThread()
266 f = (JavaStackFrameSnapshot)frame; in markOutgoingBinderThread()
[all …]
/development/tools/winscope/src/test/unit/
Dtrace_utils.ts40 const promises = trace.mapFrame(async (frame, index) => {
41 frames.set(index, await TraceUtils.extractEntries(frame));
Dtrace_builder.ts69 setFrame(entry: AbsoluteEntryIndex, frame: AbsoluteFrameIndex) {
76 this.frameMapBuilder.setFrames(entry, {start: frame, end: frame + 1});
Dtraces_utils.ts46 const framePromises = traces.mapFrame(async (frame, index) => {
48 const tracePromises = frame.mapTrace(async (trace, type) => {
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentReceiveResult.java43 FrameLayout frame = new FrameLayout(this); in onCreate() local
44 frame.setId(R.id.simple_fragment); in onCreate()
45 setContentView(frame, lp); in onCreate()
/development/tools/bugreport/src/com/android/bugreport/html/
DRenderer.java324 StackFrameSnapshot frame) { in makeStackFrameSnapshotHdf() argument
325 hdf.setValue("text", frame.text); in makeStackFrameSnapshotHdf()
327 if (frame.frameType == StackFrameSnapshot.FRAME_TYPE_NATIVE) { in makeStackFrameSnapshotHdf()
328 final NativeStackFrameSnapshot f = (NativeStackFrameSnapshot)frame; in makeStackFrameSnapshotHdf()
334 } else if (frame.frameType == StackFrameSnapshot.FRAME_TYPE_KERNEL) { in makeStackFrameSnapshotHdf()
335 final KernelStackFrameSnapshot f = (KernelStackFrameSnapshot)frame; in makeStackFrameSnapshotHdf()
341 } else if (frame.frameType == StackFrameSnapshot.FRAME_TYPE_JAVA) { in makeStackFrameSnapshotHdf()
342 final JavaStackFrameSnapshot f = (JavaStackFrameSnapshot)frame; in makeStackFrameSnapshotHdf()
/development/tools/winscope/src/viewers/common/
Dabstract_presenter_input_method.ts301 const frame = frames.start; constant
303 ?.getFrame(frame)
306 ?.getFrame(frame)
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
DCubeWallpaper2.java218 final Rect frame = holder.getSurfaceFrame(); in drawFrame() local
219 final int width = frame.width(); in drawFrame()
220 final int height = frame.height(); in drawFrame()
/development/tools/winscope/protos/surfaceflinger/udc/
Dlayers.proto89 // The layer's composer backend destination frame
101 // Current frame number being rendered.
170 // frame number the barrier is waiting on.
Dcommon.proto56 RectProto frame = 3; field
/development/samples/browseable/ClippingBasic/src/com.example.android.clippingbasic/
DClippingBasicFragment.java72 final View clippedView = view.findViewById(R.id.frame); in onViewCreated()
/development/scripts/
Dstack_core.py446 frame = int(trace_line_dict["frame"])
454 if frame <= self.last_frame and (self.trace_lines or self.value_lines):
459 self.last_frame = frame
Dsymbol.py137 def PipeTermHandler(signum, frame): argument
/development/tools/winscope/src/app/
Dmediator_test.ts626 if (event.position.frame !== expectedEvent.position.frame) return false;
/development/samples/VirtualDeviceManager/
DREADME.md174 display is indicated by the frame around its header whenever there are more than
351 frame around its header whenever there are more than one displays. The display
383 - **Latency**: Renders a simple counter view that renders a new frame with an