Home
last modified time | relevance | path

Searched refs:position (Results 1 – 25 of 52) sorted by relevance

123

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
DRandomAccessFileZipDataOutput.java31 private long position; field in RandomAccessFileZipDataOutput
46 this.position = startPosition; in RandomAccessFileZipDataOutput()
61 file.seek(position); in write()
63 position += length; in write()
74 file.seek(position); in write()
78 position += length; in write()
DMessageDigestZipDataOutput.java43 int position = buffer.position(); in write() local
45 buffer.position(position); in write()
DByteBufferZipDataInput.java60 int position = (int) offset; in createByteBuffer() local
61 int limit = position + size; in createByteBuffer()
63 buffer.position(0); in createByteBuffer()
65 buffer.position(position); in createByteBuffer()
DZipUtils.java126 return getUInt32FromBuffer(eocd, eocd.position() + ZIP_CENTRAL_DIR_OFFSET_IN_EOCD); in getCentralDirectoryOffset()
137 setUInt32ToBuffer(eocd, eocd.position() + ZIP_CENTRAL_DIR_OFFSET_IN_EOCD, offset); in setCentralDirectoryOffset()
148 return getUInt32FromBuffer(eocd, eocd.position() + ZIP_CENTRAL_DIR_SIZE_OFFSET_IN_EOCD); in getCentralDirectorySize()
159 return getUInt16FromBuffer(eocd, eocd.position() + ZIP_CENTRAL_DIR_COUNT_OFFSET_IN_EOCD); in getCentralDirectoryCount()
181 buffer.putInt(buffer.position() + offset, (int) value); in setUInt32ToBuffer()
244 searchEocdBuffer.position(eocdOffsetInSearchBuffer); in findEocdInHap()
DRandomAccessFileZipDataInput.java105 buffer.limit(buffer.position() + size); in copyTo()
109 fileChannel.position(offsetInFile); in copyTo()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/utils/
DHapUtils.java374 int position = source.position(); in sliceBuffer() local
375 int targetLimit = position + targetSize; in sliceBuffer()
376 if ((targetLimit < position) || (targetLimit > limit)) { in sliceBuffer()
386 source.position(targetLimit); in sliceBuffer()
398 int position = source.position(); in sliceBuffer() local
400 source.position(0); in sliceBuffer()
402 source.position(startPos); in sliceBuffer()
408 source.position(position); in sliceBuffer()
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/highlight/
DHighlight.ets64 * the x-position (pixels) on which this highlight object was last drawn
69 * the y-position (pixels) on which this highlight object was last drawn
112 * returns the x-position of the highlight in pixels
119 * returns the y-position of the highlight in pixels
171 * Sets the x- and y-position (pixels) where this highlight was last drawn.
182 * Returns the x-position in pixels where this highlight object was last drawn.
191 * Returns the y-position in pixels where this highlight object was last drawn.
DChartHighlighter.ets58 * Returns the corresponding xPos for a given touch-position in pixels.
72 * Returns the corresponding Highlight for a given xVal and x- and y-touch position in pixels.
134 * @param xVal the transformed x-value of the x-touch position
135 * @param x touch position
136 * @param y touch position
207 … contains two Highlight objects per DataSet closest to the selected x-position (determined by
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/renderer/
DXAxisRenderer.ets182 * draws the x-labels on the specified y-position
298 * Draws the grid line at the specified position using the provided path.
331 let position = this.mRenderLimitLinesBuffer;
332 position[0] = 0;
333 position[1] = 0;
345 position[0] = this.getXRelativeValue(l.getLimit());
346 position[1] = 0;
348 this.mTrans.pointValuesToPixel(position);
349 limitPaint.push( this.renderLimitLineLine( l, position));
350 limitPaint.push(this.renderLimitLineLabel(l, position, 2 + l.getYOffset()));
[all …]
/developtools/smartperf_host/ide/src/base-ui/tabs/
Dlit-tabs.ts38 get position() { method in LitTabs
42 set position(value) { method in LitTabs
132 if (this.position.startsWith('left')) {
139 } else if (this.position.startsWith('top')) {
148 } else if (this.position.startsWith('right')) {
155 } else if (this.position.startsWith('bottom')) {
/developtools/hiperf/src/
Doption.cpp60 std::string::size_type position; in FindOption() local
62 position = (*tmpit).find("hiperf"); in FindOption()
63 if (position != (*tmpit).npos && (*tmpit)[(position + strlen("hiperf"))] == '\0') { in FindOption()
/developtools/packing_tool/adapter/ohos/
DResourcesParser.java311 buf.position(configIndex.offset); in readBaseItem()
320 buf.position(offset); in readBaseItem()
389 buf.position(index.offset); in readAllItem()
398 buf.position(offset); in readAllItem()
486 buf.position(index.offset); in readDataAllItem()
490 int position = buf.position(); in readDataAllItem() local
492 buf.position(position); in readDataAllItem()
495 position = buf.position(); in readDataAllItem()
497 buf.position(offset); in readDataAllItem()
/developtools/profiler/host/smartperf/client/client_command/
Dcontrol_call_cmd.cpp250 size_t position = cmdResult.find(":"); in StartFrameFps() local
252 std::string pathJson = cmdResult.substr(position + 1, position2 - position + typePKG); in StartFrameFps()
278 size_t position = cmdResult.find(":"); in StartResponse() local
280 std::string pathJson = cmdResult.substr(position + 1, position2 - position + typePKG); in StartResponse()
325 size_t position = cmdResult.find(":"); in ColdStart() local
327 std::string pathJson = cmdResult.substr(position + 1, position2 - position + typePKG); in ColdStart()
377 size_t position = cmdResult.find(":"); in HotStart() local
379 std::string pathJson = cmdResult.substr(position + 1, position2 - position + typePKG); in HotStart()
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/components/renderer/
DXAxisView.ets64 .position({ x: 0, y: 0 })
67 .position({ x: item.x, y: item.y })
80 .position({ x: item.x, y: item.y })
87 .position({x:this.scaleMode.xAixsMode.xPosition})
DYAxisView.ets50 .position({ x: 0, y: 0 })
55 .position({ x: item.x, y: item.y})
69 .position({ x: item.x, y: item.y })
75 .position({y: -(this.model.height - this.model.lastHeight) + this.model.translateY})
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/components/
DIMarker.ets31 …fset for drawing at the specific `point`. This allows conditional adjusting of the Marker position.
34 * @param posX This is the X position at which the marker wants to be drawn.
36 * @param posY This is the X position at which the marker wants to be drawn.
52 * Draws the IMarker on the given position on the screen with the given Canvas object.
DDescription.ets28 * the custom position of the description text
62 * Sets a custom position for the description text in pixels on the screen.
77 * Returns the customized position of the description, or null if none set.
DXAxis.ets64 * the position of the x-labels relative to the chart
76 * returns the position of the x-labels
83 * sets the position of the x-labels
128 * enum for the position of the x-labels relative to the chart
DLegendView.ets45 .position({ x: item.x, y: item.y })
49 .position({ x: item.x, y: item.y })
56 .position({ x: item.x, y: item.y })
DLimitLine.ets46 /** indicates the position of the LimitLine label */
163 * Sets the position of the LimitLine value label (either on the right or on
173 * Returns the position of the LimitLine label (value).
201 /** enum that indicates the position of the LimitLine label */
DPathView.ets70 .position({ x: item.getX(), y: item.getY() })
74 .position({ x: item.getX() - item.radius, y: item.getY() - item.radius })
78 … .position({ x: item.getX() - item.circleHoleRadius, y: item.getY() - item.circleHoleRadius })
93 .position({ x: 0, y: 0 })
100 // .position({ x:item.x,y:item.y })
104 .position({ x: item.x, y: item.y })
118 .position({ x: this.model.positionX, y: this.model.minOffset })
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/
DJList.ets110 * @param {*} position
112 moveTo(position) {
113 this.pos = position;
DJArrayList.ets130 * @param {*} position
132 moveTo(position) {
133 this.pos = position;
/developtools/bytrace/
DREADME.md47 | --trace_dump | Dumps traced data to a specified position (the default position is the console). |
48 … Stops capturing traces and dumps traced data to a specified position (the default position is the…
/developtools/smartperf_host/ide/test/base-ui/tabs/
DLitTabs.test.ts29 litTabs.position = 'position';
123 expect(litTabs.position).toBe('position');

123