2023-08-22 14:41:01 +02:00
|
|
|
package android.text;
|
|
|
|
|
|
2024-05-19 15:27:43 +02:00
|
|
|
import android.graphics.Canvas;
|
|
|
|
|
|
2023-08-22 14:41:01 +02:00
|
|
|
public class Layout {
|
|
|
|
|
|
|
|
|
|
public enum Alignment {
|
|
|
|
|
ALIGN_NORMAL,
|
|
|
|
|
ALIGN_OPPOSITE,
|
|
|
|
|
ALIGN_CENTER,
|
|
|
|
|
ALIGN_LEFT,
|
|
|
|
|
ALIGN_RIGHT,
|
|
|
|
|
}
|
2023-12-29 11:09:37 +01:00
|
|
|
|
|
|
|
|
public int getLineCount() {return 1;}
|
2024-02-04 08:08:49 +01:00
|
|
|
|
|
|
|
|
public float getLineWidth(int line) {return 10;}
|
|
|
|
|
|
|
|
|
|
public TextPaint getPaint() {return new TextPaint();}
|
2024-02-09 16:41:37 +01:00
|
|
|
|
|
|
|
|
public int getEllipsisCount(int line) {return 0;}
|
2024-03-16 12:49:28 +01:00
|
|
|
|
|
|
|
|
public CharSequence getText() {return "FIXME Layout.getText";}
|
|
|
|
|
|
|
|
|
|
public int getWidth() {return 10;}
|
|
|
|
|
|
|
|
|
|
public int getHeight() {return 10;}
|
2024-05-19 15:27:43 +02:00
|
|
|
|
|
|
|
|
public void draw(Canvas canvas) {}
|
2024-08-25 11:20:01 +02:00
|
|
|
|
|
|
|
|
public int getParagraphDirection(int line) {return 0;}
|
2023-08-22 14:41:01 +02:00
|
|
|
}
|