Home
last modified time | relevance | path

Searched refs:elementWidth (Results 1 – 17 of 17) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/
DImmutableArrayPayload.java47 protected final int elementWidth; field in ImmutableArrayPayload
50 public ImmutableArrayPayload(int elementWidth, in ImmutableArrayPayload() argument
53 this.elementWidth = elementWidth; in ImmutableArrayPayload()
57 public ImmutableArrayPayload(int elementWidth, in ImmutableArrayPayload() argument
61 this.elementWidth = elementWidth; in ImmutableArrayPayload()
76 @Override public int getElementWidth() { return elementWidth; } in getElementWidth()
79 … @Override public int getCodeUnits() { return 4 + (elementWidth * arrayElements.size() + 1) / 2; } in getCodeUnits()
DImmutableInstructionFactory.java219 public ImmutableArrayPayload makeArrayPayload(int elementWidth, in makeArrayPayload() argument
221 return new ImmutableArrayPayload(elementWidth, arrayElements); in makeArrayPayload()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/
DDexBackedArrayPayload.java46 public final int elementWidth; field in DexBackedArrayPayload
57 elementWidth = dexFile.readUshort(instructionStart + ELEMENT_WIDTH_OFFSET); in DexBackedArrayPayload()
59 if (((long)elementWidth) * elementCount > Integer.MAX_VALUE) { in DexBackedArrayPayload()
64 @Override public int getElementWidth() { return elementWidth; } in getElementWidth()
75 switch (elementWidth) { in getArrayElements()
109 throw new ExceptionWithContext("Invalid element width: %d", elementWidth); in getArrayElements()
115 return 4 + (elementWidth*elementCount + 1) / 2;
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/instruction/
DBuilderArrayPayload.java47 protected final int elementWidth; field in BuilderArrayPayload
50 public BuilderArrayPayload(int elementWidth, in BuilderArrayPayload() argument
53 this.elementWidth = elementWidth; in BuilderArrayPayload()
57 @Override public int getElementWidth() { return elementWidth; } in getElementWidth()
60 … @Override public int getCodeUnits() { return 4 + (elementWidth * arrayElements.size() + 1) / 2; } in getCodeUnits()
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/
DFillArrayDataPayloadDecodedInstruction.java32 private final int elementWidth; field in FillArrayDataPayloadDecodedInstruction
39 int opcode, Object data, int size, int elementWidth) { in FillArrayDataPayloadDecodedInstruction() argument
44 this.elementWidth = elementWidth; in FillArrayDataPayloadDecodedInstruction()
85 return (short) elementWidth; in getElementWidthUnit()
DInstructionCodec.java816 int elementWidth = in.read(); in FORMAT_FILL_ARRAY_DATA_PAYLOAD() local
819 switch (elementWidth) { in FORMAT_FILL_ARRAY_DATA_PAYLOAD()
860 + Hex.u2(elementWidth)); in FORMAT_FILL_ARRAY_DATA_PAYLOAD()
866 short elementWidth = payload.getElementWidthUnit(); in FORMAT_FILL_ARRAY_DATA_PAYLOAD() local
870 out.write(elementWidth); in FORMAT_FILL_ARRAY_DATA_PAYLOAD()
873 switch (elementWidth) { in FORMAT_FILL_ARRAY_DATA_PAYLOAD()
880 + Hex.u2(elementWidth)); in FORMAT_FILL_ARRAY_DATA_PAYLOAD()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/
DArrayDataMethodItem.java45 int elementWidth = instruction.getElementWidth(); in writeTo() local
56 switch (elementWidth) { in writeTo()
68 if (elementWidth == 8) { in writeTo()
70 } else if (elementWidth == 4) { in writeTo()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DCodeItem.java379 int elementWidth = instruction.getElementWidth(); in makeAnnotator() local
383 out.annotate(2, "element_width = %d", elementWidth); in makeAnnotator()
388 if (elementWidth == 8) { in makeAnnotator()
391 … out.annotate(elementWidth, "element[%d] = %d # %f", i, value, Double.longBitsToDouble(value)); in makeAnnotator()
393 out.annotate(elementWidth, "element[%d] = %d", i, value); in makeAnnotator()
398 … out.annotate(elementWidth, "element[%d] = %d # %f", i, value, Float.intBitsToFloat(value)); in makeAnnotator()
400 out.annotate(elementWidth, "element[%d] = %d", i, value); in makeAnnotator()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
DLayoutManager.java94 float elementWidth = widget.getWidthPix(displayDims.paddedRect.width()); in draw() local
97 elementWidth, displayDims.paddedRect, metrics); in draw()
131 Widget.getAnchorCoordinates(coords.x, coords.y, elementWidth, in draw()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/
DWidget.java258 float elementWidth = getWidthPix(plotDimensions.paddedRect.width()); in refreshLayout() local
261 elementWidth, plotDimensions.paddedRect, positionMetrics); in refreshLayout()
264 coords.x + elementWidth, coords.y + elementHeight); in refreshLayout()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliInstruction.java180 int elementWidth = (int)getArrayDataWidth().getIntegralValue(); in getInstructionSize() local
183 return 8 + (elementWidth * elementCount + 1); in getInstructionSize()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DInstructionFactory.java75 Instruction makeArrayPayload(int elementWidth, @Nullable List<Number> arrayElements); in makeArrayPayload() argument
/external/smali/smali/src/main/antlr/
DsmaliParser.g1118 int elementWidth = $parsed_integer_literal.value;
1119 if (elementWidth != 4 && elementWidth != 8 && elementWidth != 1 && elementWidth != 2) {
1120 …SemanticException(input, $start, "Invalid element width: \%d. Must be 1, 2, 4 or 8", elementWidth);
DsmaliTreeWalker.g1200 int elementWidth = $short_integral_literal.value;
1203 …$method::methodBuilder.addInstruction(new BuilderArrayPayload(elementWidth, $array_elements.elemen…
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliParser.java14566 …int elementWidth = (parsed_integer_literal500!=null?((smaliParser.parsed_integer_literal_return)pa… in insn_array_data_directive() local
14567 if (elementWidth != 4 && elementWidth != 8 && elementWidth != 1 && elementWidth != 2) { in insn_array_data_directive()
14568 …cException(input, (retval.start), "Invalid element width: %d. Must be 1, 2, 4 or 8", elementWidth); in insn_array_data_directive()
DsmaliTreeWalker.java6216 int elementWidth = short_integral_literal189; in insn_array_data_directive() local
6219 …method_stack.peek().methodBuilder.addInstruction(new BuilderArrayPayload(elementWidth, array_eleme… in insn_array_data_directive()
/external/zxing/core/
Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...